|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas_ws.deployment.api.MappingFile
this Class is used to manipulate jaxrpc-mapping-file. This file contains informations for mapping between XML namespaces and java packages. We actually support just a few part of this file. According with JSR 921, this file must contain class mapping information (exceptions/faults, types/classes, portTypes/interfaces ...).
Constructor Summary | |
MappingFile(java.io.InputStream is,
java.lang.String name)
Constructor : creates a MappingFile object. |
Method Summary | |
boolean |
equals(java.lang.Object other)
Return true if the 2 objects are equals in value. |
java.lang.String |
getMapping(java.lang.String namespaceURI)
Return the package associated with the specified namespaceURI (can be null). |
java.util.Map |
getMappings()
return the mapping between XML namespaces and Java packages defined in the jaxrpc-mapping file. |
java.lang.String |
toString()
Build a string representation of MappingFile |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MappingFile(java.io.InputStream is, java.lang.String name) throws WSDeploymentDescException
is
- mapping file InputStream.name
- file name (only for messages).
WSDeploymentDescException
- When reading/parsing fails.Method Detail |
public java.util.Map getMappings()
public java.lang.String getMapping(java.lang.String namespaceURI)
namespaceURI
- the namespace key to retrieve the package name
public java.lang.String toString()
public boolean equals(java.lang.Object other)
other
- the object to compare.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |