Content Pipeline Guide > Java Reference > Interfaces > SAXInterfaceProvider
  
SAXInterfaceProvider
The SAXInterfaceProvider interface provides methods that get the various SAX2 interfaces. Since a filter may implement a subset of the seven SAX2 interfaces, this interface allows the composer to query the object that implements this interface for the individual SAX2 interfaces.
public interface SAXInterfaceProvider {
/** Returns the ContentHandler or null. */
ContentHandler getContentHandler();
/** Returns the DTDHandler or null. */
DTDHandler getDTDHandler();
/** Returns the ErrorHandler or null. */
ErrorHandler getErrorHandler();
/** Returns the EntityResolver or null. */
EntityResolver getEntityResolver();
/** Returns the LexicalHandler or null. */
LexicalHandler getLexicalHandler();
/** Returns the DeclHandler or null. */
DeclHandler getDeclHandler();
/** Returns the EntityResolver2 or null. */
EntityResolver2 getEntityResolver2();
}