public class DocumentHandlerImpl extends HandlerImpl implements DocumentHandler
Constructor and Description |
---|
DocumentHandlerImpl(HandlerFactory factory,
ParserHandler parser) |
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 |
endDocument() |
InstanceComponent |
getComponent() |
Handler |
getParentHandler() |
Node |
getParseNode() |
XSDSchemaContent |
getSchemaContent() |
Object |
getValue() |
void |
startChildHandler(Handler child)
Called when a child handler is started, on the leading edge of the child element.
|
void |
startDocument()
Returns the element handler for the root element of an instance document.
|
endPrefixMapping, getContext, setContext, startPrefixMapping
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
endPrefixMapping, getContext, setContext, startPrefixMapping
public DocumentHandlerImpl(HandlerFactory factory, ParserHandler parser)
public XSDSchemaContent getSchemaContent()
getSchemaContent
in interface Handler
public InstanceComponent getComponent()
getComponent
in interface Handler
public Object getValue()
public Node getParseNode()
getParseNode
in interface Handler
public Handler createChildHandler(QName qName)
Handler
This method will return null in two situations:
createChildHandler
in interface Handler
qName
- The qualified name of the schema component.public void startChildHandler(Handler child)
Handler
startChildHandler
in interface Handler
child
- The executing child handler.public void endChildHandler(Handler child)
Handler
endChildHandler
in interface Handler
child
- The executing child handler.public Handler getParentHandler()
getParentHandler
in interface Handler
Handler#getChildHandler(QName, SchemaBuilder)
public void startDocument()
DocumentHandler
startDocument
in interface DocumentHandler
public void endDocument()
endDocument
in interface DocumentHandler
Copyright © 1996–2019 Geotools. All rights reserved.