Package com.sun.xml.rpc.encoding.literal
Class LiteralFragmentSerializer
- java.lang.Object
-
- com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase
-
- com.sun.xml.rpc.encoding.literal.LiteralFragmentSerializer
-
- All Implemented Interfaces:
CombinedSerializer,JAXRPCDeserializer,JAXRPCSerializer,SerializerConstants,Serializable,javax.xml.rpc.encoding.Deserializer,javax.xml.rpc.encoding.Serializer
public class LiteralFragmentSerializer extends LiteralObjectSerializerBase
- Author:
- JAX-RPC RI Development Team
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.xml.soap.SOAPFactorysoapFactory-
Fields inherited from class com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase
encodeType, encodingStyle, isNullable, type
-
Fields inherited from interface com.sun.xml.rpc.encoding.SerializerConstants
DONT_ENCODE_TYPE, DONT_SERIALIZE_AS_REF, ENCODE_TYPE, NOT_NULLABLE, NOT_REFERENCEABLE, NULLABLE, REFERENCEABLE, REFERENCED_INSTANCE, SERIALIZE_AS_REF, UNREFERENCED_INSTANCE
-
-
Constructor Summary
Constructors Constructor Description LiteralFragmentSerializer(QName type, boolean isNullable, String encodingStyle)LiteralFragmentSerializer(QName type, boolean isNullable, String encodingStyle, boolean encodeType, SOAPVersion ver)LiteralFragmentSerializer(QName type, boolean isNullable, String encodingStyle, SOAPVersion ver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ObjectdoDeserialize(XMLReader reader, SOAPDeserializationContext context)protected voiddoSerialize(Object obj, XMLWriter writer, SOAPSerializationContext context)protected voiddoSerializeAttributes(Object obj, XMLWriter writer, SOAPSerializationContext context)protected booleanhasDefaultNamespace(javax.xml.soap.SOAPElement element)protected voidinternalSerialize(Object obj, QName name, XMLWriter writer, SOAPSerializationContext context)protected booleanisAcceptableType(QName actualType)protected voidwriteAdditionalNamespaceDeclarations(Object obj, XMLWriter writer)-
Methods inherited from class com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase
deserialize, deserialize, getEncodeType, getEncodingStyle, getInnermostSerializer, getMechanismType, getType, getXmlType, internalDeserialize, isNullable, registerWithMemberState, serialize, verifyType
-
-
-
-
Constructor Detail
-
LiteralFragmentSerializer
public LiteralFragmentSerializer(QName type, boolean isNullable, String encodingStyle)
-
LiteralFragmentSerializer
public LiteralFragmentSerializer(QName type, boolean isNullable, String encodingStyle, SOAPVersion ver)
-
LiteralFragmentSerializer
public LiteralFragmentSerializer(QName type, boolean isNullable, String encodingStyle, boolean encodeType, SOAPVersion ver)
-
-
Method Detail
-
writeAdditionalNamespaceDeclarations
protected void writeAdditionalNamespaceDeclarations(Object obj, XMLWriter writer) throws Exception
- Overrides:
writeAdditionalNamespaceDeclarationsin classLiteralObjectSerializerBase- Throws:
Exception
-
hasDefaultNamespace
protected boolean hasDefaultNamespace(javax.xml.soap.SOAPElement element)
-
internalSerialize
protected void internalSerialize(Object obj, QName name, XMLWriter writer, SOAPSerializationContext context) throws Exception
- Overrides:
internalSerializein classLiteralObjectSerializerBase- Throws:
Exception
-
doDeserialize
protected Object doDeserialize(XMLReader reader, SOAPDeserializationContext context) throws Exception
- Specified by:
doDeserializein classLiteralObjectSerializerBase- Throws:
Exception
-
doSerialize
protected void doSerialize(Object obj, XMLWriter writer, SOAPSerializationContext context) throws Exception
- Specified by:
doSerializein classLiteralObjectSerializerBase- Throws:
Exception
-
doSerializeAttributes
protected void doSerializeAttributes(Object obj, XMLWriter writer, SOAPSerializationContext context) throws Exception
- Specified by:
doSerializeAttributesin classLiteralObjectSerializerBase- Throws:
Exception
-
isAcceptableType
protected boolean isAcceptableType(QName actualType)
- Overrides:
isAcceptableTypein classLiteralObjectSerializerBase
-
-