public class LatestActivityVersionReport extends AbstractReport
LatestActivityVersionReport
is applied to a version history to
identify the latest version that is selected from that version history by a
given activity.Modifier and Type | Field and Description |
---|---|
static ReportType |
LATEST_ACTIVITY_VERSION |
Constructor and Description |
---|
LatestActivityVersionReport() |
Modifier and Type | Method and Description |
---|---|
ReportType |
getType()
Returns
LATEST_ACTIVITY_VERSION . |
void |
init(DavResource resource,
ReportInfo info)
Check all the preconditions for this report.
|
boolean |
isMultiStatusReport()
Always returns
false . |
Element |
toXml(Document document)
Returns the xml representation of the implementing object as
Element . |
normalizeResourceHref
public static final ReportType LATEST_ACTIVITY_VERSION
public ReportType getType()
LATEST_ACTIVITY_VERSION
.Report.getType()
public boolean isMultiStatusReport()
false
.Report.isMultiStatusReport()
public void init(DavResource resource, ReportInfo info) throws DavException
DavException
- if a precondition is not met.Report.init(DavResource, ReportInfo)
public Element toXml(Document document)
XmlSerializable
Element
. The given Document
is used
as factory and represents the owner document
of the returned DOM element.document
- to be used as factory.XmlSerializable.toXml(Document)
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.