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(since="2022-01-27") public abstract class AbstractSAXProducer extends java.lang.Object
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 Constructor Description AbstractSAXProducer()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
recycle()
Deprecated.Recycle the producer by removing references, and resetting handlers to null (empty) implementations.void
setContentHandler(org.xml.sax.ContentHandler handler)
Deprecated.Set theContentHandler
that will receive XML data.
-
-
-
Method Detail
-
setContentHandler
public void setContentHandler(org.xml.sax.ContentHandler handler)
Deprecated.Set theContentHandler
that will receive XML data.Subclasses may retrieve this
ContentHandler
instance accessing the protectedsuper.contentHandler
field.- 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.
-
-