|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.deployment.ws.MappingFile
public class 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(JavaWsdlMapping jwMapping)
Constructor : creates a MappingFile object. |
Method Summary | |
---|---|
boolean |
equals(Object other)
Return true if the 2 objects are equals in value. |
String |
getClassname(QName xmlType)
Return the Java classname representing the xml type. |
String |
getMapping(String namespaceURI)
Return the package associated with the specified namespaceURI (can be null). |
Map |
getMappings()
return the mapping between XML namespaces and Java packages defined in the jaxrpc-mapping file. |
JavaWsdlMapping |
getXmlJavaWsdlMapping()
|
Iterator |
getXmlTypeMappings()
Return an iterator traversing the list of xmlType mappings. |
int |
hashCode()
|
String |
toString()
Build a string representation of MappingFile |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MappingFile(JavaWsdlMapping jwMapping)
jwMapping
- XML Element java-wsdl-mappingMethod Detail |
---|
public JavaWsdlMapping getXmlJavaWsdlMapping()
public Map getMappings()
public String getMapping(String namespaceURI)
namespaceURI
- the namespace key to retrieve the package name
public String getClassname(QName xmlType)
xmlType
- the QName of the xml type
public Iterator getXmlTypeMappings()
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object other)
equals
in class Object
other
- the object to compare.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |