|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TypeMapping
A Collection of TypeMappingEntry
objects.
Uniqueness constraints: Either of the get
methods should be able to uniquely identify and retrieve a mapping. This might be implemented with two Maps which check this uniquness constraint on insert.
TypeMapping
s may be chained. An implementation can then use use the parent mapping to perform a lookup that fails in the current mapping.
Method Summary | |
---|---|
abstract boolean |
add(Class clazz, XMLName xml_type, Serializer serializer, Deserializer deserializer) Shortcut for add(TypeMappingEntry) |
abstract boolean |
add(Class clazz, XMLName xml_type, SerializerFactory serializer, DeserializerFactory deserializer) Shortcut for add(TypeMappingEntry) |
abstract boolean |
add(TypeMappingEntry e) Add a type mapping entry. |
abstract TypeMappingEntry |
get(Class c, ClassContext ctx) Get the TypeMappingEntry corresponding to the given Class and ClassContext |
abstract TypeMappingEntry |
get(XMLName schema_type, SchemaContext ctx) Get the TypeMappingEntry corresponding to the given XMLName and SchemaContext |
abstract Class |
getClassFromXMLName(XMLName xml_name) return the class for a given xml_name, as currently thought of by this mapping. |
abstract TypeMappingEntry[] |
getEntries() Return an array of all the TypeMappingEntry's in this TypeMapping |
abstract Class |
getHolderClass(Class clazz, QName xmlType) get JAX-RPC Holder class for this class. |
abstract TypeMapping |
getParent() Get the parent TypeMapping |
abstract XMLName |
getXMLNameFromClass(Class clazz) return the xml_name for a given class, as currently thought of by this mapping. |
abstract void |
readXML(XMLInputStream stream) read from xml in the format defined by the webservices deployment descriptor, and add each entry found to this mapping. |
abstract void |
remove(TypeMappingEntry e) Remove a type mapping. |
abstract void |
replace(TypeMappingEntry e) Add a type mapping entry, first removing a mapping if neccessary to maintain the uniqueness constraints. |
abstract void |
setParent(TypeMapping v) Set the parent TypeMapping |
abstract void |
writeXML(XMLOutputStream xout) write each entry found to this mapping to xml in the format defined by the webservices deployment descriptor. |
Method Detail |
---|
Class getClassFromXMLName(XMLName xml_name)
XMLName getXMLNameFromClass(Class clazz)
Class getHolderClass(Class clazz, QName xmlType) throws IOException
IOException
boolean add(TypeMappingEntry e)
Set.add(E)
boolean add(Class clazz, XMLName xml_type, Serializer serializer, Deserializer deserializer)
TypeMapping.add(TypeMappingEntry)
boolean add(Class clazz, XMLName xml_type, SerializerFactory serializer, DeserializerFactory deserializer)
TypeMapping.add(TypeMappingEntry)
void replace(TypeMappingEntry e)
void remove(TypeMappingEntry e)
TypeMappingEntry get(Class c, ClassContext ctx)
TypeMappingEntry
corresponding to the given Class
and ClassContext
c
- Java Class objectctx
- ClassContext
for this use of Class
c.TypeMappingEntry get(XMLName schema_type, SchemaContext ctx)
TypeMappingEntry
corresponding to the given XMLName
and SchemaContext
schema_type
-ctx
- SchemaContext
for this use of schema_type.TypeMappingEntry[] getEntries()
TypeMapping getParent()
TypeMapping
void setParent(TypeMapping v)
TypeMapping
v
- Value to assign to parent.void readXML(XMLInputStream stream) throws IOException, XMLStreamException
IOException
XMLStreamException
void writeXML(XMLOutputStream xout) throws XMLStreamException
XMLStreamException
|
Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |