Business Components

oracle.jbo
Interface XMLInterface

All Known Subinterfaces:
Entity, Row, RowSet, ViewObject
All Known Implementing Classes:
oracle.jbo.server.RowSetImpl

public interface XMLInterface


Field Summary
static long XML_OPT_CHANGES_ONLY
           
static long XML_OPT_LIMIT_RANGE
           
 
Method Summary
 void readXML(org.w3c.dom.Element elem, int depthCount)
           
 void readXML(org.w3c.dom.Element elem, int depthCount, oracle.xml.parser.v2.XSLStylesheet xslt)
           
 org.w3c.dom.Node writeXML(int depthCount, long options)
          Renders data in a canonical XML-format.
 org.w3c.dom.Node writeXML(int depthCount, long options, oracle.xml.parser.v2.XSLStylesheet xslt)
           
 

Field Detail

XML_OPT_LIMIT_RANGE

public static final long XML_OPT_LIMIT_RANGE

XML_OPT_CHANGES_ONLY

public static final long XML_OPT_CHANGES_ONLY
Method Detail

writeXML

public org.w3c.dom.Node writeXML(int depthCount,
                                 long options)
Renders data in a canonical XML-format. The classes ViewObjectImpl and ViewRowImpl implement this method to render data in XML.

Use this method whenever data is required in XML format, either to present a UI (after converting XML data into some HTTP format using a stylesheet) or to pass the data as payload for messages via JMS.

The depthcount parameter represents to what level the rendering should recurse. A depthcount of zero (0) means do not traverse any View Links while rendering. One (1) means traverse the View Links on this object but no View Links thereafter, and so on.

The options parameter represents a set of bit flags that will control the writeXML behavior. The following bit flags have been defined:

Parameters:
depthCount - represents to what level the rendering should recurse.
options - a set of bit flags that will control the writeXML behavior.

writeXML

public org.w3c.dom.Node writeXML(int depthCount,
                                 long options,
                                 oracle.xml.parser.v2.XSLStylesheet xslt)

readXML

public void readXML(org.w3c.dom.Element elem,
                    int depthCount)

readXML

public void readXML(org.w3c.dom.Element elem,
                    int depthCount,
                    oracle.xml.parser.v2.XSLStylesheet xslt)

Business Components