org.milyn.xml
Class LocalDTDEntityResolver
java.lang.Object
org.milyn.xml.LocalEntityResolver
org.milyn.xml.LocalDTDEntityResolver
- All Implemented Interfaces:
- EntityResolver
public class LocalDTDEntityResolver
- extends LocalEntityResolver
DTD resolver for local DTD's.
- Author:
- tfennelly
|
Constructor Summary |
LocalDTDEntityResolver()
Public default Constructor |
LocalDTDEntityResolver(File localDTDFolder)
Public default Constructor This constructor allows specification of
a local file system folder from which DTDs can be loaded. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalDTDEntityResolver
public LocalDTDEntityResolver()
- Public default Constructor
LocalDTDEntityResolver
public LocalDTDEntityResolver(File localDTDFolder)
- Public default Constructor This constructor allows specification of
a local file system folder from which DTDs can be loaded.
- Parameters:
localDTDFolder - Local DTD folder.
resolveEntity
public InputSource resolveEntity(String publicId,
String systemId)
throws SAXException,
IOException
- Specified by:
resolveEntity in interface EntityResolver- Overrides:
resolveEntity in class LocalEntityResolver
- Throws:
SAXException
IOException
Copyright © 2018. All rights reserved.