|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface XMLView
The XMLView interface provides an XML output format encapsulation.
The XML view helps the user parse a XML style sheet and transformation parameters to the internal XSLT engine or retrieve the XML stream without any transformation.
| Field Summary | |
|---|---|
static int |
ALL
Return all the elements |
static int |
CONTENT
Return the report output content (binary graph - default) |
static int |
DATACENTRIC
Returns the raw data for every report element |
static int |
GRAPH_AS_BINARY
Return the graph as binary |
static int |
GRAPH_AS_DESCRIPTION
Return a description of the graph |
static int |
META_DATA
Return the metadata of the report |
static int |
QUERIES
Return the document queries |
| Method Summary | |
|---|---|
void |
clearParameters()
Clear all transformation parameters. |
java.lang.Object |
getParameter(java.lang.String name)
Return the value of transformation parameter "name". |
java.io.Reader |
getReader()
Return the XML report output as an XML stream. |
java.io.Reader |
getReader(java.net.URL xsl)
Return the result of the XSL transformation applied to the XML report output stream. |
void |
getUTF8Content(java.io.OutputStream out)
Gets the UTF8 content. |
void |
setParameter(java.lang.String name,
java.lang.Object value)
Set a parameter for any XSLT transformation. |
| Methods inherited from interface com.businessobjects.rebean.wi.CharacterView |
|---|
getContent, getEncoding, getStream |
| Field Detail |
|---|
static final int ALL
static final int META_DATA
static final int QUERIES
static final int CONTENT
static final int GRAPH_AS_BINARY
static final int GRAPH_AS_DESCRIPTION
static final int DATACENTRIC
| Method Detail |
|---|
void setParameter(java.lang.String name,
java.lang.Object value)
parameters are used to configure an internal XSLT engine,
see OutputKeys class to know wich value can be set.
name - Name of the parameter to be setvalue - parameter valuejava.lang.Object getParameter(java.lang.String name)
name - The name of the parameter whose value is to be retrievedXMLView.setParameter(String, Object)void clearParameters()
XMLView.setParameter(String, Object)void getUTF8Content(java.io.OutputStream out)
out - The OutputStream
java.io.Reader getReader()
throws REException
REException
java.io.Reader getReader(java.net.URL xsl)
throws REException
xsl - URL to an XSL file used to transform report XML.
REExceptionXMLView.getReader()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||