com.thaiopensource.relaxng.parse.sax
Class SchemaParser.RootState

java.lang.Object
  extended by com.thaiopensource.relaxng.parse.sax.SchemaParser.Handler
      extended by com.thaiopensource.relaxng.parse.sax.SchemaParser.State
          extended by com.thaiopensource.relaxng.parse.sax.SchemaParser.PatternContainerState
              extended by com.thaiopensource.relaxng.parse.sax.SchemaParser.RootState
All Implemented Interfaces:
SchemaParser.CommentHandler, ContentHandler
Enclosing class:
SchemaParser

 class SchemaParser.RootState
extends SchemaParser.PatternContainerState


Field Summary
(package private)  IncludedGrammar grammar
           
 
Fields inherited from class com.thaiopensource.relaxng.parse.sax.SchemaParser.PatternContainerState
childPatterns, nChildPatterns
 
Fields inherited from class com.thaiopensource.relaxng.parse.sax.SchemaParser.State
annotations, datatypeLibrary, ns, nsInherit, parent, scope, startLocation
 
Fields inherited from class com.thaiopensource.relaxng.parse.sax.SchemaParser.Handler
comments
 
Constructor Summary
SchemaParser.RootState()
           
SchemaParser.RootState(IncludedGrammar grammar, Scope scope, String ns)
           
 
Method Summary
(package private)  void checkForeignElement()
           
(package private)  SchemaParser.State create()
           
(package private)  SchemaParser.State createChildState(String localName)
           
(package private)  void endChild(ParsedPattern pattern)
           
(package private)  boolean isRelaxNGElement(String uri)
           
 
Methods inherited from class com.thaiopensource.relaxng.parse.sax.SchemaParser.PatternContainerState
buildPattern, end, endForeignChild, sendPatternToParent
 
Methods inherited from class com.thaiopensource.relaxng.parse.sax.SchemaParser.State
attributes, characters, endAttributes, endChild, endDocument, endElement, getNs, isPatternNamespaceURI, mergeLeadingComments, set, setName, setOtherAttribute, setParent, startDocument, startElement
 
Methods inherited from class com.thaiopensource.relaxng.parse.sax.SchemaParser.Handler
comment, endPrefixMapping, getComments, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startPrefixMapping
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

grammar

IncludedGrammar grammar
Constructor Detail

SchemaParser.RootState

SchemaParser.RootState()

SchemaParser.RootState

SchemaParser.RootState(IncludedGrammar grammar,
                       Scope scope,
                       String ns)
Method Detail

create

SchemaParser.State create()
Specified by:
create in class SchemaParser.State

createChildState

SchemaParser.State createChildState(String localName)
                              throws SAXException
Overrides:
createChildState in class SchemaParser.PatternContainerState
Throws:
SAXException

checkForeignElement

void checkForeignElement()
                   throws SAXException
Overrides:
checkForeignElement in class SchemaParser.State
Throws:
SAXException

endChild

void endChild(ParsedPattern pattern)
Overrides:
endChild in class SchemaParser.PatternContainerState

isRelaxNGElement

boolean isRelaxNGElement(String uri)
                   throws SAXException
Overrides:
isRelaxNGElement in class SchemaParser.State
Throws:
SAXException