Package org.apache.cocoon.xml.sax
Class AbstractSAXProducer
java.lang.Object
org.apache.cocoon.xml.sax.AbstractSAXProducer
- Direct Known Subclasses:
AbstractSAXPipe,DOMStreamer.DefaultDOMStreamer,DOMStreamer.NamespaceNormalizingDOMStreamer
Deprecated.
This API is deprecated, migrate code to the XML APIs provided by the JDK.
This abstract class provides utility methods to implement a producer
for SAX events..
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrecycle()Deprecated.Recycle the producer by removing references, and resetting handlers to null (empty) implementations.voidsetContentHandler(ContentHandler handler) Deprecated.Set theContentHandlerthat will receive XML data.
-
Constructor Details
-
AbstractSAXProducer
public AbstractSAXProducer()Deprecated.
-
-
Method Details
-
setContentHandler
Deprecated.Set theContentHandlerthat will receive XML data.Subclasses may retrieve this
ContentHandlerinstance accessing the protectedsuper.contentHandlerfield.- Parameters:
handler- content handler, should never be null.
-
recycle
public void recycle()Deprecated.Recycle the producer by removing references, and resetting handlers to null (empty) implementations.
-