Class SaxNgFilter

    • Field Detail

      • closeSource

        protected final boolean closeSource
      • closeSink

        protected final boolean closeSink
    • Constructor Detail

    • Method Detail

      • doFilter

        public void doFilter()
                      throws SmooksException
        Description copied from interface: Filter
        Filter the content in the supplied Source instance, outputting the result to the supplied Sink instance.

        Implementations use static methods on the FilterSource and FilterSink classes to access the Source and Sinks objects.

        Throws:
        SmooksException - Failed to filter.
      • doFilter

        protected void doFilter​(Source source,
                                Sink sink)
      • close

        public void close()