com.icl.saxon
Class PreviewManager
public
class
PreviewManager
extends Object
PreviewManager handles the registration of preview elements for use by the Builder
Author: Michael H. Kay
public final int getPreviewMode()
public boolean isPreviewElement(int fingerprint)
Determine whether an element is a preview element.
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
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.
Parameters: mode The nameCode of the mode to be used