org.directwebremoting.util
Class EmptyEntityResolver
java.lang.Object
org.directwebremoting.util.EmptyEntityResolver
- All Implemented Interfaces:
- org.xml.sax.EntityResolver
public class EmptyEntityResolver
- extends java.lang.Object
- implements org.xml.sax.EntityResolver
An EntityResolver for use when you don't want to do any entity resolving.
I think this is technically a violation of all sorts of things because the
DTD affects how a document is parsed, and this just dumps all DTDs. However
when you are not interested in validity, you just want to get informaion when
you know that the DTD won't affect the documnent, this could be useful.
- Author:
- Joe Walker [joe at getahead dot ltd dot uk]
Method Summary |
org.xml.sax.InputSource |
resolveEntity(java.lang.String publicId,
java.lang.String systemId)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmptyEntityResolver
public EmptyEntityResolver()
resolveEntity
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId,
java.lang.String systemId)
throws org.xml.sax.SAXException,
java.io.IOException
- Specified by:
resolveEntity
in interface org.xml.sax.EntityResolver
- Throws:
org.xml.sax.SAXException
java.io.IOException