JTR 5.0 API Documentation

jtr.config.ws
Class WebServiceTypeMapping

java.lang.Object
  extended by jtr.config.ws.WebServiceTypeMapping
All Implemented Interfaces:
java.io.Serializable

public class WebServiceTypeMapping
extends java.lang.Object
implements java.io.Serializable

This class is the object oriented representation of the jtr.xml typeMapping configuration element.
Such a configuration element is used to decleratively instruct the JTR-webservices extension on how to map complex XML data types to Java objects.

Since:
3.0
Version:
5.0
Author:
Francesco Russo (frusso@dev.java.net)
See Also:
Serialized Form

Constructor Summary
WebServiceTypeMapping()
           
 
Method Summary
 java.lang.Class getJavaClass()
          Get a Class instance of the configured Java class.
 java.lang.String getJavaClassName()
          Get the FQN of the configured Java class.
 java.lang.String getName()
          Get the local part of the XML qualified name.
 java.lang.String getNameSpace()
          Get the name space part of the XML qualified name.
 javax.xml.namespace.QName getQualifiedName()
          Get the qualified name of the configured XML data type.
 void setJavaClassName(java.lang.String javaClassName)
          Set the FQN of the configured Java class
 void setName(java.lang.String name)
          Set the local part of the XML qualified name.
 void setNameSpace(java.lang.String nameSpace)
          Set the name space part of the XML qualified name.
 void setQualifiedName(javax.xml.namespace.QName qualifiedName)
          Set the qualified name of the configured XML data type.
 void setQualifiedName(java.lang.String nameSpace, java.lang.String name)
          Set the qualified name of the configured XML data type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebServiceTypeMapping

public WebServiceTypeMapping()
Method Detail

getJavaClassName

public java.lang.String getJavaClassName()
Get the FQN of the configured Java class.

Returns:
String

getJavaClass

public java.lang.Class getJavaClass()
                             throws java.lang.ClassNotFoundException
Get a Class instance of the configured Java class.

Returns:
Class
Throws:
java.lang.ClassNotFoundException

setJavaClassName

public void setJavaClassName(java.lang.String javaClassName)
Set the FQN of the configured Java class

Parameters:
javaClassName - The javaClassName to set.

getQualifiedName

public javax.xml.namespace.QName getQualifiedName()
Get the qualified name of the configured XML data type.

Returns:
QName

setQualifiedName

public void setQualifiedName(javax.xml.namespace.QName qualifiedName)
Set the qualified name of the configured XML data type.

Parameters:
qualifiedName - The qualifiedName to set.

setQualifiedName

public void setQualifiedName(java.lang.String nameSpace,
                             java.lang.String name)
Set the qualified name of the configured XML data type

Parameters:
nameSpace - The XML namespace
name - The XML local part of the qualified name

getName

public java.lang.String getName()
Get the local part of the XML qualified name.

Returns:
String The local part

setName

public void setName(java.lang.String name)
Set the local part of the XML qualified name.

Parameters:
name - The local part to set.

getNameSpace

public java.lang.String getNameSpace()
Get the name space part of the XML qualified name.

Returns:
String

setNameSpace

public void setNameSpace(java.lang.String nameSpace)
Set the name space part of the XML qualified name.

Parameters:
nameSpace - The nameSpace to set.

The JTR Project is licensed under GPL version 2