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

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.ParamState
All Implemented Interfaces:
SchemaParser.CommentHandler, ContentHandler
Enclosing class:
SchemaParser

 class SchemaParser.ParamState
extends SchemaParser.State


Field Summary
private  StringBuffer buf
           
private  DataPatternBuilder dpb
           
private  String name
           
 
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.ParamState(DataPatternBuilder dpb)
           
 
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)  void end()
           
(package private)  void endAttributes()
           
(package private)  void setName(String name)
           
 
Methods inherited from class com.thaiopensource.relaxng.parse.sax.SchemaParser.State
attributes, endChild, endChild, endDocument, endElement, endForeignChild, getNs, isPatternNamespaceURI, isRelaxNGElement, mergeLeadingComments, set, 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

private final StringBuffer buf

dpb

private final DataPatternBuilder dpb

name

private String name
Constructor Detail

SchemaParser.ParamState

SchemaParser.ParamState(DataPatternBuilder dpb)
Method Detail

create

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

setName

void setName(String name)
       throws SAXException
Overrides:
setName in class SchemaParser.State
Throws:
SAXException

endAttributes

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

createChildState

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

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

end

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