com.bluecast.xml
Class EntityManager
public
class
EntityManager
extends Object
Method Summary |
void | clear() |
Entity | getByID(Entity context, String pubID, String sysID) |
Entity | getByName(String name, int type) |
EntityResolver | getResolver() |
boolean | putExternal(Entity context, String name, String pubID, String sysID, int type)
Defines an external entity. |
boolean | putInternal(String name, String value, int type)
Defines an internal entity. |
boolean | putUnparsed(Entity context, String name, String pubID, String sysID, String ndata, int type)
Defines an unparsed entity. |
static String | resolveSystemID(String contextSysID, String sysID) |
void | setResolver(EntityResolver resolver) |
public static final int GENERAL
public static final int PARAMETER
public EntityManager()
public EntityManager(EntityResolver resolver)
public void clear()
public
Entity getByID(
Entity context, String pubID, String sysID)
public
Entity getByName(String name, int type)
public EntityResolver getResolver()
public boolean putExternal(
Entity context, String name, String pubID, String sysID, int type)
Defines an external entity. Returns true if successful,
false if the entity was already defined.
public boolean putInternal(String name, String value, int type)
Defines an internal entity. Returns true if successful,
false if the entity was already defined.
public boolean putUnparsed(
Entity context, String name, String pubID, String sysID, String ndata, int type)
Defines an unparsed entity. Returns true if successful,
false if the entity was already defined.
public static String resolveSystemID(String contextSysID, String sysID)
public void setResolver(EntityResolver resolver)