|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An IXMLEntityResolver resolves entities.
Method Summary | |
void |
addExternalEntity(String name,
String publicID,
String systemID)
Adds an external entity. |
void |
addInternalEntity(String name,
String value)
Adds an internal entity. |
Reader |
getEntity(IXMLReader xmlReader,
String name)
Returns a Java reader containing the value of an entity. |
boolean |
isExternalEntity(String name)
Returns true if an entity is external. |
Method Detail |
public void addInternalEntity(String name, String value)
name
- the name of the entity.value
- the value of the entity.public void addExternalEntity(String name, String publicID, String systemID)
name
- the name of the entity.publicID
- the public ID of the entity, which may be null.systemID
- the system ID of the entity.public Reader getEntity(IXMLReader xmlReader, String name) throws XMLParseException
xmlReader
- the current NanoXML reader.name
- the name of the entity.
XMLParseException
- If an exception occurred while resolving the entity.public boolean isExternalEntity(String name)
name
- the name of the entity.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |