Package relaxngcc.runtime
Class NGCCPlainHandler
java.lang.Object
relaxngcc.runtime.NGCCPlainHandler
- All Implemented Interfaces:
ContentHandler
Base class for classes generated by RelaxNGCC for typed-sax and plain-sax modes.
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
accepted()
void
characters
(char[] ch, int start, int length) void
void
endElement
(String uri, String localname, String qname) void
endPrefixMapping
(String prefix) abstract void
enterElement
(String uri, String localName, String qname) void
ignorableWhitespace
(char[] ch, int start, int length) abstract void
leaveElement
(String uri, String localName, String qname) abstract void
void
processingInstruction
(String target, String data) void
void
skippedEntity
(String name) void
void
startElement
(String uri, String localname, String qname, Attributes atts) void
startPrefixMapping
(String prefix, String uri) abstract void
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Method Details
-
enterElement
- Throws:
SAXException
-
leaveElement
- Throws:
SAXException
-
text
- Throws:
SAXException
-
processAttribute
- Throws:
SAXException
-
accepted
public abstract boolean accepted() -
startDocument
public void startDocument()- Specified by:
startDocument
in interfaceContentHandler
-
endDocument
- Specified by:
endDocument
in interfaceContentHandler
- Throws:
SAXException
-
startElement
public void startElement(String uri, String localname, String qname, Attributes atts) throws SAXException - Specified by:
startElement
in interfaceContentHandler
- Throws:
SAXException
-
endElement
- Specified by:
endElement
in interfaceContentHandler
- Throws:
SAXException
-
characters
- Specified by:
characters
in interfaceContentHandler
- Throws:
SAXException
-
ignorableWhitespace
- Specified by:
ignorableWhitespace
in interfaceContentHandler
- Throws:
SAXException
-
startPrefixMapping
- Specified by:
startPrefixMapping
in interfaceContentHandler
- Throws:
SAXException
-
endPrefixMapping
- Specified by:
endPrefixMapping
in interfaceContentHandler
- Throws:
SAXException
-
setDocumentLocator
- Specified by:
setDocumentLocator
in interfaceContentHandler
-
processingInstruction
- Specified by:
processingInstruction
in interfaceContentHandler
- Throws:
SAXException
-
skippedEntity
- Specified by:
skippedEntity
in interfaceContentHandler
- Throws:
SAXException
-