| net.n3.nanoxml.IXMLEntityResolver
All known Subclasses: net.n3.nanoxml.XMLEntityResolver,
IXMLEntityResolver | public interface IXMLEntityResolver (Code) | | An IXMLEntityResolver resolves entities.
author: Marc De Scheemaecker version: $Name: $, $Revision: 1.17 $ |
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. |
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 NanoXML reader. Parameters: name - the name of the entity. the reader, or null if the entity could not be resolved. throws: net.n3.nanoxml.XMLParseException - If an exception occurred while resolving the entity. |
isExternalEntity | public boolean isExternalEntity(String name)(Code) | | Returns true if an entity is external.
Parameters: name - the name of the entity. |
|
|