Class GrammarState

All Implemented Interfaces:
ContentHandler

public class GrammarState extends SimpleState
parses <grammar> element.
  • Constructor Details

    • GrammarState

      public GrammarState()
  • Method Details

    • getReader

      protected RELAXNSReader getReader()
      gets reader in type-safe fashion
    • 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
    • startSelf

      protected void startSelf()
      Description copied from class: State
      performs a task that should be done before reading any child elements. derived-class can safely read startTag and/or parentState values.
      Overrides:
      startSelf in class State