jas.util.xml
Class ClassPathEntityResolver
java.lang.Object
jas.util.xml.ClassPathEntityResolver
- All Implemented Interfaces:
- EntityResolver
public class ClassPathEntityResolver
- extends Object
- implements EntityResolver
An implementation of an EntityResolver which can be used to locate
DTD files located on the current java class path
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassPathEntityResolver
public ClassPathEntityResolver(String DTDName,
Class root)
- Constructor
- Parameters:
DTDName
- The DTDName to resolve
resolveEntity
public InputSource resolveEntity(String publicId,
String systemId)
- Implementation of resolveEntity method
- Specified by:
resolveEntity
in interface EntityResolver
Copyright © 2000-2009 FreeHEP. All Rights Reserved.