com.icl.saxon.style
Class SAXONWhile
- DOMLocator, Element, Locator, NamedNodeMap, Node, NodeInfo, Source, SourceLocator
Handler for saxon:while elements in stylesheet.
The saxon:while element has a mandatory attribute test, a boolean expression.
The content is output repeatedly so long as the test condition is true.
boolean | isInstruction() - Determine whether this node is an instruction.
|
boolean | mayContainTemplateBody() - Determine whether this type of element is allowed to contain a template-body
|
void | prepareAttributes() - Set the attribute list for the element.
|
void | process(Context context) - Process: called to do the real work of this stylesheet element.
|
void | validate() - Check that the element is valid.
|
bindVariable , checkEmpty , checkNotTopLevel , checkTopLevel , checkUnknownAttribute , checkWithinTemplate , compileError , compileError , definesExcludedNamespace , definesExtensionElement , doesPostProcessing , fallbackProcessing , findAttributeSets , forwardsCompatibleModeIsEnabled , getContainingStyleSheet , getPrecedence , getPreparedStyleSheet , getPrincipalStyleSheet , getStandardNames , getStyleSheetFunction , getVariableBinding , getVariableNames , getVersion , handleSortKeys , isExcludedNamespace , isExtensionNamespace , isInstruction , isTopLevel , makeAttributeValueTemplate , makeExpression , makePattern , mayContainTemplateBody , prepareAttributes , preprocess , process , processAllAttributes , processAttributeSets , processAttributes , processChildren , processExcludedNamespaces , processExtensionElementAttribute , processVersionAttribute , reportAbsence , setValidationError , styleError , styleError , substituteFor , validate , validateChildren , validateSubtree |
addNamespaceNodes , copy , getAttribute , getAttributeList , getAttributeNS , getAttributeNode , getAttributeNodeNS , getAttributeValue , getAttributeValue , getAttributeValue , getAttributes , getLength , getNamedItem , getNamedItemNS , getNamespaceCodes , getPrefixForURI , getURICodeForPrefix , hasAttribute , hasAttributeNS , hasAttributes , initialise , item , outputNamespaceNodes , removeAttribute , removeAttributeNS , removeAttributeNode , removeNamedItem , removeNamedItemNS , setAttribute , setAttributeNS , setAttributeNode , setAttributeNodeNS , setNamedItem , setNamedItemNS , setNamespaceDeclarations |
addNamespaceNodes , copy , copy , generateId , getAttributeList , getAttributeValue , getBaseURI , getDocumentRoot , getLineNumber , getNameCode , getNodeType , getPrefixForURI , getSystemId , getURICodeForPrefix , initialise , makeNameCode , outputNamespaceNodes , setAttribute , setLineNumber , setNameCode , setSystemId |
addChild , compact , copyStringValue , dropChildren , enumerateChildren , getChildNodes , getFirstChild , getLastChild , getNodeValue , getNthChild , getSequenceNumber , getStringValue , hasChildNodes , removeChild , renumberChildren , useChildrenArray |
compareOrder , generateId , getAttributeValue , getAttributeValue , getAttributes , getBaseURI , getChildNodes , getDisplayName , getDocumentElement , getDocumentRoot , getEnumeration , getFingerprint , getFirstChild , getLastChild , getLineNumber , getLocalName , getNameCode , getNamePool , getNextInDocument , getNextSibling , getOriginatingNode , getParent , getPrefix , getPreviousInDocument , getPreviousSibling , getSequenceNumber , getSystemId , getURI , hasAttributes , hasChildNodes , isSameNode , outputNamespaceNodes , removeNode , setSystemId |
appendChild , appendData , cloneNode , compareOrder , copyStringValue , createAttribute , createAttributeNS , createCDATASection , createComment , createDocumentFragment , createElement , createElementNS , createEntityReference , createProcessingInstruction , createTextNode , deleteData , disallowUpdate , generateId , getAttribute , getAttributeNS , getAttributeNode , getAttributeNodeNS , getAttributeValue , getAttributeValue , getAttributes , getBaseURI , getChildNodes , getColumnNumber , getData , getDisplayName , getDoctype , getDocumentElement , getDocumentRoot , getElementById , getElementsByTagName , getElementsByTagNameNS , getEnumeration , getFingerprint , getFirstChild , getImplementation , getLastChild , getLength , getLineNumber , getLocalName , getName , getNameCode , getNamespaceURI , getNextSibling , getNodeName , getNodeValue , getOriginatingNode , getOwnerDocument , getOwnerElement , getParent , getParentNode , getPrefix , getPreviousSibling , getPublicId , getSpecified , getSystemId , getTagName , getURI , getValue , hasAttribute , hasAttributeNS , hasAttributes , hasChildNodes , importNode , insertBefore , insertData , isSameNode , isSupported , normalize , outputNamespaceNodes , removeAttribute , removeAttributeNS , removeAttributeNode , removeChild , replaceChild , replaceData , setAttributeNS , setAttributeNode , setAttributeNodeNS , setData , setNodeValue , setPrefix , setValue , splitText , substringData , supports |
isInstruction
public boolean isInstruction()
Determine whether this node is an instruction.
- isInstruction in interface StyleElement
- true - it is an instruction
mayContainTemplateBody
public boolean mayContainTemplateBody()
Determine whether this type of element is allowed to contain a template-body
- mayContainTemplateBody in interface StyleElement
- true: yes, it may contain a template-body
prepareAttributes
public void prepareAttributes()
throws TransformerConfigurationException
Set the attribute list for the element. This is called to process the attributes (note
the distinction from processAttributes in the superclass).
Must be supplied in a subclass
- prepareAttributes in interface StyleElement
process
public void process(Context context)
throws TransformerException
Process: called to do the real work of this stylesheet element. This method
must be implemented in each subclass.
- process in interface StyleElement
context
- The context in the source XML document, giving access to the current node,
the current variables, etc.
validate
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.
- validate in interface StyleElement