Interface Transformer

  • All Superinterfaces:
    org.xml.sax.ContentHandler

    @Deprecated
    public interface Transformer
    extends org.xml.sax.ContentHandler
    Deprecated.
    Use the Apache Sling Rewriter Module (org.apache.sling.rewriter.Transformer)
    The Transformer interface defines the middle of a rewriter pipeline.
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      void init​(ProcessingContext context, ProcessingComponentConfiguration config)
      Deprecated.
      Initialize this component.
      void setContentHandler​(org.xml.sax.ContentHandler handler)
      Deprecated.
      Set the content handler the transformer should stream to.
      • Methods inherited from interface org.xml.sax.ContentHandler

        characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
    • Method Detail

      • init

        void init​(ProcessingContext context,
                  ProcessingComponentConfiguration config)
           throws java.io.IOException
        Deprecated.
        Initialize this component.
        Parameters:
        context - The invocation context.
        config - The configuration for this component.
        Throws:
        java.io.IOException - IOException
      • setContentHandler

        void setContentHandler​(org.xml.sax.ContentHandler handler)
        Deprecated.
        Set the content handler the transformer should stream to.
        Parameters:
        handler - Another transformer or a serializer.