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

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

 class SchemaParser.ValueState
extends SchemaParser.EmptyContentState


Field Summary
(package private)  StringBuffer buf
           
(package private)  String type
           
 
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.ValueState()
           
 
Method Summary
 void characters(char[] ch, int start, int len)
           
(package private)  void checkForeignElement()
           
(package private)  SchemaParser.State create()
           
(package private)  void end()
           
(package private)  ParsedPattern makePattern()
           
(package private)  ParsedPattern makePattern(String datatypeLibrary, String type)
           
(package private)  void setOtherAttribute(String name, String value)
           
 
Methods inherited from class com.thaiopensource.relaxng.parse.sax.SchemaParser.EmptyContentState
createChildState
 
Methods inherited from class com.thaiopensource.relaxng.parse.sax.SchemaParser.State
attributes, endAttributes, endChild, endChild, endDocument, endElement, endForeignChild, getNs, isPatternNamespaceURI, isRelaxNGElement, mergeLeadingComments, set, setName, 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

type

String type
Constructor Detail

SchemaParser.ValueState

SchemaParser.ValueState()
Method Detail

create

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

setOtherAttribute

void setOtherAttribute(String name,
                       String value)
                 throws SAXException
Overrides:
setOtherAttribute 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

makePattern

ParsedPattern makePattern()
                    throws SAXException
Specified by:
makePattern in class SchemaParser.EmptyContentState
Throws:
SAXException

end

void end()
   throws SAXException
Overrides:
end in class SchemaParser.EmptyContentState
Throws:
SAXException

makePattern

ParsedPattern makePattern(String datatypeLibrary,
                          String type)