Class XSLBreakOrContinue

All Implemented Interfaces:
Source, SourceLocator, ActiveSource, GroundedValue, Item, MutableNodeInfo, NamespaceResolver, NodeInfo, Sequence, Location, SteppingNode, SiblingCountingNode, Locator
Direct Known Subclasses:
XSLBreak, XSLNextIteration

public abstract class XSLBreakOrContinue extends StyleElement
Abstract class containing functionality common to xsl:break and xsl:next-iteration
  • Field Details

  • Constructor Details

    • XSLBreakOrContinue

      public XSLBreakOrContinue()
  • Method Details

    • isInstruction

      public boolean isInstruction()
      Determine whether this node is an instruction.
      Overrides:
      isInstruction in class StyleElement
      Returns:
      true - it is an instruction
    • prepareAttributes

      protected void prepareAttributes()
      Set the attribute list for the element. This is called to process the attributes (note the distinction from processAttributes in the superclass). Must be supplied in a subclass
      Specified by:
      prepareAttributes in class StyleElement
    • validatePosition

      protected void validatePosition()
      Test that this xsl:next-iteration or xsl:break instruction appears in a valid position