Package org.geotools.xsd.impl
Interface HandlerFactory
- All Known Implementing Classes:
HandlerFactoryImpl
,KMLCustomSchemaHandlerFactory
public interface HandlerFactory
Factory used to create element handler objects during the processing of an instance document.
- Author:
- Justin Deoliveira,Refractions Reserach Inc.,jdeolive@refractions.net
-
Method Summary
Modifier and TypeMethodDescriptioncreateDocumentHandler
(ParserHandler parser) Creates a handler for the root element of a document.createElementHandler
(QName qName, Handler parent, ParserHandler parser) Creates an element hander for a global or top level element in a document.createElementHandler
(XSDElementDeclaration element, Handler parent, ParserHandler parser) Creates a handler for a particular element in a document.
-
Method Details
-
createDocumentHandler
Creates a handler for the root element of a document. -
createElementHandler
Creates an element hander for a global or top level element in a document.- Parameters:
qName
- The qualified name identifying the element.parent
- The parent handler.parser
- The content handler driving the parser.- Returns:
- A new element handler, or null if one could not be created.
-
createElementHandler
ElementHandler createElementHandler(XSDElementDeclaration element, Handler parent, ParserHandler parser) Creates a handler for a particular element in a document.- Parameters:
element
- The schema component which represents the declaration of the element.parent
- The parent handler.parser
- The content handler driving the parser.- Returns:
- A new element handler, or null if one could not be created.
-