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.ObjectDeprecated.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 voidrecycle()Deprecated.Recycle the producer by removing references, and resetting handlers to null (empty) implementations.voidsetContentHandler(org.xml.sax.ContentHandler handler)Deprecated.Set theContentHandlerthat will receive XML data.
-
-
-
Method Detail
-
setContentHandler
public void setContentHandler(org.xml.sax.ContentHandler handler)
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.
-
-