public class AttributeSet extends ComponentBody
body
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 |
getComponentKind()
Get the kind of component that this represents, using integer constants such as
StandardNames.XSL_FUNCTION |
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.
|
boolean |
isDeclaredStreamable()
Ask whether this attribute set is declared to be streamable
|
void |
setDeclaredStreamable(boolean value)
Say whether this attribute set is declared to be streamable
|
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
|
allocateAllBindingSlots, allocateBindingSlotsRecursive, getBody, getColumnNumber, getConfiguration, getContainerGranularity, getDeclaringComponent, getHostLanguage, getLineNumber, getLocationProvider, getPackageData, getProperties, getProperty, getPublicId, getStackFrameMap, getSystemId, makeDeclaringComponent, setBody, setHostLanguage, setLineNumber, setPackageData, 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 setDeclaredStreamable(boolean value)
value
- true if the attribute streamable="yes" is presentpublic boolean isDeclaredStreamable()
public void setStackFrameMap(SlotManager stackFrameMap)
setStackFrameMap
in class ComponentBody
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()
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 errorpublic int getComponentKind()
ComponentBody
StandardNames.XSL_FUNCTION
getComponentKind
in class ComponentBody
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.