com.thaiopensource.relaxng.parse.sax
Class SchemaParser.State
java.lang.Object
com.thaiopensource.relaxng.parse.sax.SchemaParser.Handler
com.thaiopensource.relaxng.parse.sax.SchemaParser.State
- All Implemented Interfaces:
- SchemaParser.CommentHandler, ContentHandler
- Direct Known Subclasses:
- SchemaParser.DataState, SchemaParser.EmptyContentState, SchemaParser.GrammarSectionState, SchemaParser.NameClassBaseState, SchemaParser.NameClassContainerState, SchemaParser.ParamState, SchemaParser.PatternContainerState
- Enclosing class:
- SchemaParser
abstract class SchemaParser.State
- extends SchemaParser.Handler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parent
SchemaParser.State parent
nsInherit
String nsInherit
ns
String ns
datatypeLibrary
String datatypeLibrary
scope
Scope scope
startLocation
Location startLocation
annotations
Annotations annotations
SchemaParser.State
SchemaParser.State()
set
void set()
create
abstract SchemaParser.State create()
createChildState
abstract SchemaParser.State createChildState(String localName)
throws SAXException
- Throws:
SAXException
setParent
void setParent(SchemaParser.State parent)
getNs
String getNs()
isRelaxNGElement
boolean isRelaxNGElement(String uri)
throws SAXException
- Throws:
SAXException
startElement
public void startElement(String namespaceURI,
String localName,
String qName,
Attributes atts)
throws SAXException
- Throws:
SAXException
endElement
public void endElement(String namespaceURI,
String localName,
String qName)
throws SAXException
- Throws:
SAXException
setName
void setName(String name)
throws SAXException
- Throws:
SAXException
setOtherAttribute
void setOtherAttribute(String name,
String value)
throws SAXException
- Throws:
SAXException
endAttributes
void endAttributes()
throws SAXException
- Throws:
SAXException
checkForeignElement
void checkForeignElement()
throws SAXException
- Throws:
SAXException
attributes
void attributes(Attributes atts)
throws SAXException
- Throws:
SAXException
end
abstract void end()
throws SAXException
- Throws:
SAXException
endChild
void endChild(ParsedPattern pattern)
endChild
void endChild(ParsedNameClass nc)
startDocument
public void startDocument()
- Specified by:
startDocument
in interface ContentHandler
- Overrides:
startDocument
in class SchemaParser.Handler
endDocument
public void endDocument()
- Specified by:
endDocument
in interface ContentHandler
- Overrides:
endDocument
in class SchemaParser.Handler
characters
public void characters(char[] ch,
int start,
int len)
throws SAXException
- Throws:
SAXException
isPatternNamespaceURI
boolean isPatternNamespaceURI(String s)
endForeignChild
void endForeignChild(ParsedElementAnnotation ea)
mergeLeadingComments
void mergeLeadingComments()