org.objectweb.jonas_ws.wsgen.generator.axis
Class VcTypeMapping

java.lang.Object
  extended by org.objectweb.jonas_ws.wsgen.generator.axis.VcTypeMapping
Direct Known Subclasses:
VcArrayMapping, VcBeanMapping

public abstract class VcTypeMapping
extends java.lang.Object

Member of a VelocityContext. Contains information used to create a typeMapping WSDD tag.

Author:
Guillaume SAUTHIER

Constructor Summary
VcTypeMapping(javax.xml.namespace.QName xml, java.lang.String name)
          Create a VcTypeMapping holding typeMapping information.
 
Method Summary
 java.lang.String getClassname()
           
protected abstract  java.lang.String getDeserializerFactory()
           
protected  java.lang.String getEncodingStyle()
           
 java.lang.String getLocalPart()
           
 java.lang.String getNamespaceURI()
           
protected abstract  java.lang.String getSerializerFactory()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VcTypeMapping

public VcTypeMapping(javax.xml.namespace.QName xml,
                     java.lang.String name)
Create a VcTypeMapping holding typeMapping information.

Parameters:
xml - XML Qname of the type
name - Java name of the type
Method Detail

getClassname

public java.lang.String getClassname()
Returns:
Returns the Java classname

getNamespaceURI

public java.lang.String getNamespaceURI()
Returns:
Returns the namespace of the QName

getLocalPart

public java.lang.String getLocalPart()
Returns:
Returns the local-part of the QName

getSerializerFactory

protected abstract java.lang.String getSerializerFactory()
Returns:
Returns the serializer factory for the mapping

getDeserializerFactory

protected abstract java.lang.String getDeserializerFactory()
Returns:
Returns the deserializer factory for the mapping

getEncodingStyle

protected java.lang.String getEncodingStyle()
Returns:
Returns the encoding style for the mapping

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
Returns a String representation of the typeMapping