org.odata4j.format.xml
Class XmlFormatWriter
java.lang.Object
org.odata4j.format.xml.XmlFormatWriter
- Direct Known Subclasses:
- AtomEntryFormatWriter, AtomFeedFormatWriter, AtomServiceDocumentFormatWriter, EdmxFormatWriter, XmlPropertyFormatWriter
public class XmlFormatWriter
- extends Object
Method Summary |
protected void |
writeElement(XMLWriter2 writer,
String elementName,
String elementText,
String... attributes)
|
protected String |
writeEntry(XMLWriter2 writer,
OEntity oe,
List<OProperty<?>> entityProperties,
List<OLink> entityLinks,
String entitySetName,
String baseUri,
String updated,
EdmEntitySet ees,
boolean isResponse)
|
protected void |
writeLinkInline(XMLWriter2 writer,
OLink linkToInline,
String href,
String baseUri,
String updated,
boolean isResponse)
|
protected void |
writeProperties(XMLWriter2 writer,
List<OProperty<?>> properties)
|
protected void |
writeProperty(XMLWriter2 writer,
OProperty<?> prop,
boolean isDocumentElement)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
app
protected static String app
atom
protected static String atom
atom_entry_content_type
public static final String atom_entry_content_type
- See Also:
- Constant Field Values
atom_feed_content_type
public static final String atom_feed_content_type
- See Also:
- Constant Field Values
d
protected static String d
edm
protected static String edm
edmx
protected static String edmx
m
protected static String m
related
public static final String related
- See Also:
- Constant Field Values
scheme
protected static final String scheme
- See Also:
- Constant Field Values
XmlFormatWriter
public XmlFormatWriter()
writeElement
protected void writeElement(XMLWriter2 writer,
String elementName,
String elementText,
String... attributes)
writeEntry
protected String writeEntry(XMLWriter2 writer,
OEntity oe,
List<OProperty<?>> entityProperties,
List<OLink> entityLinks,
String entitySetName,
String baseUri,
String updated,
EdmEntitySet ees,
boolean isResponse)
writeLinkInline
protected void writeLinkInline(XMLWriter2 writer,
OLink linkToInline,
String href,
String baseUri,
String updated,
boolean isResponse)
writeProperties
protected void writeProperties(XMLWriter2 writer,
List<OProperty<?>> properties)
writeProperty
protected void writeProperty(XMLWriter2 writer,
OProperty<?> prop,
boolean isDocumentElement)
http://odata4j.org