Class AttPoolState

All Implemented Interfaces:
ExpressionOwner, ContentHandler

public class AttPoolState extends SimpleState
parses <attPool> element.
Author:
Kohsuke KAWAGUCHI
  • Field Details

    • exp

      protected Expression exp
      expression object that is being created. See #castPattern and #annealPattern methods for how will a pattern be created.
  • Constructor Details

    • AttPoolState

      public AttPoolState()
  • Method Details

    • endSelf

      protected void endSelf()
      Description copied from class: SimpleState
      this method is called in endElement method when the state is about to be removed. derived-class should perform any wrap-up job
      Overrides:
      endSelf in class SimpleState
    • createChildState

      protected State createChildState(StartTagInfo tag)
      Description copied from class: SimpleState
      creates appropriate child state object for this element
      Specified by:
      createChildState in class SimpleState
    • initialExpression

      protected Expression initialExpression()
    • castExpression

      protected Expression castExpression(Expression exp, Expression child)
    • getReader

      protected RELAXCoreReader getReader()
      gets reader in type-safe fashion
    • onEndChild

      public final void onEndChild(Expression childExpression)
      receives a Pattern object that is contained in this element.
      Specified by:
      onEndChild in interface ExpressionOwner