public class PolymorphicArraySerializer extends SerializerBase implements Initializable
| Modifier and Type | Field and Description |
|---|---|
protected QName |
elemName |
protected com.sun.xml.rpc.encoding.ArraySerializerHelper |
helper |
protected InternalTypeMappingRegistry |
registry |
encodeType, encodingStyle, isNullable, typeDONT_ENCODE_TYPE, DONT_SERIALIZE_AS_REF, ENCODE_TYPE, NOT_NULLABLE, NOT_REFERENCEABLE, NULLABLE, REFERENCEABLE, REFERENCED_INSTANCE, SERIALIZE_AS_REF, UNREFERENCED_INSTANCE| Constructor and Description |
|---|
PolymorphicArraySerializer(QName type,
boolean encodeType,
boolean isNullable,
String encodingStyle,
QName elemName) |
PolymorphicArraySerializer(QName type,
boolean encodeType,
boolean isNullable,
String encodingStyle,
QName elemName,
SOAPVersion ver) |
| Modifier and Type | Method and Description |
|---|---|
Object |
deserialize(QName name,
XMLReader reader,
SOAPDeserializationContext context) |
protected Object |
deserializeArrayInstance(XMLReader reader,
SOAPDeserializationContext context,
int[] dims,
Class elemClass,
JAXRPCDeserializer elemDeser) |
protected int |
getArrayRank(Object obj) |
void |
initialize(InternalTypeMappingRegistry registry)
Allows the implementors to retrieve and cache serializers during
system intialization
|
void |
serialize(Object obj,
QName name,
SerializerCallback callback,
XMLWriter writer,
SOAPSerializationContext context) |
protected void |
serializeArrayElements(Object[] arr,
int level,
int[] dims,
XMLWriter writer,
SOAPSerializationContext context) |
protected void |
serializeArrayInstance(Object obj,
int[] dims,
XMLWriter writer,
SOAPSerializationContext context) |
protected void |
serializeNull(QName name,
XMLWriter writer,
SOAPSerializationContext context) |
decodeBoolean, deserialize, getEncodeType, getEncodingStyle, getID, getInnermostSerializer, getMechanismType, getName, getNullStatus, getType, getXmlType, isAcceptableType, isNullable, skipEmptyContent, typeIsEmpty, verifyName, verifyTypeprotected QName elemName
protected InternalTypeMappingRegistry registry
protected com.sun.xml.rpc.encoding.ArraySerializerHelper helper
public PolymorphicArraySerializer(QName type, boolean encodeType, boolean isNullable, String encodingStyle, QName elemName)
public PolymorphicArraySerializer(QName type, boolean encodeType, boolean isNullable, String encodingStyle, QName elemName, SOAPVersion ver)
public void initialize(InternalTypeMappingRegistry registry) throws Exception
Initializableinitialize in interface InitializableException - This exception may be
thrown if there is a problem initializingpublic void serialize(Object obj, QName name, SerializerCallback callback, XMLWriter writer, SOAPSerializationContext context) throws SerializationException
serialize in interface JAXRPCSerializerSerializationExceptionprotected void serializeArrayInstance(Object obj, int[] dims, XMLWriter writer, SOAPSerializationContext context) throws Exception
Exceptionprotected void serializeArrayElements(Object[] arr, int level, int[] dims, XMLWriter writer, SOAPSerializationContext context) throws Exception
Exceptionprotected void serializeNull(QName name, XMLWriter writer, SOAPSerializationContext context) throws Exception
Exceptionpublic Object deserialize(QName name, XMLReader reader, SOAPDeserializationContext context)
deserialize in interface JAXRPCDeserializerprotected Object deserializeArrayInstance(XMLReader reader, SOAPDeserializationContext context, int[] dims, Class elemClass, JAXRPCDeserializer elemDeser) throws Exception
Exceptionprotected int getArrayRank(Object obj)
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.