Class ParserRuntime
java.lang.Object
relaxngcc.datatype.parser.NGCCRuntime
relaxngcc.datatype.ParserRuntime
- All Implemented Interfaces:
ContentHandler, NGCCEventSource
Parses a datatype definition file.
- Author:
- Kohsuke Kawaguchi (kk@kohsuke.org)
-
Method Summary
Modifier and TypeMethodDescriptionvoidcreateDatatype(String name, String javaType, ArrayList resources, Macro m) voidcreateResource(String name, Macro m) Creates a new Resource object.relaxngcc.datatype.ResourcegetResource(String resName) Obtains a reference to a resource.voidMethods inherited from class NGCCRuntime
characters, consumeAttribute, endDocument, endElement, endPrefixMapping, getAttributeIndex, getCurrentAttributes, getLocator, ignorableWhitespace, onEnterElementConsumed, onLeaveElementConsumed, processingInstruction, processList, redirectSubtree, replace, reset, resolveNamespacePrefix, sendEnterAttribute, sendEnterElement, sendLeaveAttribute, sendLeaveElement, sendText, setDocumentLocator, setRootHandler, skippedEntity, startDocument, startElement, startPrefixMapping, trace, tracelnMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ContentHandler
declaration
-
Method Details
-
setURI
-
createResource
Creates a new Resource object.- Throws:
SAXException
-
getResource
Obtains a reference to a resource.- Returns:
- non-null valid object.
- Throws:
SAXException
-
createDatatype
public void createDatatype(String name, String javaType, ArrayList resources, Macro m) throws SAXException - Throws:
SAXException
-