| 
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.4.0) E10653-05  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.adf.model.adapter.dataformat.XMLContentHandler
public class XMLContentHandler
The XMLContentHandler class generates XML content from the given 
 input object. The writeContent is the only method 
 exposed to the other classes that can be called to generate the XML.
 
 Currently the writeContent method expectes the input Object
  to be an instance of Map, which inturn can contain 
 Map or List or primitive datatype as values.
 This method uses two additional helper methods writeMap and
 writeList, which converts the Map and
 List content to XML format.
| Field Summary | |
|---|---|
static java.lang.String | 
ROOT_ELEMENT
 | 
| Constructor Summary | |
|---|---|
XMLContentHandler()
Construct a new XMLContentHandler object.  | 
|
| Method Summary | |
|---|---|
 void | 
writeContent(java.util.Map properties,
             java.lang.Object inputObject,
             java.io.OutputStream outStream)
Convert the content of the input object to XML format  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final java.lang.String ROOT_ELEMENT
| Constructor Detail | 
|---|
public XMLContentHandler()
| Method Detail | 
|---|
public void writeContent(java.util.Map properties,
                         java.lang.Object inputObject,
                         java.io.OutputStream outStream)
writeContent in interface InputContentHandlerproperties - Specifies any additional details required to convert the 
                   input to XML - currently,the RootElement of the XML 
                   document to be generated.inputObject - The input object whose contents need to be represented as XMLos - The XML conent generated will be written to the stream 
             represented by this parameter.
  | 
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.4.0) E10653-05  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||