Package net.sf.okapi.common
Class DefaultEntityResolver
- java.lang.Object
-
- net.sf.okapi.common.DefaultEntityResolver
-
- All Implemented Interfaces:
EntityResolver
public class DefaultEntityResolver extends Object implements EntityResolver
Helper class that implement a default EntityResolver.
-
-
Constructor Summary
Constructors Constructor Description DefaultEntityResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputSourceresolveEntity(String publicID, String systemID)Resolves a given entity to the input source for an empty XML document.
-
-
-
Method Detail
-
resolveEntity
public InputSource resolveEntity(String publicID, String systemID)
Resolves a given entity to the input source for an empty XML document.- Specified by:
resolveEntityin interfaceEntityResolver- Parameters:
publicID- The public ID of the entity.systemID- The system ID of the entity.- Returns:
- The input source for the resolved entity. This default implementation always returns the input source for an empty XML document.
-
-