org.ow2.jonas.generators.wsgen.generator.axis
Class VcTypeMapping

java.lang.Object
  extended by org.ow2.jonas.generators.wsgen.generator.axis.VcTypeMapping
Direct Known Subclasses:
VcArrayMapping, VcBeanMapping

public abstract class VcTypeMapping
extends Object

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

Author:
Guillaume SAUTHIER

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

Constructor Detail

VcTypeMapping

public VcTypeMapping(QName xml,
                     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 String getClassname()
Returns:
Returns the Java classname

getNamespaceURI

public String getNamespaceURI()
Returns:
Returns the namespace of the QName

getLocalPart

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

getSerializerFactory

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

getDeserializerFactory

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

getEncodingStyle

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

toString

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


Copyright © 2010 OW2 Consortium. All Rights Reserved.