org.apache.commons.latka.util.xml
Class DelegateHandlerImpl
org.apache.commons.latka.util.xml.BasicDelegateHandler
|
+--org.apache.commons.latka.util.xml.DelegateHandlerImpl
- All Implemented Interfaces:
- DelegateHandler
- Direct Known Subclasses:
- LatkaHandler
- public abstract class DelegateHandlerImpl
- extends BasicDelegateHandler
A BasicDelegateHandler with convenient constructors. Constructors
are a good way to insure that the init method is called. This is
the best base class for most delegate handlers. BasicDelegateHandler
is a good base class for delegate handlers produced by factories and/or
reflection.
Constructor Summary |
DelegateHandlerImpl(org.xml.sax.XMLReader reader)
Create a DelegateHandler that releases to the
current ContentHandler of the specified XMLReader |
DelegateHandlerImpl(org.xml.sax.XMLReader reader,
org.xml.sax.ContentHandler handler)
Create a DelegateHandler that releases to a
specific ContentHandler |
DelegateHandlerImpl
public DelegateHandlerImpl(org.xml.sax.XMLReader reader)
- Create a DelegateHandler that releases to the
current ContentHandler of the specified XMLReader
- Parameters:
reader
- XMLReader that will do the parsing
DelegateHandlerImpl
public DelegateHandlerImpl(org.xml.sax.XMLReader reader,
org.xml.sax.ContentHandler handler)
- Create a DelegateHandler that releases to a
specific ContentHandler
- Parameters:
reader
- XMLReader that will do the parsinghandler
- Handler that will resume parsing once release has been
called
Copyright © 2001 Apache Software Foundation. Documenation generated September 13 2001.