## net.sf.saxon.instruct
Class AttributeSet

    java.lang.Object
      |
      +--net.sf.saxon.instruct.Procedure
            |
            +--net.sf.saxon.instruct.AttributeSet

All Implemented Interfaces:
  Container, InstructionInfoProvider, java.io.Serializable, javax.xml.transform.SourceLocator

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
`AttributeSet()`

Method Summary
`protected static void` `expand(AttributeSet[] asets, XPathContext context)` Expand an array of attribute sets
`void` `expand(XPathContext context)`
`InstructionInfo` `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, getLineNumber, getPublicId, getStackFrameMap, getSystemId, setBody, setExecutable, setLineNumber, setSystemId`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### AttributeSet

    public AttributeSet()

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 class `Procedure`

### expand

    public void expand(XPathContext context)
                throws XPathException

    `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 interface `InstructionInfoProvider`

### expand

    protected static void expand(AttributeSet[] asets,
                                 XPathContext context)
                          throws XPathException

  Expand an array of attribute sets

  Parameters:
    `asets` - the attribute sets to be expanded
    `context` - the run-time context to use
  Throws:
    `XPathException`