|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.saxon.om.AbstractNode | +--net.sf.saxon.tree.NodeImpl | +--net.sf.saxon.tree.ParentNodeImpl | +--net.sf.saxon.tree.ElementImpl | +--net.sf.saxon.tree.ElementWithAttributes | +--net.sf.saxon.style.StyleElement | +--net.sf.saxon.style.XSLGeneralVariable | +--net.sf.saxon.style.XSLVariableDeclaration
Generic class for xsl:variable and xsl:param elements.
Field Summary |
Fields inherited from class net.sf.saxon.style.XSLGeneralVariable |
assignable, constantText, global, redundant, requiredParam, requiredType, select, slotManager, tunnel |
Fields inherited from class net.sf.saxon.style.StyleElement |
defaultXPathNamespace, extensionNamespaces, REPORT_ALWAYS, REPORT_IF_INSTANTIATED, REPORT_UNLESS_FORWARDS_COMPATIBLE, reportingCircumstances, staticContext, validationError, version |
Fields inherited from class net.sf.saxon.tree.ElementWithAttributes |
attributeList, namespaceList |
Fields inherited from class net.sf.saxon.tree.ElementImpl |
nameCode, root, sequence |
Fields inherited from class net.sf.saxon.tree.NodeImpl |
index, parent |
Fields inherited from class net.sf.saxon.om.AbstractNode |
NODE_LETTER |
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Fields inherited from interface net.sf.saxon.om.NodeInfo |
ALL_NAMESPACES, LOCAL_NAMESPACES, NO_NAMESPACES |
Constructor Summary | |
XSLVariableDeclaration()
|
Method Summary | |
protected void |
fixupBinding(Binding binding)
Notify all variable references of the Binding instruction |
void |
fixupReferences()
Notify all references to this variable of the data type |
abstract SequenceType |
getRequiredType()
Get the static type of the variable. |
SlotManager |
getSlotManager()
Get the SlotManager associated with this stylesheet construct. |
int |
getSlotNumber()
|
boolean |
isInstruction()
Determine whether this node is an instruction. |
void |
registerReference(BindingReference ref)
Method called by VariableReference to register the variable reference for subsequent fixup |
void |
validate()
Check that the variable is not already declared, and allocate a slot number |
Methods inherited from class net.sf.saxon.style.XSLGeneralVariable |
allowsAsAttribute, allowsRequired, allowsTunnelAttribute, allowsValue, checkAgainstRequiredType, getConstructType, getReturnedItemType, getVariableFingerprint, getVariableName, initializeInstruction, isAssignable, isRequiredParam, isTunnelParam, mayContainSequenceConstructor, prepareAttributes, setRedundant |
Methods inherited from class net.sf.saxon.tree.ElementImpl |
addChild, compact, enumerateChildren, generateId, getBaseURI, getDocumentRoot, getFirstChild, getLastChild, getNameCode, getNodeKind, getNodeValue, getNthChild, getRoot, getSequenceNumber, getStringValue, getSystemId, hasChildNodes, setNameCode, setSystemId, useChildrenArray |
Methods inherited from class net.sf.saxon.tree.NodeImpl |
compareOrder, copy, getDisplayName, getDocumentElement, getFingerprint, getLocalPart, getNamePool, getNextInDocument, getNextSibling, getOriginatingNode, getParent, getPrefix, getPreviousInDocument, getPreviousSibling, getURI, isSameNodeInfo, iterateAxis, iterateAxis |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.saxon.expr.VariableDeclaration |
getNameCode, getVariableName |
Methods inherited from interface org.xml.sax.Locator |
getColumnNumber, getPublicId, getSystemId |
Methods inherited from interface javax.xml.transform.SourceLocator |
getColumnNumber, getPublicId, getSystemId |
Methods inherited from interface net.sf.saxon.trace.InstructionInfo |
getSystemId |
Methods inherited from interface org.w3c.dom.Element |
getElementsByTagName, getElementsByTagNameNS, getTagName |
Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
Constructor Detail |
public XSLVariableDeclaration()
Method Detail |
public SlotManager getSlotManager()
getSlotManager
in interface StylesheetProcedure
public int getSlotNumber()
public abstract SequenceType getRequiredType()
public void registerReference(BindingReference ref)
registerReference
in interface VariableDeclaration
public boolean isInstruction()
isInstruction
in class StyleElement
public void fixupReferences() throws javax.xml.transform.TransformerConfigurationException
fixupReferences
in class StyleElement
javax.xml.transform.TransformerConfigurationException
public void validate() throws javax.xml.transform.TransformerConfigurationException
validate
in class XSLGeneralVariable
javax.xml.transform.TransformerConfigurationException
protected void fixupBinding(Binding binding)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |