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

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.NameClassContainerState
              extended by com.thaiopensource.relaxng.parse.sax.SchemaParser.NameClassChoiceState
All Implemented Interfaces:
SchemaParser.CommentHandler, ContentHandler
Enclosing class:
SchemaParser

 class SchemaParser.NameClassChoiceState
extends SchemaParser.NameClassContainerState


Field Summary
private  int context
           
private  ParsedNameClass[] nameClasses
           
private  int nNameClasses
           
 
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.NameClassChoiceState()
           
SchemaParser.NameClassChoiceState(int context)
           
 
Method Summary
(package private)  SchemaParser.State create()
           
(package private)  SchemaParser.State createChildState(String localName)
           
(package private)  void end()
           
(package private)  void endChild(ParsedNameClass nc)
           
(package private)  void endForeignChild(ParsedElementAnnotation ea)
           
(package private)  void setParent(SchemaParser.State parent)
           
 
Methods inherited from class com.thaiopensource.relaxng.parse.sax.SchemaParser.State
attributes, characters, checkForeignElement, endAttributes, endChild, endDocument, endElement, getNs, isPatternNamespaceURI, isRelaxNGElement, mergeLeadingComments, set, setName, setOtherAttribute, 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

nameClasses

private ParsedNameClass[] nameClasses

nNameClasses

private int nNameClasses

context

private int context
Constructor Detail

SchemaParser.NameClassChoiceState

SchemaParser.NameClassChoiceState()

SchemaParser.NameClassChoiceState

SchemaParser.NameClassChoiceState(int context)
Method Detail

setParent

void setParent(SchemaParser.State parent)
Overrides:
setParent in class SchemaParser.State

create

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

createChildState

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

endChild

void endChild(ParsedNameClass nc)
Overrides:
endChild in class SchemaParser.State

endForeignChild

void endForeignChild(ParsedElementAnnotation ea)
Overrides:
endForeignChild in class SchemaParser.State

end

void end()
   throws SAXException
Specified by:
end in class SchemaParser.State
Throws:
SAXException