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

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

 class SchemaParser.NameState
extends SchemaParser.NameClassBaseState


Field Summary
(package private)  StringBuffer buf
           
 
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.NameState()
           
 
Method Summary
 void characters(char[] ch, int start, int len)
           
(package private)  void checkForeignElement()
           
(package private)  SchemaParser.State create()
           
(package private)  SchemaParser.State createChildState(String localName)
           
(package private)  ParsedNameClass makeNameClass()
           
 
Methods inherited from class com.thaiopensource.relaxng.parse.sax.SchemaParser.NameClassBaseState
end
 
Methods inherited from class com.thaiopensource.relaxng.parse.sax.SchemaParser.State
attributes, endAttributes, endChild, endChild, endDocument, endElement, endForeignChild, getNs, isPatternNamespaceURI, isRelaxNGElement, 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

buf

final StringBuffer buf
Constructor Detail

SchemaParser.NameState

SchemaParser.NameState()
Method Detail

createChildState

SchemaParser.State createChildState(String localName)
                              throws SAXException
Specified by:
createChildState in class SchemaParser.State
Throws:
SAXException

create

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

characters

public void characters(char[] ch,
                       int start,
                       int len)
Specified by:
characters in interface ContentHandler
Overrides:
characters in class SchemaParser.State

checkForeignElement

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

makeNameClass

ParsedNameClass makeNameClass()
                        throws SAXException
Specified by:
makeNameClass in class SchemaParser.NameClassBaseState
Throws:
SAXException