|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface AbstractVisualizationFactory.IVisualizationCallback
An interface that gets invoked when the factory is
printing a DOM Node. The callback is normally invoked
when the factory has finished printing the opening tag, but
has not printed the closing tag. The factory gives clients
a chance to insert content between the opening and closing tags
of a DOM Node.
A default implementation is also provided, com.ibm.designer.domino.xsp.api.visual.AbstractVisualizationFactory.recursiveCallback
.
The default implementation will recurse through all child nodes whose namespace
is the standard XPages namespace (). If a node is encountered that does not belong to
the XPages namespace then MarkupVisualizationRegistry
is
queried for a visualizer for the node in question. If a visualizer is returned then the
com.ibm.designer.domino.xsp.api.visual.AbstractVisualizationFactory.getXSPMarkupForControl(Node, IVisualizationCallback, FacesRegistry) method is
invoked on the factory to create markup for the node. If a factory is not returned (null), then the node
is printed verbatim.
AbstractVisualizationFactory.printNode(Node, IVisualizationCallback, FacesRegistry)
Method Summary | |
---|---|
java.lang.String |
renderInTag(org.w3c.dom.Node tagBeingRendered,
FacesRegistry registry)
Called while a node is being printed to buffer. |
boolean |
shouldRecurseInto(org.w3c.dom.Node node,
FacesRegistry registry)
Returns true if the print operation should recurse into the given tag. |
Method Detail |
---|
java.lang.String renderInTag(org.w3c.dom.Node tagBeingRendered, FacesRegistry registry)
<xp:text>-renderInTag inserted this text-</xp:text>
tagBeingRendered
- the node that is currently being printedregistry
- the FacesRegistry for the current application
tagBeingRendered
boolean shouldRecurseInto(org.w3c.dom.Node node, FacesRegistry registry)
node
- the node currently being printedregistry
- the FacesRegistry for the current application
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |