Package net.ontopia.xml
Class ConfigurableEntityResolver
java.lang.Object
net.ontopia.xml.ConfigurableEntityResolver
- All Implemented Interfaces:
EntityResolver
- Direct Known Subclasses:
IgnoreTopicMapDTDEntityResolver,IncludeTopicMapDTDEntityResolver
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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPublicIdSource(String public_id, InputSourceFactoryIF is_factory) INTERNAL: Registers the input source factory with the given public id.voidaddSystemIdSource(String system_id, InputSourceFactoryIF is_factory) INTERNAL: Registers the input source factory with the given system id.voidremovePublicIdSource(String public_id) INTERNAL: Unregisters the input source factory registered with the given public id.voidremoveSystemIdSource(String system_id) INTERNAL: Unregisters the input source factory registered with the given system id.resolveEntity(String public_id, String system_id)
-
Field Details
-
public_ids
-
system_ids
-
-
Constructor Details
-
ConfigurableEntityResolver
public ConfigurableEntityResolver()
-
-
Method Details
-
addPublicIdSource
INTERNAL: Registers the input source factory with the given public id. -
removePublicIdSource
INTERNAL: Unregisters the input source factory registered with the given public id. -
addSystemIdSource
INTERNAL: Registers the input source factory with the given system id. -
removeSystemIdSource
INTERNAL: Unregisters the input source factory registered with the given system id. -
resolveEntity
- Specified by:
resolveEntityin interfaceEntityResolver
-