public class AttributeSet extends Procedure
| Constructor and Description |
|---|
AttributeSet()
Create an empty attribute set
|
| Modifier and Type | Method and Description |
|---|---|
static void |
expand(AttributeSet[] asets,
XPathContext context)
Expand (evaluate) an array of attribute sets
|
void |
expand(XPathContext context)
Evaluate an attribute set
|
int |
getConstructType()
Get the type of construct.
|
int |
getFocusDependencies()
Determine whether the attribute set has any dependencies on the focus
|
StructuredQName |
getObjectName()
Get a name identifying the object of the expression, for example a function name, template name,
variable name, key name, element name, etc.
|
int |
getW3CStreamability() |
void |
setName(StructuredQName attributeSetName)
Set the name of the attribute-set
|
void |
setStackFrameMap(SlotManager stackFrameMap)
Set the stack frame map which allocates slots to variables declared in this attribute set
|
void |
setUseAttributeSets(AttributeSet[] useAttributeSets)
Set the attribute sets used by this attribute set
|
getBody, getColumnNumber, getColumnNumber, getContainerGranularity, getExecutable, getHostLanguage, getLineNumber, getLineNumber, getLocationProvider, getProperties, getProperty, getPublicId, getStackFrameMap, getSystemId, getSystemId, setBody, setExecutable, setHostLanguage, setLineNumber, setSystemIdpublic void setName(StructuredQName attributeSetName)
attributeSetName - the name of the attribute-setpublic void setUseAttributeSets(AttributeSet[] useAttributeSets)
useAttributeSets - the set of attribute sets used by this attribute setpublic void setStackFrameMap(SlotManager stackFrameMap)
setStackFrameMap in class ProcedurestackFrameMap - the stack frame mappublic int getFocusDependencies()
public int getW3CStreamability()
public void expand(XPathContext context) throws XPathException
context - the dynamic contextXPathException - if any failure occurspublic int getConstructType()
StandardNames: all less than 1024)
or it will be a constant in class Location.public StructuredQName getObjectName()
public static void expand(AttributeSet[] asets, XPathContext context) throws XPathException
asets - the attribute sets to be evaluatedcontext - the run-time context to useXPathException - if evaluation of any attribute-set fails with a dynamic errorCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.