Class ChannelFunction.Channel

  extended by org.xml.sax.helpers.XMLFilterImpl
      extended by org.inria.ns.reflex.xml.sax.SAXFilter
          extended by org.inria.ns.reflex.xml.sax.StandaloneProducer.Impl
              extended by org.inria.ns.reflex.processor.xcl.ChannelFunction.Channel
All Implemented Interfaces:
Localizable, StandaloneProducer, ContentHandler, DTDHandler, EntityResolver, ErrorHandler, DeclHandler, LexicalHandler, XMLFilter, XMLReader
Enclosing class:

public class ChannelFunction.Channel
extends StandaloneProducer.Impl

A Channel is a SAX filter that must be connected to a consumer (directly or indirectly through other filters) otherwise the events that it will reveive will be ignored.

Philippe Poulard

Nested Class Summary
Nested classes/interfaces inherited from interface org.inria.ns.reflex.xml.sax.StandaloneProducer
Constructor Summary
ChannelFunction.Channel(QName name)
          Create a new channel.
Method Summary
 QName getName()
          Return the name of the channel.
 boolean isConnected()
          Indicates whether this channel is connected or not.
 void parse()
          Connect this channel to an output.
Methods inherited from class org.inria.ns.reflex.xml.sax.StandaloneProducer.Impl
parse, parse
Methods inherited from class org.inria.ns.reflex.xml.sax.SAXFilter
attributeDecl, comment, elementDecl, endCDATA, endDocument, endDTD, endEntity, externalEntityDecl, getDeclHandler, getLexicalHandler, getLocation, getProperty, internalEntityDecl, isLocalizable, setDeclHandler, setLexicalHandler, setLocation, setProperty, startCDATA, startDocument, startDTD, startEntity
Methods inherited from class org.xml.sax.helpers.XMLFilterImpl
characters, endElement, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, skippedEntity, startElement, startPrefixMapping, unparsedEntityDecl, warning
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.XMLReader
getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getProperty, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setProperty
Methods inherited from interface org.xml.sax.ContentHandler
characters, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startElement, startPrefixMapping
Methods inherited from interface org.xml.sax.DTDHandler
notationDecl, unparsedEntityDecl

Constructor Detail


public ChannelFunction.Channel(QName name)
Create a new channel.

name - The name of the channel.
Method Detail


public QName getName()
Return the name of the channel.

The name of the channel.


public boolean isConnected()
Indicates whether this channel is connected or not.

true if this channel is connected, false otherwise.


public void parse()
           throws SAXException
Connect this channel to an output.

SAXException - For compatibility.
See Also: