|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.saxon.expr.instruct.Procedure net.sf.saxon.expr.instruct.AttributeSet
public class AttributeSet
The compiled form of an xsl:attribute-set element in the stylesheet.
Field Summary |
---|
Fields inherited from class net.sf.saxon.expr.instruct.Procedure |
---|
body |
Constructor Summary | |
---|---|
AttributeSet()
Create an empty attribute set |
Method Summary | |
---|---|
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. |
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 |
Methods inherited from class net.sf.saxon.expr.instruct.Procedure |
---|
getBody, getColumnNumber, getColumnNumber, getContainerGranularity, getExecutable, getHostLanguage, getLineNumber, getLineNumber, getLocationProvider, getProperties, getProperty, getPublicId, getStackFrameMap, getSystemId, getSystemId, setBody, setExecutable, setHostLanguage, setLineNumber, setSystemId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttributeSet()
Method Detail |
---|
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 context
XPathException
- 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 use
XPathException
- if evaluation of any attribute-set fails with a dynamic error
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |