Package net.sf.saxon.instruct
Class AttributeSet
- java.lang.Object
-
- net.sf.saxon.instruct.Procedure
-
- net.sf.saxon.instruct.AttributeSet
-
- All Implemented Interfaces:
java.io.Serializable
,javax.xml.transform.SourceLocator
,LocationProvider
,Container
,InstructionInfoProvider
public class AttributeSet extends Procedure implements InstructionInfoProvider
The compiled form of an xsl:attribute-set element in the stylesheet.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AttributeSet()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
expand(XPathContext context)
protected static void
expand(AttributeSet[] asets, XPathContext context)
Expand an array of attribute setsInstructionInfo
getInstructionInfo()
Get the InstructionInfo details about the construct.int
getNameCode()
void
setNameCode(int nameCode)
void
setStackFrameMap(SlotManager stackFrameMap)
void
setUseAttributeSets(AttributeSet[] useAttributeSets)
-
Methods inherited from class net.sf.saxon.instruct.Procedure
getBody, getColumnNumber, getExecutable, getHostLanguage, getLineNumber, getLineNumber, getLocationProvider, getPublicId, getStackFrameMap, getSystemId, getSystemId, replaceSubExpression, setBody, setExecutable, setHostLanguage, setLineNumber, setSystemId
-
-
-
-
Method Detail
-
setNameCode
public void setNameCode(int nameCode)
-
getNameCode
public int getNameCode()
-
setUseAttributeSets
public void setUseAttributeSets(AttributeSet[] useAttributeSets)
-
setStackFrameMap
public void setStackFrameMap(SlotManager stackFrameMap)
- Overrides:
setStackFrameMap
in classProcedure
-
expand
public void expand(XPathContext context) throws XPathException
- Throws:
XPathException
-
getInstructionInfo
public InstructionInfo getInstructionInfo()
Get the InstructionInfo details about the construct. This information isn't used for tracing, but it is available when inspecting the context stack.- Specified by:
getInstructionInfo
in interfaceInstructionInfoProvider
-
expand
protected static void expand(AttributeSet[] asets, XPathContext context) throws XPathException
Expand an array of attribute sets- Parameters:
asets
- the attribute sets to be expandedcontext
- the run-time context to use- Throws:
XPathException
-
-