public class RuleEntityResolver extends Object implements EntityResolver
| Constructor and Description |
|---|
RuleEntityResolver() |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStreamLTEntities(String input) |
String |
getPathFromLTResourceFolder(String input) |
InputSource |
resolveEntity(String publicId,
String systemId)
Resolves the entity's absolute path by taking the relative path found in the source XML and combining it with the
path of the source XML file (which also must be resolved to a full absolute path).
|
public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException
resolveEntity in interface EntityResolverpublicId - The public identifier of the external entity
being referenced, or null if none was supplied.systemId - The system identifier of the external entity
being referenced.SAXExceptionIOExceptionpublic InputStream getInputStreamLTEntities(String input)