public class AttributeSet extends ComponentCode<AttributeSet>
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
|
void |
export(ExpressionPresenter presenter)
Diagnostic print of expression structure.
|
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.
|
SymbolicName |
getSymbolicName()
Get the symbolic name of the component
|
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
|
allocateAllBindingSlots, allocateBindingSlotsRecursive, getBody, getColumnNumber, getDeclaredVisibility, getDeclaringComponent, getLineNumber, getLocation, getPackageData, getProperties, getProperty, getPublicId, getRetainedStaticContext, getStackFrameMap, getSystemId, makeDeclaringComponent, saveLocation, setBody, setDeclaredVisibility, setDeclaringComponent, setLineNumber, setPackageData, setRetainedStaticContext, setSystemId
public SymbolicName getSymbolicName()
getSymbolicName
in class ComponentCode<AttributeSet>
public void setName(StructuredQName attributeSetName)
attributeSetName
- the name of the 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 ComponentCode<AttributeSet>
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 LocationKind
.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()
ComponentCode
StandardNames.XSL_FUNCTION
getComponentKind
in class ComponentCode<AttributeSet>
public void export(ExpressionPresenter presenter)
export
in class ComponentCode<AttributeSet>
presenter
- the expression presenter used to display the structureCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.