|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TypeMapping
| Method Summary | |
|---|---|
java.lang.String |
getMappingIdentifierURI()
Each mapping has a URI that identifies it. |
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)
Returns a flag indicating if this type mapping has a mapping for a particular Java class. |
boolean |
isRegistered(javax.xml.namespace.QName xmlType)
Returns a flag indicating if this type mapping has a mapping for a particular XML Schema QName. |
void |
register(java.lang.Class javaType,
javax.xml.namespace.QName xmlType,
Type type)
Register a type, manually specifying the java class, the schema type, and the Aegis type object that provides serialization, deserialization, and schema. |
void |
register(Type type)
Register a type that self-describes the schema type and the Java class. |
void |
removeType(Type type)
|
void |
setMappingIdentifierURI(java.lang.String uri)
This exists only to deal with an initialization order problem. |
| Method Detail |
|---|
boolean isRegistered(java.lang.Class javaType)
javaType - the class.
true if there is a mapping for the type.boolean isRegistered(javax.xml.namespace.QName xmlType)
xmlType - the QName.
true if there is a mapping for the type.
void register(java.lang.Class javaType,
javax.xml.namespace.QName xmlType,
Type type)
javaType - Java class.xmlType - XML Schema type QName.type - Aegis type object.void register(Type type)
type - Aegis type object thatvoid removeType(Type type)
Type getType(java.lang.Class javaType)
Type getType(javax.xml.namespace.QName xmlType)
javax.xml.namespace.QName getTypeQName(java.lang.Class clazz)
TypeCreator getTypeCreator()
java.lang.String getMappingIdentifierURI()
void setMappingIdentifierURI(java.lang.String uri)
uri -
|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||