Class AtomDeserializer
java.lang.Object
org.apache.olingo.client.core.serialization.AtomDeserializer
- All Implemented Interfaces:
ODataDeserializer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final QNameprotected static final QNameprotected static final QNameprotected static final QNameprotected static final QNameprotected static final QNameprotected static final QNameprotected static final QNameprotected static final QNameprotected static final QNameprotected static final QNameprotected static final QNameprotected static final QNameprotected static final XMLInputFactoryprotected static final QNameprotected static final QNameprotected static final QNameprotected static final QNameprotected static final QNameprotected static final QNameprotected static final QNameprotected static final QName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondelta(InputStream input) protected XMLEventReadergetReader(InputStream input) toEntity(InputStream input) Gets an entity object from the given InputStream.toEntitySet(InputStream input) Gets an entity set object from the given InputStream.toError(InputStream input) Gets the ODataError object represented by the given InputStream.toProperty(InputStream input) Gets a property object from the given InputStream.
-
Field Details
-
etagQName
-
metadataEtagQName
-
inlineQName
-
actionQName
-
propertiesQName
-
typeQName
-
nullQName
-
elementQName
-
countQName
-
annotationQName
-
contextQName
-
entryRefQName
-
propertyValueQName
-
reasonQName
-
linkQName
-
deletedLinkQName
-
errorCodeQName
-
errorMessageQName
-
errorTargetQName
-
errorDetailQName
-
deletedEntryQName
-
FACTORY
-
-
Constructor Details
-
AtomDeserializer
public AtomDeserializer()
-
-
Method Details
-
getReader
- Throws:
XMLStreamException
-
toProperty
Description copied from interface:ODataDeserializerGets a property object from the given InputStream.- Specified by:
toPropertyin interfaceODataDeserializer- Parameters:
input- stream to be de-serialized.- Returns:
- Property instance.
- Throws:
ODataDeserializerException
-
delta
-
toEntity
Description copied from interface:ODataDeserializerGets an entity object from the given InputStream.- Specified by:
toEntityin interfaceODataDeserializer- Parameters:
input- stream to be de-serialized.- Returns:
Entityinstance.- Throws:
ODataDeserializerException
-
toEntitySet
Description copied from interface:ODataDeserializerGets an entity set object from the given InputStream.- Specified by:
toEntitySetin interfaceODataDeserializer- Parameters:
input- stream to be de-serialized.- Returns:
EntityCollectioninstance.- Throws:
ODataDeserializerException
-
toError
Description copied from interface:ODataDeserializerGets the ODataError object represented by the given InputStream.- Specified by:
toErrorin interfaceODataDeserializer- Parameters:
input- stream to be parsed and de-serialized.- Returns:
- parsed ODataError object represented by the given InputStream
- Throws:
ODataDeserializerException
-