| java.lang.Object net.n3.nanoxml.XMLEntityResolver
XMLEntityResolver | public class XMLEntityResolver implements IXMLEntityResolver(Code) | | An XMLEntityResolver resolves entities.
author: Marc De Scheemaecker version: $Name$, $Revision: 2056 $ |
XMLEntityResolver | public XMLEntityResolver()(Code) | | Initializes the resolver.
|
addExternalEntity | public void addExternalEntity(String name, String publicID, String systemID)(Code) | | Adds an external entity.
Parameters: name - the name of the entity. Parameters: publicID - the public ID of the entity, which may be null. Parameters: systemID - the system ID of the entity. |
addInternalEntity | public void addInternalEntity(String name, String value)(Code) | | Adds an internal entity.
Parameters: name - the name of the entity. Parameters: value - the value of the entity. |
finalize | protected void finalize() throws Throwable(Code) | | Cleans up the object when it's destroyed.
|
getEntity | public Reader getEntity(IXMLReader xmlReader, String name) throws XMLParseException(Code) | | Returns a Java reader containing the value of an entity.
Parameters: xmlReader - the current XML reader Parameters: name - the name of the entity. the reader, or null if the entity could not be resolved. |
openExternalEntity | protected Reader openExternalEntity(IXMLReader xmlReader, String publicID, String systemID) throws XMLParseException(Code) | | Opens an external entity.
Parameters: xmlReader - the current XML reader Parameters: publicID - the public ID, which may be null Parameters: systemID - the system ID the reader, or null if the reader could not be created/opened |
|
|