Class XmlStylesheetExtension

java.lang.Object
org.faceless.publisher.ext.XmlStylesheetExtension
All Implemented Interfaces:
ReportFactoryExtension

public class XmlStylesheetExtension extends Object implements ReportFactoryExtension
A ReportFactoryExtension that will process any <?xml-stylesheet?> processing instructions preceding the XML in the input source. One of these extensions is added to every ReportFactory by default, and is currently required for normal operation.
  • Constructor Details

    • XmlStylesheetExtension

      public XmlStylesheetExtension()
  • Method Details

    • unregister

      public void unregister(ReportFactory factory)
      Description copied from interface: ReportFactoryExtension
      Notify this object it has been removed from a ReportFactory. Will be called when this object is removed from the list returned by ReportFactory.getReportFactoryExtensions. The default implementation is a no-op.
      Specified by:
      unregister in interface ReportFactoryExtension
    • register

      public void register(ReportFactory factory)
      Description copied from interface: ReportFactoryExtension
      Notify this object it has beem added to a ReportFactory. Will be called when this object is added to the list returned by ReportFactory.getReportFactoryExtensions. The default implementation is a no-op.
      Specified by:
      register in interface ReportFactoryExtension
    • startDocument

      public void startDocument(XMLParser.Context ctx)
      Specified by:
      startDocument in interface ReportFactoryExtension