Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
com.icl.saxon.om.AbstractNode
com.icl.saxon.tree.NodeImpl
com.icl.saxon.tree.ParentNodeImpl
public class SAXONHandler
extends XSLTemplate
Field Summary |
Fields inherited from class com.icl.saxon.style.XSLTemplate | |
match , modeNameCode , needsStackFrame , priority , prioritySpecified , procedure , templateFingerprint |
Fields inherited from class com.icl.saxon.style.StyleElement | |
REPORT_ALWAYS , REPORT_IF_INSTANTIATED , REPORT_UNLESS_FORWARDS_COMPATIBLE , attributeSets , extensionNamespaces , reportingCircumstances , staticContext , validationError , version |
Fields inherited from class com.icl.saxon.tree.ElementWithAttributes | |
attributeList , namespaceList |
Fields inherited from class com.icl.saxon.tree.ElementImpl | |
nameCode , root |
Fields inherited from class com.icl.saxon.tree.ParentNodeImpl | |
sequence |
Fields inherited from class com.icl.saxon.tree.NodeImpl | |
emptyArray , index , parent |
Fields inherited from class com.icl.saxon.om.AbstractNode | |
NODE_LETTER |
Fields inherited from interface com.icl.saxon.om.NodeInfo | |
ATTRIBUTE , COMMENT , ELEMENT , NAMESPACE , NODE , NONE , NUMBER_OF_TYPES , PI , ROOT , TEXT |
Method Summary | |
void |
|
void | |
protected NodeHandler |
|
void |
|
void | |
void |
|
Methods inherited from class com.icl.saxon.style.XSLTemplate | |
bindVariable , expand , getMinImportPrecedence , getProcedure , getTemplateFingerprint , mayContainTemplateBody , needsStackFrame , prepareAttributes , preprocess , process , start , traceExpand , validate |
Methods inherited from class com.icl.saxon.tree.ElementImpl | |
addNamespaceNodes , copy , copy , generateId , getAttributeList , getAttributeValue , getBaseURI , getDocumentRoot , getLineNumber , getNameCode , getNodeType , getPrefixForURI , getSystemId , getURICodeForPrefix , initialise , makeNameCode , outputNamespaceNodes , setAttribute , setLineNumber , setNameCode , setSystemId |
Methods inherited from class com.icl.saxon.tree.ParentNodeImpl | |
addChild , compact , copyStringValue , dropChildren , enumerateChildren , getChildNodes , getFirstChild , getLastChild , getNodeValue , getNthChild , getSequenceNumber , getStringValue , hasChildNodes , removeChild , renumberChildren , useChildrenArray |
public void checkUnknownAttribute(int nc) throws TransformerConfigurationException
Check whether an unknown attribute is permitted.
- Overrides:
- checkUnknownAttribute in interface StyleElement
- Parameters:
nc
- The name code of the attribute name
public void expand(Context context) throws TransformerException
Invoke the node handler. Called directly only when doing XSLCallTemplate
- Overrides:
- expand in interface XSLTemplate
protected NodeHandler makeHandler(String className) throws TransformerConfigurationException
Load a named node handler and check it is OK.
public void preprocess() throws TransformerConfigurationException
Preprocess: this registers the node handler with the controller
- Overrides:
- preprocess in interface XSLTemplate
public void process(Context context) throws TransformerException
Process saxon:handler element. This is called while all the top-level nodes are being processed in order, so it does nothing.
- Overrides:
- process in interface XSLTemplate
public void validate() throws TransformerConfigurationException
Check that the element is valid. This is called once for each element, after the entire tree has been built. As well as validation, it can perform first-time initialisation. The default implementation does nothing; it is normally overriden in subclasses.
- Overrides:
- validate in interface XSLTemplate