|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.xml.ConfigurableEntityResolver
public class ConfigurableEntityResolver
INTERNAL: SAX entity resolver that makes sure that doctypes referencing the XTM 1.0 DTD is ignored.
Public id mappings take precedence over system id mappings.
| Field Summary | |
|---|---|
protected java.util.Map |
public_ids
|
protected java.util.Map |
system_ids
|
| Constructor Summary | |
|---|---|
ConfigurableEntityResolver()
|
|
| Method Summary | |
|---|---|
void |
addPublicIdSource(java.lang.String public_id,
InputSourceFactoryIF is_factory)
INTERNAL: Registers the input source factory with the given public id. |
void |
addSystemIdSource(java.lang.String system_id,
InputSourceFactoryIF is_factory)
INTERNAL: Registers the input source factory with the given system id. |
void |
removePublicIdSource(java.lang.String public_id)
INTERNAL: Unregisters the input source factory registered with the given public id. |
void |
removeSystemIdSource(java.lang.String system_id)
INTERNAL: Unregisters the input source factory registered with the given system id. |
org.xml.sax.InputSource |
resolveEntity(java.lang.String public_id,
java.lang.String system_id)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.Map public_ids
protected java.util.Map system_ids
| Constructor Detail |
|---|
public ConfigurableEntityResolver()
| Method Detail |
|---|
public void addPublicIdSource(java.lang.String public_id,
InputSourceFactoryIF is_factory)
public void removePublicIdSource(java.lang.String public_id)
public void addSystemIdSource(java.lang.String system_id,
InputSourceFactoryIF is_factory)
public void removeSystemIdSource(java.lang.String system_id)
public org.xml.sax.InputSource resolveEntity(java.lang.String public_id,
java.lang.String system_id)
resolveEntity in interface org.xml.sax.EntityResolver
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||