Uses of Interface
gnu.xml.pipeline.EventConsumer

Packages that use EventConsumer
gnu.xml.dom This is a Free Software DOM Level 2 implementation, supporting these features: "XML", "Events", "MutationEvents", "HTMLEvents" (won't generate them though), "UIEvents" (also won't generate them), "USER-Events" (a conformant extension), and "Traversal" (optional; no TreeWalker yet). 
gnu.xml.pipeline This package exposes a kind of XML processing pipeline, based on sending SAX events, which can be used as components of application architectures. 
 

Uses of EventConsumer in gnu.xml.dom
 

Classes in gnu.xml.dom that implement EventConsumer
 class Consumer
          Event consumer which constructs DOM documents using the implementation in this package, using SAX2 events.
 

Constructors in gnu.xml.dom with parameters of type EventConsumer
Consumer(EventConsumer next)
          Constructs an unconfigured event consumer, as a stage in a SAX event pipeline.
 

Uses of EventConsumer in gnu.xml.pipeline
 

Classes in gnu.xml.pipeline that implement EventConsumer
 class CallFilter
          Input is sent as an XML request to given URI, and the output of this filter is the parsed response to that request.
 class DomConsumer
          This consumer builds a DOM Document from its input, acting either as a pipeline terminus or as an intermediate buffer.
 class EventFilter
          A customizable event consumer, used to assemble various kinds of filters using SAX handlers and an optional second consumer.
 class LinkFilter
          Pipeline filter to remember XHTML links found in a document, so they can later be crawled.
 class NSFilter
          This filter ensures that element and attribute names are properly prefixed, and that such prefixes are declared.
 class TeeConsumer
          Fans its events out to two other consumers, a "tee" filter stage in an event pipeline.
 class TextConsumer
          Terminates a pipeline, consuming events to print them as well formed XML (or XHTML) text.
 class ValidationConsumer
          This class checks SAX2 events to report validity errors; it works as both a filter and a terminus on an event pipeline.
 class WellFormednessFilter
          This filter reports fatal exceptions in the case of event streams that are not well formed.
 class XIncludeFilter
          Filter to process an XPointer-free subset of XInclude, supporting its use as a kind of replacement for parsed general entities.
 class XsltFilter
          Packages an XSLT transform as a pipeline component.
 

Methods in gnu.xml.pipeline that return EventConsumer
 EventConsumer EventFilter.getNext()
          Returns the next event consumer in sequence; or null if there is no such handler.
static EventConsumer PipelineFactory.createPipeline(java.lang.String description)
          Creates a simple pipeline according to the description string passed in.
static EventConsumer PipelineFactory.createPipeline(java.lang.String description, EventConsumer next)
          Extends an existing pipeline by prepending the filter pipeline to the specified consumer.
static EventConsumer PipelineFactory.createPipeline(java.lang.String[] tokens, EventConsumer next)
          Extends an existing pipeline by prepending a pre-tokenized filter pipeline to the specified consumer.
 EventConsumer TeeConsumer.getFirst()
          Returns the first pipeline to get event calls.
 EventConsumer TeeConsumer.getRest()
          Returns the second pipeline to get event calls.
 

Methods in gnu.xml.pipeline with parameters of type EventConsumer
static void EventFilter.bind(XMLReader producer, EventConsumer consumer)
          Binds the standard SAX2 handlers from the specified consumer pipeline to the specified producer.
static EventConsumer PipelineFactory.createPipeline(java.lang.String description, EventConsumer next)
          Extends an existing pipeline by prepending the filter pipeline to the specified consumer.
static EventConsumer PipelineFactory.createPipeline(java.lang.String[] tokens, EventConsumer next)
          Extends an existing pipeline by prepending a pre-tokenized filter pipeline to the specified consumer.
 

Constructors in gnu.xml.pipeline with parameters of type EventConsumer
CallFilter(java.lang.String uri, EventConsumer next)
          Initializes a call filter so that its inputs are sent to the specified URI, and its outputs are sent to the next consumer provided.
DomConsumer(java.lang.Class impl, EventConsumer n)
          Configures this consumer as a buffer/filter, using the specified DOM implementation when constructing its result value.
EventFilter(EventConsumer consumer)
          Handlers that are not otherwise set will default to those from the specified consumer, making it easy to pass events through.
LinkFilter(EventConsumer next)
          Constructs a new event filter, which collects links in private data structure for later enumeration and passes all events, unmodified, to the next consumer.
NSFilter(EventConsumer next)
          Passes events through to the specified consumer, after first processing them.
TeeConsumer(EventConsumer car, EventConsumer cdr)
          Constructs a consumer which sends all its events to the first consumer, and then the second one.
ValidationConsumer(EventConsumer next)
          Creates a pipeline filter which reports validity errors and then passes events on to the next consumer if they were not fatal.
WellFormednessFilter(EventConsumer consumer)
          Passes events through to the specified consumer, after first processing them.
XIncludeFilter(EventConsumer next)
           
XsltFilter(java.lang.String stylesheet, EventConsumer next)
          Creates a filter that performs the specified transform.
 



Source code is under GPL (with library exception) in the JAXP project at http://www.gnu.org/software/classpathx/jaxp
This documentation was derived from that source code on 2008-10-18.