com.ibm.xsp.registry.parse
Interface RegistryAnnotater


public interface RegistryAnnotater

Called by the ConfigParser, once it has created a node in the registry, to add further data to that node into the extension as specified by FacesExtensibleNode.

The ExtensibleNode is the FacesRegistry node that has just been created. The Element is the element from the input file that was used to create the ExtensibleNode.

Implementors must NOT save the Element, as that would cause the DOM tree to remain in memory.


Method Summary
 void annotate(RegistryAnnotaterInfo info, FacesExtensibleNode parsed, org.w3c.dom.Element elem)
          Adds further data to the ExtensibleNode, using information pulled from the element in the xsp-config file (or from the *-extension elements under it).
 

Method Detail

annotate

void annotate(RegistryAnnotaterInfo info,
              FacesExtensibleNode parsed,
              org.w3c.dom.Element elem)
Adds further data to the ExtensibleNode, using information pulled from the element in the xsp-config file (or from the *-extension elements under it).

Parameters:
info - information provided by the registry parsing infrastructure, to the annotater for use when parsing the extensions. Will not be null.
parsed - a definition, library fragment, rendekit fragment, facet or property.
elem - the element in the input file that the parsed node was created from.