Class TerminalState

All Implemented Interfaces:
ContentHandler

public class TerminalState extends ExpressionWithoutChildState
State that always returns the same expression. Typically used for <empty/>, <notAllowed/> and <text/> of RELAX NG.
  • Field Details

  • Constructor Details

    • TerminalState

      public TerminalState(Expression exp)
  • Method Details

    • makeExpression

      protected Expression makeExpression()
      Description copied from class: ExpressionState
      This method is called from endElement method. Implementation has to provide Expression object that represents the content of this element.
      Specified by:
      makeExpression in class ExpressionState