org.codehaus.xfire.aegis.type
Interface TypeMapping

All Known Implementing Classes:
CustomTypeMapping

public interface TypeMapping

Since:
Feb 18, 2004
Author:
Dan Diephouse

Method Summary
 java.lang.String getEncodingStyleURI()
           
 Type getType(java.lang.Class javaType)
           
 Type getType(javax.xml.namespace.QName xmlType)
           
 TypeCreator getTypeCreator()
           
 javax.xml.namespace.QName getTypeQName(java.lang.Class clazz)
           
 boolean isRegistered(java.lang.Class javaType)
          Checks whether or not type mapping between specified XML type and Java type is registered.
 boolean isRegistered(javax.xml.namespace.QName xmlType)
           
 void register(java.lang.Class javaType, javax.xml.namespace.QName xmlType, Type type)
           
 void register(Type type)
           
 void removeType(Type type)
           
 void setEncodingStyleURI(java.lang.String encodingStyleURI)
           
 

Method Detail

isRegistered

public boolean isRegistered(java.lang.Class javaType)
Checks whether or not type mapping between specified XML type and Java type is registered.

Parameters:
javaType - Class of the Java type
Returns:
boolean; true if type mapping between the specified XML type and Java type is registered; otherwise false

isRegistered

public boolean isRegistered(javax.xml.namespace.QName xmlType)

register

public void register(java.lang.Class javaType,
                     javax.xml.namespace.QName xmlType,
                     Type type)

register

public void register(Type type)

removeType

public void removeType(Type type)

getType

public Type getType(java.lang.Class javaType)

getType

public Type getType(javax.xml.namespace.QName xmlType)

getTypeQName

public javax.xml.namespace.QName getTypeQName(java.lang.Class clazz)

getEncodingStyleURI

public java.lang.String getEncodingStyleURI()

setEncodingStyleURI

public void setEncodingStyleURI(java.lang.String encodingStyleURI)

getTypeCreator

public TypeCreator getTypeCreator()


Copyright © 2004-2006 null. All Rights Reserved.