Package org.codehaus.cargo.module
Class XmlEntityResolver
- java.lang.Object
-
- org.codehaus.cargo.module.XmlEntityResolver
-
- All Implemented Interfaces:
EntityResolver
public class XmlEntityResolver extends Object implements EntityResolver
Implementation of the SAX EntityResolver interface that looks up the web-app DTDs from the JAR.
-
-
Constructor Summary
Constructors Constructor Description XmlEntityResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDtdFileName(String thePublicId, String theSystemId)
Tries to decide the file name of a DTD from the public and system id.InputSource
resolveEntity(String thePublicId, String theSystemId)
-
-
-
Method Detail
-
resolveEntity
public InputSource resolveEntity(String thePublicId, String theSystemId) throws SAXException, IOException
- Specified by:
resolveEntity
in interfaceEntityResolver
- Throws:
SAXException
IOException
-
-