|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Report
interface defines METHODS needed in order to respond
to a REPORT request. The REPORT method is a required feature to all
DeltaV resources.
DeltaVResource.getReport(ReportInfo)
Method Summary | |
ReportType |
getType()
Returns the registered type of this report. |
void |
setInfo(ReportInfo info)
Set the ReportInfo as specified by the REPORT request body,
that defines the details for this report. |
void |
setResource(DeltaVResource resource)
Set the DeltaVResource for which this report was requested. |
org.jdom.Document |
toXml()
Returns the report Xml document defined by the this
ReportType . |
Method Detail |
public ReportType getType()
public void setResource(DeltaVResource resource)
DeltaVResource
for which this report was requested.
resource
- public void setInfo(ReportInfo info)
ReportInfo
as specified by the REPORT request body,
that defines the details for this report.
info
- providing in detail requirements for this report.public org.jdom.Document toXml() throws DavException
Xml document
defined by the this
ReportType
. The document will be returned in the response
body.
Document
object representing the generated report
in the proper format.
DavException
- if an error occurs while running the report or
creating the Document
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |