org.objectweb.jonas_ws.deployment.api.MappingFile Class Reference

List of all members.

Public Member Functions

 MappingFile (JavaWsdlMapping jwMapping)
JavaWsdlMapping getXmlJavaWsdlMapping ()
Map getMappings ()
String getMapping (String namespaceURI)
String getClassname (QName xmlType)
Iterator getXmlTypeMappings ()
String toString ()
int hashCode ()
boolean equals (Object other)

Detailed Description

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

Xavier Delplanque

Helene Joanin

Definition at line 54 of file MappingFile.java.


Constructor & Destructor Documentation

org.objectweb.jonas_ws.deployment.api.MappingFile.MappingFile JavaWsdlMapping  jwMapping  ) 
 

Constructor : creates a MappingFile object.

Parameters:
jwMapping XML Element java-wsdl-mapping

Definition at line 70 of file MappingFile.java.


Member Function Documentation

boolean org.objectweb.jonas_ws.deployment.api.MappingFile.equals Object  other  ) 
 

Return true if the 2 objects are equals in value.

Parameters:
other the object to compare.
Returns:
true if objects are equals in value, else false.

Definition at line 208 of file MappingFile.java.

References org.objectweb.jonas_ws.deployment.api.MappingFile.getMappings().

Referenced by org.objectweb.jonas_ws.deployment.api.ServiceRefDesc.equals().

Here is the call graph for this function:

String org.objectweb.jonas_ws.deployment.api.MappingFile.getClassname QName  xmlType  ) 
 

Return the Java classname representing the xml type.

Parameters:
xmlType the QName of the xml type
Returns:
the Java classname representing the xml type.

Definition at line 166 of file MappingFile.java.

Referenced by org.objectweb.jonas_ws.wsgen.generator.axis.VContextFactory.getContext().

String org.objectweb.jonas_ws.deployment.api.MappingFile.getMapping String  namespaceURI  ) 
 

Return the package associated with the specified namespaceURI (can be null).

Parameters:
namespaceURI the namespace key to retrieve the package name
Returns:
the package associated with the specified namespaceURI. (null if namespace not present).

Definition at line 155 of file MappingFile.java.

Map org.objectweb.jonas_ws.deployment.api.MappingFile.getMappings  ) 
 

return the mapping between XML namespaces and Java packages defined in the jaxrpc-mapping file.

Returns:
the mapping between XML namespaces and Java packages

Definition at line 142 of file MappingFile.java.

Referenced by org.objectweb.jonas_ws.deployment.api.MappingFile.equals().

JavaWsdlMapping org.objectweb.jonas_ws.deployment.api.MappingFile.getXmlJavaWsdlMapping  ) 
 

Returns:
Returns the XML Element representing this MappingFile (use only for Test).

Definition at line 132 of file MappingFile.java.

Referenced by org.objectweb.jonas_ws.deployment.tests.WsDeploymentTest.parseJaxrcpMappingElement(), and org.objectweb.jonas_ws.deployment.tests.WsDeploymentTest.startJaxrpcMappingTest().

Iterator org.objectweb.jonas_ws.deployment.api.MappingFile.getXmlTypeMappings  ) 
 

Return an iterator traversing the list of xmlType mappings.

Returns:
an iterator traversing the list of xmlType mappings.

Definition at line 175 of file MappingFile.java.

Referenced by org.objectweb.jonas_ws.wsgen.generator.axis.VContextFactory.getContext().

int org.objectweb.jonas_ws.deployment.api.MappingFile.hashCode  ) 
 

See also:
java.lang.Object#hashCode()

Definition at line 197 of file MappingFile.java.

Referenced by org.objectweb.jonas_ws.deployment.api.ServiceRefDesc.hashCode().

String org.objectweb.jonas_ws.deployment.api.MappingFile.toString  ) 
 

Build a string representation of MappingFile

Returns:
String representation of the mapping file.

Definition at line 184 of file MappingFile.java.


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:13:34 2005 for JOnAS by  doxygen 1.3.9.1