public class ConfigurableEntityResolver extends Object implements EntityResolver
Public id mappings take precedence over system id mappings.
Modifier and Type | Field and Description |
---|---|
protected Map |
public_ids |
protected Map |
system_ids |
Constructor and Description |
---|
ConfigurableEntityResolver() |
Modifier and Type | Method and Description |
---|---|
void |
addPublicIdSource(String public_id,
InputSourceFactoryIF is_factory)
INTERNAL: Registers the input source factory with the given public id.
|
void |
addSystemIdSource(String system_id,
InputSourceFactoryIF is_factory)
INTERNAL: Registers the input source factory with the given system id.
|
void |
removePublicIdSource(String public_id)
INTERNAL: Unregisters the input source factory registered with the
given public id.
|
void |
removeSystemIdSource(String system_id)
INTERNAL: Unregisters the input source factory registered with the
given system id.
|
InputSource |
resolveEntity(String public_id,
String system_id) |
public void addPublicIdSource(String public_id, InputSourceFactoryIF is_factory)
public void removePublicIdSource(String public_id)
public void addSystemIdSource(String system_id, InputSourceFactoryIF is_factory)
public void removeSystemIdSource(String system_id)
public InputSource resolveEntity(String public_id, String system_id)
resolveEntity
in interface EntityResolver