Class AbstractSAXProducer

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void recycle()
      Recycle the producer by removing references, and resetting handlers to null (empty) implementations.
      void setContentHandler​(org.xml.sax.ContentHandler handler)
      Set the ContentHandler that will receive XML data.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractSAXProducer

        public AbstractSAXProducer()
    • Method Detail

      • setContentHandler

        public void setContentHandler​(org.xml.sax.ContentHandler handler)
        Set the ContentHandler that will receive XML data.

        Subclasses may retrieve this ContentHandler instance accessing the protected super.contentHandler field.

        Parameters:
        handler - content handler, should never be null.
      • recycle

        public void recycle()
        Recycle the producer by removing references, and resetting handlers to null (empty) implementations.