| org.geotools.xml.impl.Handler
All known Subclasses: org.geotools.xml.impl.HandlerImpl,
Handler | public interface Handler (Code) | | Class implementing this interface serve has handlers for content of an
instance document as it is parsed.
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
Handler.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.
author: Justin Deoliveira,Refractions Research Inc.,jdeolive@refractions.net |
createChildHandler | Handler createChildHandler(QName qName)(Code) | | Returns a handler for a component in the schema which is a child of
this component.
This method will return null in two situations:
- The schema component being handled does not support children (for
example, an attribute).
- A child with the specified qName could not be found.
Parameters: qName - The qualified name of the schema component. A new handler, or null if one cannot be created. |
endChildHandler | void endChildHandler(Handler child)(Code) | | Called when a child handler is finished, on the trailing edge of the
child element.
Parameters: child - The executing child handler. |
getComponent | InstanceComponent getComponent()(Code) | | The instance of the schema content that is currently beinghandled. |
getContext | MutablePicoContainer getContext()(Code) | | The context or container in which the instance is to be parsed in. |
getParseNode | Node getParseNode()(Code) | | The parse tree for the handler. |
getSchemaContent | XSDSchemaContent getSchemaContent()(Code) | | The entity of the schema that corresponds to the handler. |
setContext | void setContext(MutablePicoContainer context)(Code) | | Parameters: context - The context in which the the instance is to be parsed in. |
startChildHandler | void startChildHandler(Handler child)(Code) | | Called when a child handler is started, on the leading edge of the
child element.
Parameters: child - The executing child handler. |
|
|