Class XmlEntryDeserializer


  • public class XmlEntryDeserializer
    extends Object
    Atom/XML format reader/consumer for entries. XmlEntryDeserializer instance can be reused for several #readEntry(XMLStreamReader, EntityInfoAggregator, EntityProviderReadProperties) calls but be aware that the instance and their readEntry* methods are NOT THREAD SAFE.
    • Constructor Detail

      • XmlEntryDeserializer

        public XmlEntryDeserializer()
    • Method Detail

      • readEntry

        public org.apache.olingo.odata2.api.ep.entry.ODataEntry readEntry​(XMLStreamReader reader,
                                                                          EntityInfoAggregator eia,
                                                                          DeserializerProperties readProperties,
                                                                          boolean isInline)
                                                                   throws org.apache.olingo.odata2.api.ep.EntityProviderException
        Deserializes payload entry
        Parameters:
        reader - XMLStreamReader
        eia - EntityInfoAggregator
        readProperties - DeserializerProperties
        isInline - boolean
        Returns:
        ODataEntry
        Throws:
        org.apache.olingo.odata2.api.ep.EntityProviderException - Caso ocorra exceção