org.codehaus.xfire.java.mapping
Class AutoTypeMapping

java.lang.Object
  extended by org.codehaus.xfire.java.mapping.CustomTypeMapping
      extended by org.codehaus.xfire.java.mapping.AutoTypeMapping
All Implemented Interfaces:
TypeMapping

public class AutoTypeMapping
extends CustomTypeMapping

A type mapping which automatically generates types for java classes which are not registered, allowing easy deployment of java services.

Since:
Feb 21, 2004
Author:
Dan Diephouse

Constructor Summary
AutoTypeMapping()
           
AutoTypeMapping(TypeMapping defaultTM)
           
 
Method Summary
 Type getType(java.lang.Class javaType)
           
 Type getType(java.lang.Class javaType, javax.xml.namespace.QName xmlType)
           
 
Methods inherited from class org.codehaus.xfire.java.mapping.CustomTypeMapping
getEncodingStyleURI, getType, getTypeQName, instantiateType, isRegistered, register, removeType, setEncodingStyleURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoTypeMapping

public AutoTypeMapping(TypeMapping defaultTM)

AutoTypeMapping

public AutoTypeMapping()
Method Detail

getType

public Type getType(java.lang.Class javaType,
                    javax.xml.namespace.QName xmlType)
Specified by:
getType in interface TypeMapping
Overrides:
getType in class CustomTypeMapping
See Also:
org.codehaus.xfire.java.mapping.TypeMapping#getSerializer(java.lang.Class, javax.xml.namespace.QName)

getType

public Type getType(java.lang.Class javaType)
Specified by:
getType in interface TypeMapping
Overrides:
getType in class CustomTypeMapping
See Also:
TypeMapping.getType(java.lang.Class)


Copyright © 2004 Codehaus. All Rights Reserved.