|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.businessobjects.dsws.reportengine.View
com.businessobjects.dsws.reportengine.XMLView
XMLView is a container class for XML document output.
Example: Retrieve a document report in XML format
ViewSupport pdfViewSupport = new ViewSupport();
xmlViewSupport.setOutputFormat(OutputFormatType.XML);
xmlViewSupport.setViewType(ViewType.XML);
xmlViewSupport.setViewMode(ViewModeType.REPORT);
RetrieveXMLView retXMLView = new RetrieveXMLView();
retXMLView.setViewSupport(xmlViewSupport);
RetrieveData retBOData = new RetrieveData();
retBOData.setRetrieveView(retXMLView);
DocumentInformation docInfo = boReportEngine.getDocumentInformation(struid, null, null, null, retBOData);
XMLView myBOView = (XMLView) boDocInfo.getView();
String docContents = (String) myBOView.getContent();
ReportEngine,
BinaryView,
CharacterView,
XMLView,
ViewSupport,
ViewModeType,
RetrieveData,
RetrieveView,
OutputFormatType,
DocumentInformation,
Serialized Form| Constructor Summary | |
XMLView()
Instantiate a new blank XMLView object. |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Internal Use Only. |
java.lang.Object |
getContent()
Return the document's content in XML format. |
static org.apache.axis.encoding.Deserializer |
getDeserializer(java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType)
Internal Use Only. |
java.lang.String |
getMimeType()
Return the document mime type. |
static org.apache.axis.encoding.Serializer |
getSerializer(java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType)
Internal Use Only. |
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Internal Use Only. |
int |
hashCode()
Internal Use Only. |
void |
setContent(java.lang.Object content)
Internal Use Only. |
void |
setMimeType(java.lang.String mimeType)
Internal Use Only. |
| Methods inherited from class com.businessobjects.dsws.reportengine.View |
getChunkSize, getContentLength, getReportPart, getReportPart, getViewSupport, isLastChunk, setChunkSize, setContentLength, setLastChunk, setReportPart, setReportPart, setViewSupport |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XMLView()
here.
XMLView| Method Detail |
public java.lang.Object getContent()
public void setContent(java.lang.Object content)
Internal Use Only.
public java.lang.String getMimeType()
For a list of possible mime types, see
getMimeType.
public void setMimeType(java.lang.String mimeType)
Internal Use Only.
public boolean equals(java.lang.Object obj)
Internal Use Only.
equals in class Viewpublic int hashCode()
Internal Use Only.
hashCode in class Viewpublic static org.apache.axis.description.TypeDesc getTypeDesc()
Internal Use Only.
public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType)
Internal Use Only.
public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType)
Internal Use Only.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||