public interface Handler
A handler is repsonsible for parsing and validating content. Upon a successful parse and
 validation, the handler must return the "parsed" content from a call to #getValue.
 
A handler corresponds to a specific component in a schema. Processing is delegated to the handler when an instance of the component is encountered in an instance document.
| Modifier and Type | Method and Description | 
|---|---|
| Handler | createChildHandler(QName qName)Returns a handler for a component in the schema which is a child of this component. | 
| void | endChildHandler(Handler child)Called when a child handler is finished, on the trailing edge of the child element. | 
| void | endPrefixMapping(String prefix)Called when a prefix mapping is de-registred with ParserHandler. | 
| InstanceComponent | getComponent() | 
| MutablePicoContainer | getContext() | 
| Handler | getParentHandler() | 
| Node | getParseNode() | 
| XSDSchemaContent | getSchemaContent() | 
| void | setContext(MutablePicoContainer context) | 
| void | startChildHandler(Handler child)Called when a child handler is started, on the leading edge of the child element. | 
| void | startPrefixMapping(String prefix,
                  String uri)Called when a prefix mapping is registred with ParserHandler. | 
XSDSchemaContent getSchemaContent()
InstanceComponent getComponent()
Node getParseNode()
MutablePicoContainer getContext()
void setContext(MutablePicoContainer context)
context - The context in which the the instance is to be parsed in.Handler getParentHandler()
Handler#getChildHandler(QName, SchemaBuilder)Handler createChildHandler(QName qName)
This method will return null in two situations:
qName - The qualified name of the schema component.void startChildHandler(Handler child)
child - The executing child handler.void endChildHandler(Handler child)
child - The executing child handler.void startPrefixMapping(String prefix, String uri) throws SAXException
prefix - Namespace prefix.uri - Namespace uri.SAXExceptionvoid endPrefixMapping(String prefix) throws SAXException
prefix - Namespace prefix.SAXExceptionCopyright © 1996–2019 Geotools. All rights reserved.