43 * class creates a parent XMLReader via JAXP and installs itself as a SAX2 |
43 * class creates a parent XMLReader via JAXP and installs itself as a SAX2 |
44 * extension LexicalHandler which rejects document type declarations |
44 * extension LexicalHandler which rejects document type declarations |
45 * because they are not legal in SOAP. If the user of this class sets a |
45 * because they are not legal in SOAP. If the user of this class sets a |
46 * LexicalHandler, then it forwards events to that handler. |
46 * LexicalHandler, then it forwards events to that handler. |
47 * |
47 * |
48 * $Id: RejectDoctypeSaxFilter.java,v 1.13 2006/01/27 12:49:52 vj135062 Exp $ |
48 * |
49 * @author Edwin Goei |
49 * @author Edwin Goei |
50 */ |
50 */ |
51 |
51 |
52 public class RejectDoctypeSaxFilter extends XMLFilterImpl implements XMLReader, LexicalHandler{ |
52 public class RejectDoctypeSaxFilter extends XMLFilterImpl implements XMLReader, LexicalHandler{ |
53 protected static Logger log = |
53 protected static final Logger log = |
54 Logger.getLogger(LogDomainConstants.UTIL_DOMAIN, |
54 Logger.getLogger(LogDomainConstants.UTIL_DOMAIN, |
55 "com.sun.xml.internal.messaging.saaj.util.LocalStrings"); |
55 "com.sun.xml.internal.messaging.saaj.util.LocalStrings"); |
56 |
56 |
57 /** Standard SAX 2.0 ext property */ |
57 /** Standard SAX 2.0 ext property */ |
58 static final String LEXICAL_HANDLER_PROP = |
58 static final String LEXICAL_HANDLER_PROP = |