org.geotools.xml.impl
Class HandlerImpl

Object
  extended by HandlerImpl
All Implemented Interfaces:
Handler
Direct Known Subclasses:
DocumentHandlerImpl, ElementHandlerImpl

public abstract class HandlerImpl
extends Object
implements Handler


Constructor Summary
HandlerImpl()
           
 
Method Summary
 void endPrefixMapping(String prefix)
          Called when a prefix mapping is de-registred with ParserHandler.
 MutablePicoContainer getContext()
           
 void setContext(MutablePicoContainer context)
           
 void startPrefixMapping(String prefix, String uri)
          Called when a prefix mapping is registred with ParserHandler.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface Handler
createChildHandler, endChildHandler, getComponent, getParentHandler, getParseNode, getSchemaContent, startChildHandler
 

Constructor Detail

HandlerImpl

public HandlerImpl()
Method Detail

getContext

public MutablePicoContainer getContext()
Specified by:
getContext in interface Handler
Returns:
The context or container in which the instance is to be parsed in.

setContext

public void setContext(MutablePicoContainer context)
Specified by:
setContext in interface Handler
Parameters:
context - The context in which the the instance is to be parsed in.

startPrefixMapping

public void startPrefixMapping(String prefix,
                               String uri)
                        throws SAXException
Description copied from interface: Handler
Called when a prefix mapping is registred with ParserHandler.

Specified by:
startPrefixMapping in interface Handler
Parameters:
prefix - Namespace prefix.
uri - Namespace uri.
Throws:
SAXException

endPrefixMapping

public void endPrefixMapping(String prefix)
                      throws SAXException
Description copied from interface: Handler
Called when a prefix mapping is de-registred with ParserHandler.

Specified by:
endPrefixMapping in interface Handler
Parameters:
prefix - Namespace prefix.
Throws:
SAXException


Copyright © 1996-2014 Geotools. All Rights Reserved.