Class RejectDoctypeSaxFilter

java.lang.Object
org.xml.sax.helpers.XMLFilterImpl
com.sun.xml.messaging.saaj.util.RejectDoctypeSaxFilter
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler, LexicalHandler, XMLFilter, XMLReader

public class RejectDoctypeSaxFilter extends XMLFilterImpl implements XMLReader, LexicalHandler
Users of this class see a SAX2 XMLReader (via XMLFilterImpl). This class creates a parent XMLReader via JAXP and installs itself as a SAX2 extension LexicalHandler which rejects document type declarations because they are not legal in SOAP. If the user of this class sets a LexicalHandler, then it forwards events to that handler.