Package com.sun.xml.rpc.encoding
Class SerializerBase
java.lang.Object
com.sun.xml.rpc.encoding.SerializerBase
- All Implemented Interfaces:
CombinedSerializer,JAXRPCDeserializer,JAXRPCSerializer,SerializerConstants,Serializable,javax.xml.rpc.encoding.Deserializer,javax.xml.rpc.encoding.Serializer
- Direct Known Subclasses:
ArraySerializerBase,CollectionSerializerBase,DynamicSerializer,InterfaceSerializerBase,LiteralSimpleTypeSerializer,ObjectSerializerBase,PolymorphicArraySerializer,ReferenceableSerializerImpl,SimpleTypeSerializer
public abstract class SerializerBase
extends Object
implements CombinedSerializer, SerializerConstants
- Author:
- JAX-RPC Development Team
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected Stringprotected booleanprotected QNameFields 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
ConstructorsModifierConstructorDescriptionprotectedSerializerBase(QName xmlType, boolean encodeType, boolean isNullable, String encodingStyle) -
Method Summary
Modifier and TypeMethodDescriptionstatic booleandecodeBoolean(String str) deserialize(javax.activation.DataHandler dataHandler, SOAPDeserializationContext context) booleanReturns whether xsi:type information will be encodedReturns the encodingStyle of this serializerprotected StringReturns the serializer that actually does the serializationprotected QNamestatic booleangetNullStatus(XMLReader reader) static QNameReturns the XML schema type processed by this serializer.protected booleanisAcceptableType(QName actualType) booleanReturns whether serializer allows null valuesprotected voidskipEmptyContent(XMLReader reader) protected booleanprotected voidverifyName(XMLReader reader, QName expectedName) protected voidverifyType(XMLReader reader) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sun.xml.rpc.encoding.JAXRPCDeserializer
deserializeMethods inherited from interface com.sun.xml.rpc.encoding.JAXRPCSerializer
serialize
-
Field Details
-
type
-
encodeType
protected boolean encodeType -
isNullable
protected boolean isNullable -
encodingStyle
-
-
Constructor Details
-
SerializerBase
-
-
Method Details
-
getXmlType
Description copied from interface:CombinedSerializerReturns the XML schema type processed by this serializer.- Specified by:
getXmlTypein interfaceCombinedSerializer- Returns:
- Returns the XML schema type processed by this serializer.
-
getEncodeType
public boolean getEncodeType()Description copied from interface:CombinedSerializerReturns whether xsi:type information will be encoded- Specified by:
getEncodeTypein interfaceCombinedSerializer- Returns:
- Returns whether xsi:type information will be encoded
-
isNullable
public boolean isNullable()Description copied from interface:CombinedSerializerReturns whether serializer allows null values- Specified by:
isNullablein interfaceCombinedSerializer- Returns:
- Returns whether serializer allows null values
-
getEncodingStyle
Description copied from interface:CombinedSerializerReturns the encodingStyle of this serializer- Specified by:
getEncodingStylein interfaceCombinedSerializer- Returns:
- Returns the encodingStyle of this serializer
-
getInnermostSerializer
Description copied from interface:CombinedSerializerReturns the serializer that actually does the serialization- Specified by:
getInnermostSerializerin interfaceCombinedSerializer- Returns:
- Returns the serializer that actually does the serialization
-
deserialize
public Object deserialize(javax.activation.DataHandler dataHandler, SOAPDeserializationContext context) - Specified by:
deserializein interfaceJAXRPCDeserializer
-
getName
- Throws:
Exception
-
getType
- Throws:
Exception
-
getNullStatus
- Throws:
Exception
-
decodeBoolean
- Throws:
Exception
-
getID
- Throws:
Exception
-
verifyName
- Throws:
Exception
-
verifyType
- Throws:
Exception
-
isAcceptableType
-
skipEmptyContent
- Throws:
Exception
-
getMechanismType
- Specified by:
getMechanismTypein interfacejavax.xml.rpc.encoding.Deserializer- Specified by:
getMechanismTypein interfacejavax.xml.rpc.encoding.Serializer
-
typeIsEmpty
protected boolean typeIsEmpty()
-