org.geotools.xml.impl
Class HandlerFactoryImpl

Object
  extended by HandlerFactoryImpl
All Implemented Interfaces:
HandlerFactory
Direct Known Subclasses:
KMLCustomSchemaHandlerFactory

public class HandlerFactoryImpl
extends Object
implements HandlerFactory


Constructor Summary
HandlerFactoryImpl()
           
 
Method Summary
 DocumentHandler createDocumentHandler(ParserHandler parser)
          Creates a handler for the root element of a document.
 ElementHandler createElementHandler(QName qName, Handler parent, ParserHandler parser)
          Creates an element hander for a global or top level element in a document.
 ElementHandler createElementHandler(XSDElementDeclaration element, Handler parent, ParserHandler parser)
          Creates a handler for a particular element in a document.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandlerFactoryImpl

public HandlerFactoryImpl()
Method Detail

createDocumentHandler

public DocumentHandler createDocumentHandler(ParserHandler parser)
Description copied from interface: HandlerFactory
Creates a handler for the root element of a document.

Specified by:
createDocumentHandler in interface HandlerFactory

createElementHandler

public ElementHandler createElementHandler(QName qName,
                                           Handler parent,
                                           ParserHandler parser)
Description copied from interface: HandlerFactory
Creates an element hander for a global or top level element in a document.

Specified by:
createElementHandler in interface HandlerFactory
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: HandlerFactory
Creates a handler for a particular element in a document.

Specified by:
createElementHandler in interface HandlerFactory
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.


Copyright © 1996-2014 Geotools. All Rights Reserved.