public class

AtomFeedFormatParser

extends XmlFormatParser
implements FormatParser<T>
java.lang.Object
   ↳ org.odata4j.format.xml.XmlFormatParser
     ↳ org.odata4j.format.xml.AtomFeedFormatParser

Summary

Nested Classes
class AtomFeedFormatParser.AtomFeed  
class AtomFeedFormatParser.DataServicesAtomEntry  
[Expand]
Inherited Constants
From class org.odata4j.format.xml.XmlFormatParser
Fields
private static final Pattern ENTITY_SET_NAME
protected OEntityKey entityKey
protected String entitySetName
protected FeedCustomizationMapping fcMapping
protected EdmDataServices metadata
[Expand]
Inherited Fields
From class org.odata4j.format.xml.XmlFormatParser
Public Constructors
AtomFeedFormatParser(EdmDataServices metadata, String entitySetName, OEntityKey entityKey, FeedCustomizationMapping fcMapping)
Public Methods
AtomFeedFormatParser.AtomFeed parse(Reader reader)
static OEntityKey parseEntityKey(String atomEntryId)
static String parseEntitySetName(String atomEntryId)
static Iterable<OProperty<?>> parseProperties(XMLEventReader2 reader, StartElement2 propertiesElement, EdmDataServices metadata)
[Expand]
Inherited Methods
From class org.odata4j.format.xml.XmlFormatParser
From class java.lang.Object
From interface org.odata4j.format.FormatParser

Fields

private static final Pattern ENTITY_SET_NAME

protected OEntityKey entityKey

protected String entitySetName

protected FeedCustomizationMapping fcMapping

protected EdmDataServices metadata

Public Constructors

public AtomFeedFormatParser (EdmDataServices metadata, String entitySetName, OEntityKey entityKey, FeedCustomizationMapping fcMapping)

Parameters
metadata
entitySetName
entityKey
fcMapping

Public Methods

public AtomFeedFormatParser.AtomFeed parse (Reader reader)

Parameters
reader

public static OEntityKey parseEntityKey (String atomEntryId)

Parameters
atomEntryId

public static String parseEntitySetName (String atomEntryId)

Parameters
atomEntryId

public static Iterable<OProperty<?>> parseProperties (XMLEventReader2 reader, StartElement2 propertiesElement, EdmDataServices metadata)

Parameters
reader
propertiesElement
metadata