public class MapSerializer extends CollectionSerializerBase implements Initializable
| Modifier and Type | Field and Description |
|---|---|
protected JAXRPCDeserializer |
elemDeser |
protected JAXRPCSerializer |
elemSer |
protected Class |
mapClass |
dims, elemClass, elemName, elemType, null_dims, rankencodeType, encodingStyle, isNullable, typeARRAY_ELEMENT_NAME, COLLECTION_ELEMENT_NAME, JAX_RPC_MAP_ENTRY_KEY_NAME, JAX_RPC_MAP_ENTRY_VALUE_NAME, JAXRPC_URI, QNAME_TYPE_ARRAY_LIST, QNAME_TYPE_COLLECTION, QNAME_TYPE_DATA_HANDLER, QNAME_TYPE_HASH_MAP, QNAME_TYPE_HASH_SET, QNAME_TYPE_HASHTABLE, QNAME_TYPE_IMAGE, QNAME_TYPE_JAX_RPC_MAP_ENTRY, QNAME_TYPE_LINKED_LIST, QNAME_TYPE_LIST, QNAME_TYPE_MAP, QNAME_TYPE_MIME_MULTIPART, QNAME_TYPE_PROPERTIES, QNAME_TYPE_SET, QNAME_TYPE_SOURCE, QNAME_TYPE_STACK, QNAME_TYPE_TREE_MAP, QNAME_TYPE_TREE_SET, QNAME_TYPE_VECTORDONT_ENCODE_TYPE, DONT_SERIALIZE_AS_REF, ENCODE_TYPE, NOT_NULLABLE, NOT_REFERENCEABLE, NULLABLE, REFERENCEABLE, REFERENCED_INSTANCE, SERIALIZE_AS_REF, UNREFERENCED_INSTANCE| Constructor and Description |
|---|
MapSerializer(QName type,
Class mapClass,
boolean encodeType,
boolean isNullable,
String encodingStyle) |
MapSerializer(QName type,
Class mapClass,
boolean encodeType,
boolean isNullable,
String encodingStyle,
SOAPVersion version) |
| Modifier and Type | Method and Description |
|---|---|
protected Object[] |
convertToArray(Object obj) |
protected Object |
deserializeArrayInstance(XMLReader reader,
SOAPDeserializationContext context,
int[] dims) |
void |
initialize(InternalTypeMappingRegistry registry)
Allows the implementors to retrieve and cache serializers during
system intialization
|
protected void |
serializeArrayElements(Object[] arr,
int level,
int[] dims,
XMLWriter writer,
SOAPSerializationContext context) |
protected void |
serializeArrayInstance(Object obj,
int[] dims,
XMLWriter writer,
SOAPSerializationContext context) |
static void |
setElement(Object[] value,
int[] position,
Object elem) |
decodeArrayDimensions, deserialize, encodeArrayDimensions, getArrayDimensions, getArrayDimensions, getArrayDimensions, getArrayElementPosition, getArrayElementPosition, getArrayElementType, getArrayOffset, getArrayOffset, getArrayRank, getDimensionOffsets, incrementPosition, indexFromPosition, isEmptyDimensions, isPositionWithinBounds, positionFromIndex, serialize, serializeNull, verifyArrayDimensions, verifyArrayElementType, verifyArrayTypedecodeBoolean, deserialize, getEncodeType, getEncodingStyle, getID, getInnermostSerializer, getMechanismType, getName, getNullStatus, getType, getXmlType, isAcceptableType, isNullable, skipEmptyContent, typeIsEmpty, verifyName, verifyTypeprotected Class mapClass
protected JAXRPCSerializer elemSer
protected JAXRPCDeserializer elemDeser
public MapSerializer(QName type, Class mapClass, boolean encodeType, boolean isNullable, String encodingStyle)
public MapSerializer(QName type, Class mapClass, boolean encodeType, boolean isNullable, String encodingStyle, SOAPVersion version)
public void initialize(InternalTypeMappingRegistry registry) throws Exception
Initializableinitialize in interface InitializableException - This exception may be
thrown if there is a problem initializingprotected Object[] convertToArray(Object obj) throws Exception
convertToArray in class CollectionSerializerBaseExceptionprotected void serializeArrayInstance(Object obj, int[] dims, XMLWriter writer, SOAPSerializationContext context) throws Exception
serializeArrayInstance in class CollectionSerializerBaseExceptionprotected void serializeArrayElements(Object[] arr, int level, int[] dims, XMLWriter writer, SOAPSerializationContext context) throws Exception
Exceptionprotected Object deserializeArrayInstance(XMLReader reader, SOAPDeserializationContext context, int[] dims) throws Exception
deserializeArrayInstance in class CollectionSerializerBaseExceptionCopyright © 2017–2019 Eclipse Foundation. All rights reserved.