Class DocViewSerializerContentHandler

  • All Implemented Interfaces:
    AutoCloseable, org.apache.sling.contentparser.api.ContentHandler

    public class DocViewSerializerContentHandler
    extends Object
    implements org.apache.sling.contentparser.api.ContentHandler, AutoCloseable
    Similar to DocViewSAXFormatter but works outside a repository-based context on the input generated through ContentHandler callbacks. Throws DocViewSerializerContentHandlerException in case serialization fails for some reason.