| java.lang.Object | |
| ↳ | com.microstrategy.web.transform.MSTRLayoutParser.ParserEntityResolver |
This is the default implementation of the EntityResolver object.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
ParserEntityResolver(String entitySearchDir)
Constructor for this class.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| InputSource |
resolveEntity(String publicId, String systemId)
Returns the InputSource for the referenced external entity.
| ||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| HashMap |
getEntityMap()
Returns a HashMap that maps file names to their full path where they can be found.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.xml.sax.EntityResolver
| |||||||||||
Constructor for this class.
| entitySearchDir | The directory to use for searching external DTDs. |
|---|
Returns the InputSource for the referenced external entity. If the System ID begins as a
file reference ("file://") and the basename is XHTML1.1 or MicroStrategy Layout DTD, then
it is mapped using the entity map (see getEntityMap()). If not in the map, then a
blank InputSource is returned (after setting the public and system IDs).
| publicId | The public ID of the entity. |
|---|---|
| systemId | The system ID of the entity. |
| IOException | |
|---|---|
| SAXException |
Returns a HashMap that maps file names to their full path where they can be found.