be.lassi.pdf
Class EntityResolver
java.lang.Object
be.lassi.pdf.EntityResolver
- All Implemented Interfaces:
- net.n3.nanoxml.IXMLEntityResolver
public class EntityResolver
- extends java.lang.Object
- implements net.n3.nanoxml.IXMLEntityResolver
Method Summary |
void |
addExternalEntity(java.lang.String name,
java.lang.String publicID,
java.lang.String systemID)
|
void |
addInternalEntity(java.lang.String name,
java.lang.String value)
|
java.io.Reader |
getEntity(net.n3.nanoxml.IXMLReader xmlReader,
java.lang.String name)
|
boolean |
isExternalEntity(java.lang.String name)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityResolver
public EntityResolver()
- Initializes the resolver.
addExternalEntity
public void addExternalEntity(java.lang.String name,
java.lang.String publicID,
java.lang.String systemID)
-
- Specified by:
addExternalEntity
in interface net.n3.nanoxml.IXMLEntityResolver
addInternalEntity
public void addInternalEntity(java.lang.String name,
java.lang.String value)
-
- Specified by:
addInternalEntity
in interface net.n3.nanoxml.IXMLEntityResolver
getEntity
public java.io.Reader getEntity(net.n3.nanoxml.IXMLReader xmlReader,
java.lang.String name)
throws net.n3.nanoxml.XMLParseException
-
- Specified by:
getEntity
in interface net.n3.nanoxml.IXMLEntityResolver
- Throws:
net.n3.nanoxml.XMLParseException
isExternalEntity
public boolean isExternalEntity(java.lang.String name)
-
- Specified by:
isExternalEntity
in interface net.n3.nanoxml.IXMLEntityResolver