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
- Author:
- JAX-RPC RI Development Team
- See Also:
-
Field Summary
FieldsFields inherited from class com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase
encodeType, encodingStyle, isNullable, typeFields 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
ConstructorsConstructorDescriptionLiteralFragmentSerializer(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
Modifier and TypeMethodDescriptionprotected 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
-
Field Details
-
soapFactory
protected javax.xml.soap.SOAPFactory soapFactory
-
-
Constructor Details
-
LiteralFragmentSerializer
-
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 Details
-
writeAdditionalNamespaceDeclarations
- 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
- Overrides:
isAcceptableTypein classLiteralObjectSerializerBase
-