|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object toolbox.allegato.EmptyEntityResolver
public class EmptyEntityResolver
EntityResolver implementation that will always resolve to an empty string. This is useful for ingoring the DTD declaration in XML instance documents.
Constructor Summary | |
---|---|
EmptyEntityResolver()
Default constructor. |
Method Summary | |
---|---|
static org.xml.sax.EntityResolver |
getEntityResolver()
Return the default instance of the resolver. |
org.xml.sax.InputSource |
resolveEntity(java.lang.String publicId,
java.lang.String systemId)
Return an empty string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmptyEntityResolver()
Method Detail |
---|
public static org.xml.sax.EntityResolver getEntityResolver()
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId)
resolveEntity
in interface org.xml.sax.EntityResolver
publicId
- The public id.systemId
- The system id.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |