public abstract class LocalEntityResolver extends Object implements EntityResolver
Constructor and Description |
---|
LocalEntityResolver(File localEntityFolder)
Public default Constructor This constructor allows specification of
a local file system folder from which Entitys can be loaded.
|
LocalEntityResolver(String entityCPLocation)
Public Constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
clearEntityCache()
Clear the entity cache.
|
String |
getDocType()
Get the document type.
|
InputSource |
resolveEntity(String publicId,
String systemId) |
void |
setDocType(String docType)
Set the document type for the resolver.
|
public LocalEntityResolver(String entityCPLocation)
entityCPLocation
- Entity classpath location.public LocalEntityResolver(File localEntityFolder)
localEntityFolder
- Local Entity folder.public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException
resolveEntity
in interface EntityResolver
SAXException
IOException
public static void clearEntityCache()
public String getDocType()
public void setDocType(String docType)
docType
- Primary document type.Copyright © 2020. All rights reserved.