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
com.icl.saxon.tree.ElementImpl
com.icl.saxon.tree.ElementWithAttributes
com.icl.saxon.style.StyleElement
com.icl.saxon.style.XSLGeneralVariable
public abstract class XSLGeneralVariable
extends StyleElement
Field Summary | |
protected boolean | |
protected boolean | |
protected Procedure | |
protected boolean | |
protected Expression | |
protected String | |
protected int |
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 |
|
Procedure |
|
Procedure |
|
protected Value |
|
int |
|
String |
|
boolean |
|
boolean |
|
boolean |
|
void | |
void |
|
void |
|
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 |
protected boolean assignable
protected boolean global
protected boolean redundant
protected String simpleText
protected int variableFingerprint
public void checkDuplicateDeclaration() throws TransformerConfigurationException
Check whether this declaration duplicates another one
public Procedure getOwningProcedure() throws TransformerConfigurationException
Get the owning Procedure definition, if this is a local variable
public Procedure getProcedure()
Get associated Procedure (for details of stack frame, if this is a global variable containing local variable declarations)
protected Value getSelectValue(Context context) throws TransformerException
Get the value of the select expression if present or the content of the element otherwise
public int getVariableFingerprint()
Get the fingerprint of the variable name
public String getVariableName()
Get the display name of the variable.
public boolean isAssignable()
Test whether it is permitted to assign to the variable using the saxon:assign extension element. This will only be true if the extra attribute saxon:assignable="yes" is present.
public boolean isGlobal()
public boolean mayContainTemplateBody()
Determine whether this type of element is allowed to contain a template-body
- Overrides:
- mayContainTemplateBody in interface StyleElement
- Returns:
- true: yes, it may contain a template-body
public void prepareAttributes() throws TransformerConfigurationException
- Overrides:
- prepareAttributes in interface StyleElement
public void preprocess() throws TransformerConfigurationException
Preprocess: this ensures space is available for local variables declared within this global variable
- Overrides:
- preprocess in interface StyleElement
public void validate() throws TransformerConfigurationException
- Overrides:
- validate in interface StyleElement