| |
|
| java.lang.Object org.objectweb.jonas_ws.deployment.api.MappingFile
MappingFile | public class MappingFile (Code) | | 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 ...).
author: Guillaume Sauthier author: Xavier Delplanque author: Helene Joanin |
Method Summary | |
public boolean | equals(Object other) Return true if the 2 objects are equals in value.
Parameters: other - the object to compare. | public String | getClassname(QName xmlType) Return the Java classname representing the xml type. | public String | getMapping(String namespaceURI) Return the package associated with the specified namespaceURI (can be
null).
Parameters: namespaceURI - the namespace key to retrieve the package name the package associated with the specified namespaceURI. | public Map | getMappings() return the mapping between XML namespaces and Java packages defined in
the jaxrpc-mapping file. | public JavaWsdlMapping | getXmlJavaWsdlMapping() | public Iterator | getXmlTypeMappings() Return an iterator traversing the list of xmlType mappings. | public int | hashCode() | public String | toString() |
MappingFile | public MappingFile(JavaWsdlMapping jwMapping)(Code) | | Constructor : creates a MappingFile object.
Parameters: jwMapping - XML Element java-wsdl-mapping |
equals | public boolean equals(Object other)(Code) | | Return true if the 2 objects are equals in value.
Parameters: other - the object to compare. true if objects are equals in value, else false. |
getClassname | public String getClassname(QName xmlType)(Code) | | Return the Java classname representing the xml type.
Parameters: xmlType - the QName of the xml type the Java classname representing the xml type. |
getMapping | public String getMapping(String namespaceURI)(Code) | | Return the package associated with the specified namespaceURI (can be
null).
Parameters: namespaceURI - the namespace key to retrieve the package name the package associated with the specified namespaceURI. (null ifnamespace not present). |
getMappings | public Map getMappings()(Code) | | return the mapping between XML namespaces and Java packages defined in
the jaxrpc-mapping file.
the mapping between XML namespaces and Java packages |
getXmlJavaWsdlMapping | public JavaWsdlMapping getXmlJavaWsdlMapping()(Code) | | Returns the XML Element representing this MappingFile (use only for Test). |
getXmlTypeMappings | public Iterator getXmlTypeMappings()(Code) | | Return an iterator traversing the list of xmlType mappings.
an iterator traversing the list of xmlType mappings. |
toString | public String toString()(Code) | | Build a string representation of MappingFile
String representation of the mapping file. |
|
|
|