Class NamespaceState

java.lang.Object
com.sun.msv.reader.State
com.sun.msv.relaxns.reader.NamespaceState
All Implemented Interfaces:
ContentHandler

public class NamespaceState extends State
parses <namespace> element of RELAX Namespace.
  • Field Details

    • inlineModuleExpected

      private boolean inlineModuleExpected
      this flag indicates this object expects a module element to appear as the child.
    • bailOut

      private boolean bailOut
      this flag indicates we are in bail-out mode. any contents of <namespace> element will be ignored. this flag is used for error recovery.
    • namespace

      private String namespace
      inline module should have this primary namespace
    • moduleReader

      org.iso_relax.dispatcher.IslandSchemaReader moduleReader
      this object will parse inlined grammar.
  • Constructor Details

    • NamespaceState

      public NamespaceState()
  • Method Details

    • 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
    • getSchema

      private void getSchema(org.iso_relax.dispatcher.IslandSchemaReader moduleReader)
    • startElement

      public void startElement(String namespace, String localName, String qName, Attributes atts) throws SAXException
      Throws:
      SAXException
    • endElement

      public void endElement(String namespace, String localName, String qName)
    • endDocument

      public void endDocument()
    • getReader

      protected RELAXNSReader getReader()
      gets reader in type-safe fashion