Package org.smooks.xml
Class LocalDTDEntityResolver
- java.lang.Object
-
- org.smooks.xml.LocalEntityResolver
-
- org.smooks.xml.LocalDTDEntityResolver
-
- All Implemented Interfaces:
EntityResolver
public class LocalDTDEntityResolver extends LocalEntityResolver
DTD resolver for local DTD's.- Author:
- tfennelly
-
-
Constructor Summary
Constructors Constructor Description LocalDTDEntityResolver()
Public default ConstructorLocalDTDEntityResolver(File localDTDFolder)
Public default Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputSource
resolveEntity(String publicId, String systemId)
-
Methods inherited from class org.smooks.xml.LocalEntityResolver
clearEntityCache, getDocType, setDocType
-
-
-
-
Constructor Detail
-
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.
-
-
Method Detail
-
resolveEntity
public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException
- Specified by:
resolveEntity
in interfaceEntityResolver
- Overrides:
resolveEntity
in classLocalEntityResolver
- Throws:
SAXException
IOException
-
-