|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface is responsible for accessing the XML file containing a deployment descriptor.
| Method Summary | |
java.io.InputStream |
load(DeploymentDescriptor parentDD,
java.lang.String uri)
Accesses a deployment descriptor on a given location. |
java.lang.String |
resolve(DeploymentDescriptor parentDD,
QName qname)
Resolves the name of a deployment descriptor to a reachable URI (which will be used in subsequent call to load). |
java.lang.String |
resolve(DeploymentDescriptor parentDD,
java.lang.String uri)
Resolves the relative URI of a deployment descriptor to an URI understandable in the subsequent call to load(...). |
| Method Detail |
public java.lang.String resolve(DeploymentDescriptor parentDD,
QName qname)
null.
parentDD - the parent deployment descriptorqname - name of the deployment descriptor being loaded
null if nothing is
known about a deployment descriptor with given name
public java.lang.String resolve(DeploymentDescriptor parentDD,
java.lang.String uri)
load(...). If the
document with this URI can not be loaded, returns null.
parentDD - the parent deployment descriptoruri - URI relative to parent's URI
null if nothing is
known about a deployment descriptor with given relative URI
public java.io.InputStream load(DeploymentDescriptor parentDD,
java.lang.String uri)
throws DeploymentException
resolve functions
had to be called.
parentDD - the parent deployment descriptoruri - the URI of the dd being loaded
DeploymentException - if something went wrong
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||