public class GenericLiteralObjectSerializer extends LiteralObjectSerializerBase implements Initializable
| Modifier and Type | Class and Description |
|---|---|
static interface |
GenericLiteralObjectSerializer.GetterMethod |
static class |
GenericLiteralObjectSerializer.MemberInfo |
static interface |
GenericLiteralObjectSerializer.SetterMethod |
protected class |
GenericLiteralObjectSerializer.SOAPGenericObjectInstanceBuilder |
| Modifier and Type | Field and Description |
|---|---|
protected Map |
javaToXmlType |
protected Collection |
memberOrder |
protected List |
members |
protected InternalTypeMappingRegistry |
registry |
protected Class |
targetClass |
protected Map |
xmlToJavaType |
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 |
|---|
GenericLiteralObjectSerializer(QName type,
boolean encodeType,
boolean isNullable,
String encodingStyle) |
GenericLiteralObjectSerializer(QName type,
boolean encodeType,
boolean isNullable,
String encodingStyle,
SOAPVersion ver) |
deserialize, deserialize, getEncodeType, getEncodingStyle, getInnermostSerializer, getMechanismType, getType, getXmlType, internalDeserialize, internalSerialize, isAcceptableType, isNullable, registerWithMemberState, serialize, writeAdditionalNamespaceDeclarationsprotected Class targetClass
protected List members
protected Map xmlToJavaType
protected Map javaToXmlType
protected InternalTypeMappingRegistry registry
protected Collection memberOrder
public GenericLiteralObjectSerializer(QName type, boolean encodeType, boolean isNullable, String encodingStyle)
public GenericLiteralObjectSerializer(QName type, boolean encodeType, boolean isNullable, String encodingStyle, SOAPVersion ver)
public void setTargetClass(Class targetClass)
protected void doSetTargetClass(Class targetClass)
public void initialize(InternalTypeMappingRegistry registry) throws Exception
Initializableinitialize in interface InitializableException - This exception may be
thrown if there is a problem initializingpublic void clearMembers()
public void addMember(GenericLiteralObjectSerializer.MemberInfo member) throws Exception
Exceptionprotected void doSerialize(Object obj, XMLWriter writer, SOAPSerializationContext context) throws Exception
doSerialize in class LiteralObjectSerializerBaseExceptionprotected void doSerializeAttributes(Object obj, XMLWriter writer, SOAPSerializationContext context) throws Exception
doSerializeAttributes in class LiteralObjectSerializerBaseExceptionprotected Object doDeserialize(XMLReader reader, SOAPDeserializationContext context) throws Exception
doDeserialize in class LiteralObjectSerializerBaseExceptionprotected void doSerializeInstance(Object instance, XMLWriter writer, SOAPSerializationContext context) throws Exception
Exceptionprotected Object doDeserialize(SOAPDeserializationState state, XMLReader reader, SOAPDeserializationContext context) throws Exception
Exceptionprotected void verifyType(XMLReader reader) throws Exception
verifyType in class LiteralObjectSerializerBaseExceptionCopyright © 2017–2019 Eclipse Foundation. All rights reserved.