|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.6.0) E10653-07 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.adfinternal.model.adapter.webservice.DataFormat
public class DataFormat
DataFormat defines the format of the SOAP
response contents.
The repsonse envelope though in XML format can actually contain different
data in the body. The content of the body could be a CSV stream or
HTML content
Field Summary | |
---|---|
static java.lang.String |
DELIMITER
Delimiter character for CSV data |
static java.lang.String |
ENC_STYLE
Encoding style for CSV format |
static java.lang.String |
FORMAT_CSV
CSV format |
static java.lang.String |
FORMAT_XML
XML format |
static java.lang.String |
IS_FIRST_ROW_NAMES
does the first row of CSV stream denote column names |
static java.lang.String |
QUOTE_CHAR
Quote character for CSV data |
static java.lang.String |
TRANS_LOC
XSL Location for XML format |
static java.lang.String |
TRANS_RESULT
|
Constructor Summary | |
---|---|
DataFormat(java.lang.String format)
Instantiate this DataFormat. |
|
DataFormat(java.lang.String format,
java.util.Map formatProps)
Instantiate this DataFormat |
Method Summary | |
---|---|
void |
addProperty(java.lang.String propName,
java.lang.Object propVal)
Add a property to this DataFormat |
void |
addProperty(java.lang.String propName,
java.lang.String propVal)
Add a property to this DataFormat |
java.lang.String |
getFormat()
Get the format represented by this Data Format |
java.util.Map |
getProperties()
Get all the properties associated with this DataFormat |
java.lang.Object |
getProperty(java.lang.String propName)
Get the specified property for this DataFormat |
java.lang.Object |
processData(java.lang.Object source,
java.lang.Object referenceRoot,
java.lang.String returnType)
Process the data based on the handler properties this data format encapsulates. |
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 FORMAT_XML
public static final java.lang.String FORMAT_CSV
public static final java.lang.String ENC_STYLE
public static final java.lang.String IS_FIRST_ROW_NAMES
public static final java.lang.String DELIMITER
public static final java.lang.String QUOTE_CHAR
public static final java.lang.String TRANS_LOC
public static final java.lang.String TRANS_RESULT
Constructor Detail |
---|
public DataFormat(java.lang.String format)
format
- The data format value for this DataFormatpublic DataFormat(java.lang.String format, java.util.Map formatProps)
format
- The data format value for this DataFormat.formatProps
- The properties for this data formatMethod Detail |
---|
public void addProperty(java.lang.String propName, java.lang.String propVal)
propName
- The Name of this propertypropVal
- The property Valuepublic void addProperty(java.lang.String propName, java.lang.Object propVal)
propName
- The Name of this propertypropVal
- The property Valuepublic java.lang.String getFormat()
public java.lang.Object getProperty(java.lang.String propName)
propName
- the Property to be queriedpublic java.util.Map getProperties()
Map
of all the properties for this
DataFormat.public java.lang.Object processData(java.lang.Object source, java.lang.Object referenceRoot, java.lang.String returnType) throws java.lang.Exception
source
- The raw data to be processed.
FormatDataHandler
.
java.lang.Exception
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.6.0) E10653-07 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |