org.odata4j.format.xml
Class XmlFormatWriter

java.lang.Object
  extended by org.odata4j.format.xml.XmlFormatWriter
Direct Known Subclasses:
AtomCollectionFormatWriter, AtomComplexFormatWriter, AtomEntryFormatWriter, AtomErrorFormatWriter, AtomFeedFormatWriter, AtomServiceDocumentFormatWriter, AtomSimpleFormatWriter, AtomSingleLinkFormatWriter, EdmxFormatWriter, XmlPropertyFormatWriter

public class XmlFormatWriter
extends Object


Field Summary
protected static String app
           
protected static String atom
           
static String atom_entry_content_type
           
static String atom_feed_content_type
           
protected static String d
           
protected static String edm
           
protected static String edmx
           
protected static String m
           
static String related
           
protected static String scheme
           
 
Constructor Summary
XmlFormatWriter()
           
 
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 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)
           
protected  void writeProperty(XMLWriter2 writer, String name, EdmType type, Object value, boolean isDocumentElement, boolean writeType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

app

protected static final String app
See Also:
Constant Field Values

atom

protected static final String atom
See Also:
Constant Field Values

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 final String d
See Also:
Constant Field Values

edm

protected static final String edm
See Also:
Constant Field Values

edmx

protected static final String edmx
See Also:
Constant Field Values

m

protected static final String m
See Also:
Constant Field Values

related

public static final String related
See Also:
Constant Field Values

scheme

protected static final String scheme
See Also:
Constant Field Values
Constructor Detail

XmlFormatWriter

public XmlFormatWriter()
Method Detail

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 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)

writeProperty

protected void writeProperty(XMLWriter2 writer,
                             String name,
                             EdmType type,
                             Object value,
                             boolean isDocumentElement,
                             boolean writeType)


http://odata4j.org