sk.uniba.euromath.document
Class EmEntityResolver
java.lang.Object
sk.uniba.euromath.document.EmEntityResolver
- All Implemented Interfaces:
- EntityResolver
public final class EmEntityResolver
- extends Object
- implements EntityResolver
Implements the entity resolver, that resolves entity references to locally
stored entities, when possible. This mapping is defined in config file. If no
mapping is possible then resolver roots local URI in given Eclipse project
path.
- Author:
- Martin Vysny
Field Summary |
URI |
root
Directory where the document is located. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
root
public final URI root
- Directory where the document is located.
EmEntityResolver
public EmEntityResolver(URLDir root)
- Constructor.
- Parameters:
root
- directory where the document is located.
resolveEntity
public InputSource resolveEntity(String publicId,
String systemId)
throws SAXException,
IOException
- Specified by:
resolveEntity
in interface EntityResolver
- Throws:
SAXException
IOException
Copyright © 2003-2006 null. All Rights Reserved.