|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.ear.j2ee.J2EEEntityResolver
public class J2EEEntityResolver
A class to resolve external entity definitions for j2ee artifacts.
Field Summary | |
---|---|
static String[] |
J2EE_DTDS
list of j2ee dtds that are being made available |
static String[] |
J2EE_RESOURCES
list of j2ee resources that are being made available |
Constructor Summary | |
---|---|
J2EEEntityResolver()
Creates a new instance of EntityResolver |
Method Summary | |
---|---|
protected Map |
getIdToResource()
Getter for publicId to resource name map. |
InputSource |
resolveEntity(String publicId,
String systemId)
resolve the entity given by the provided Ids |
protected void |
setIdToResource(Map newIdToResource)
Setter for publicId to resource name map. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String[] J2EE_DTDS
public static final String[] J2EE_RESOURCES
Constructor Detail |
---|
public J2EEEntityResolver()
Method Detail |
---|
public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException
resolveEntity
in interface EntityResolver
publicId
- the public id of the entitysystemId
- the 'system location' (typically a URL) of the entity
input source
for retrieval of the entity
IOException
- when an I/O error occurs retrieving the entity
SAXException
- if there are any problemsprotected Map getIdToResource()
protected void setIdToResource(Map newIdToResource)
newIdToResource
- New value of property idToResource.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |