|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RetrieveXMLView
RetrieveXMLView is used to retrieve document data in XML format inside a DocumentInformation object.
Example: Retrieve a document's contents in XML format
ViewSupport xmlViewSupport = ViewSupport.Factory.newInstance();
xmlViewSupport.setOutputFormat(OutputFormatType.XML);
xmlViewSupport.setViewType(ViewType.XML);
xmlViewSupport.setViewMode(ViewModeType.REPORT);
RetrieveXMLView retXMLView = RetrieveXMLView.Factory.newInstance();
retXMLView.setViewSupport(xmlViewSupport);
RetrieveData retBOData = RetrieveData.Factory.newInstance();
retBOData.setRetrieveView(retXMLView);
DocumentInformation docInfo = boRepEng.getDocumentInformation(strDocid, null, null, null, retBOData);
XMLView myBOView = (XMLView) docInfo.getView();
org.apache.xmlbeans.XmlString docContents = (org.apache.xmlbeans.XmlString)myBOView.getContent();
String xmlString = docContents.getStringValue();
TransportType,
BinaryView,
RetrieveView,
RetrieveBinaryView,
RetrieveCharacterView,
RetrieveXMLView,
RetrieveViewSupport,
RetrieveData,
DataProviderInfo,
RetrieveCurrentReportState,
RetrieveData,
RetrieveDataProvidersInfo,
RetrieveDrillInfo,
RetrieveMustFillInfo,
RetrieveNavigationMap,
RetrievePromptsInfo,
RetrieveQueryContext,
RetrieveReportList,
RetrieveViewSupport,
ReportEngine| Nested Class Summary | |
|---|---|
static class |
RetrieveXMLView.Factory
A class with methods for creating instances of the RetrieveXMLView type. |
| Field Summary | |
|---|---|
static org.apache.xmlbeans.SchemaType |
type
Internal Use Only. |
| Method Summary | |
|---|---|
TransportType.Enum |
getTransport()
Internal Use Only. |
java.lang.String |
getXPath()
Internal Use Only. |
boolean |
isNilXPath()
Checks if the XPath element is nil. |
boolean |
isSetTransport()
Checks if the Transport attribute is set. |
boolean |
isSetXPath()
Checks if the XPath element is set. |
void |
setNilXPath()
Sets the XPath element to nil. |
void |
setTransport(TransportType.Enum transport)
For future use. |
void |
setXPath(java.lang.String xPath)
Sets the XPath to filter the XML generated by the Web Services provider and retrieve only the parts required by a user. |
void |
unsetTransport()
Unsets the Transport attribute. |
void |
unsetXPath()
Unsets the XPath element. |
TransportType |
xgetTransport()
Internal Use Only. |
org.apache.xmlbeans.XmlString |
xgetXPath()
Internal Use Only. |
void |
xsetTransport(TransportType transport)
Internal Use Only. |
void |
xsetXPath(org.apache.xmlbeans.XmlString xPath)
Internal Use Only. |
| Field Detail |
|---|
static final org.apache.xmlbeans.SchemaType type
Internal Use Only.
| Method Detail |
|---|
java.lang.String getXPath()
Internal Use Only.
org.apache.xmlbeans.XmlString xgetXPath()
Internal Use Only.
boolean isNilXPath()
true if the XPath element is nil, otherwise falseboolean isSetXPath()
true if the XPath element is set, otherwise falsevoid setXPath(java.lang.String xPath)
xPath - the path used to filter the XML.void xsetXPath(org.apache.xmlbeans.XmlString xPath)
Internal Use Only.
void setNilXPath()
void unsetXPath()
TransportType.Enum getTransport()
Internal Use Only.
TransportType xgetTransport()
Internal Use Only.
boolean isSetTransport()
true if the Transport element is set, otherwise falsevoid setTransport(TransportType.Enum transport)
SOAPSTYLE is the only TransportType that
can be used. This is also the default value.
transport - the type used to transport data.TransportTypevoid xsetTransport(TransportType transport)
Internal Use Only.
void unsetTransport()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||