Class XSLBreakOrContinue

All Implemented Interfaces:
Iterable<NodeInfo>, Source, SourceLocator, Location, GroundedValue<NodeInfo>, Item<NodeInfo>, MutableNodeInfo, NamespaceResolver, NodeInfo, Sequence<NodeInfo>, SteppingNode<NodeImpl>, 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

      public void prepareAttributes() throws XPathException
      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
      Throws:
      XPathException - if a static error is detected
    • validatePosition

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