Package org.geotools.xsd.impl
Class HandlerFactoryImpl
Object
HandlerFactoryImpl
- All Implemented Interfaces:
HandlerFactory
- Direct Known Subclasses:
KMLCustomSchemaHandlerFactory
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
HandlerFactoryImpl
public HandlerFactoryImpl()
-
-
Method Details
-
createDocumentHandler
Description copied from interface:HandlerFactoryCreates a handler for the root element of a document.- Specified by:
createDocumentHandlerin interfaceHandlerFactory
-
createElementHandler
Description copied from interface:HandlerFactoryCreates an element hander for a global or top level element in a document.- Specified by:
createElementHandlerin interfaceHandlerFactory- 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
public ElementHandler createElementHandler(XSDElementDeclaration element, Handler parent, ParserHandler parser) Description copied from interface:HandlerFactoryCreates a handler for a particular element in a document.- Specified by:
createElementHandlerin interfaceHandlerFactory- 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.
-