|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.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
net.sf.saxon.style.XSLVariable
public class XSLVariable
Handler for xsl:variable elements in stylesheet.
The xsl:variable element has mandatory attribute name and optional attribute select
| Field Summary |
|---|
| Fields inherited from class net.sf.saxon.style.XSLVariableDeclaration |
|---|
references |
| Fields inherited from class net.sf.saxon.style.XSLGeneralVariable |
|---|
assignable, constantText, global, procedure, redundant, requiredParam, requiredType, select, tunnel, variableFingerprint |
| 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 |
| Fields inherited from class net.sf.saxon.tree.ParentNodeImpl |
|---|
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 net.sf.saxon.om.NodeInfo |
|---|
ALL_NAMESPACES, LOCAL_NAMESPACES, NO_NAMESPACES |
| Constructor Summary | |
|---|---|
XSLVariable()
|
|
| Method Summary | |
|---|---|
Instruction |
compile()
Compile: this ensures space is available for local variables declared within this global variable |
SequenceType |
getRequiredType()
Get the static type of the variable. |
boolean |
isInstruction()
Determine whether this node is an instruction. |
void |
prepareAttributes()
Set the attribute list for the element. |
| Methods inherited from class net.sf.saxon.style.XSLVariableDeclaration |
|---|
fixupBinding, fixupReferences, getSlotNumber, registerReference, validate |
| Methods inherited from class net.sf.saxon.style.XSLGeneralVariable |
|---|
allowsAsAttribute, allowsNameAttribute, allowsRequired, allowsTunnelAttribute, allowsValue, checkAgainstRequiredType, getProcedure, getReturnedItemType, getSelectExpression, getVariableFingerprint, getVariableName, initializeInstruction, isAssignable, isTunnelParam, mayContainTemplateBody, setRedundant, setSelectExpression |
| Methods inherited from class net.sf.saxon.tree.ElementImpl |
|---|
generateId, getBaseURI, getDocumentRoot, getNameCode, getNodeKind, getRoot, getSystemId, setNameCode, setSystemId |
| Methods inherited from class net.sf.saxon.tree.ParentNodeImpl |
|---|
addChild, compact, enumerateChildren, getFirstChild, getLastChild, getNodeValue, getNthChild, getSequenceNumber, getStringValue, hasChildNodes, 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, isSameNode, 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 |
|---|
getVariableFingerprint, getVariableName |
| Methods inherited from interface org.xml.sax.Locator |
|---|
getColumnNumber, getPublicId, getSystemId |
| Methods inherited from interface org.w3c.dom.Element |
|---|
getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, setIdAttribute, setIdAttributeNode, setIdAttributeNS |
| Methods inherited from interface org.w3c.dom.Node |
|---|
appendChild, cloneNode, compareDocumentPosition, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
| Constructor Detail |
|---|
public XSLVariable()
| Method Detail |
|---|
public void prepareAttributes()
throws TransformerConfigurationException
StyleElement
prepareAttributes in class XSLGeneralVariableTransformerConfigurationExceptionpublic boolean isInstruction()
isInstruction in class XSLVariableDeclarationpublic SequenceType getRequiredType()
getRequiredType in class XSLVariableDeclaration
public Instruction compile()
throws TransformerConfigurationException
compile in class StyleElementTransformerConfigurationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||