com.icl.saxon
Class PreviewManager
java.lang.Object
com.icl.saxon.PreviewManager
public class PreviewManager
extends java.lang.Object
PreviewManager handles the registration of preview elements for use by the Builder
getPreviewMode
public final int getPreviewMode()
isPreviewElement
public boolean isPreviewElement(int fingerprint)
Determine whether an element is a preview element.
setPreviewElement
public void setPreviewElement(int fingerprint)
Register an element as a preview element. If an element is so registered, the relevant
node handler for preview mode will be called as soon as the element's end tag is read.
The node handler must be registered in the normal way
setPreviewMode
public void setPreviewMode(int mode)
Define the mode that will be used for previewing elements. The node handler for these
elements is called while the tree is being built, as soon as the element end tag is
encountered.
mode
- The nameCode of the mode to be used