public class AttributeSet extends Procedure
Constructor and Description |
---|
AttributeSet()
Create an empty attribute set
|
Modifier and Type | Method and Description |
---|---|
protected static void |
expand(AttributeSet[] asets,
XPathContext context)
Expand 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.
|
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, getExecutable, getHostLanguage, getLineNumber, getLineNumber, getLocationProvider, getProperties, getProperty, getPublicId, getStackFrameMap, getSystemId, getSystemId, replaceSubExpression, setBody, setExecutable, setHostLanguage, setLineNumber, setSystemId
public 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 Procedure
stackFrameMap
- the stack frame mappublic int getFocusDependencies()
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()
protected static void expand(AttributeSet[] asets, XPathContext context) throws XPathException
asets
- the attribute sets to be expandedcontext
- the run-time context to useXPathException