|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.webdav.property.AbstractDavProperty<Set<ReportType>>
org.apache.jackrabbit.webdav.version.report.SupportedReportSetProperty
public class SupportedReportSetProperty
SupportedReportSetProperty represents the DAV:supported-report-set
property defined by RFC 3253. It identifies the reports that are supported by
the given resource.
<!ELEMENT supported-report-set (supported-report*)> <!ELEMENT supported-report report> <!ELEMENT report ANY> ANY value: a report element type
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
SupportedReportSetProperty()
Create a new empty SupportedReportSetProperty. |
|
SupportedReportSetProperty(ReportType[] reportTypes)
Create a new SupportedReportSetProperty property. |
|
| Method Summary | |
|---|---|
void |
addReportType(ReportType reportType)
Add an additional report type to this property's value. |
Set<ReportType> |
getValue()
Returns a set of report types. |
boolean |
isSupportedReport(ReportInfo reqInfo)
Returns true if the report type indicated in the specified RequestInfo
object is included in the supported reports. |
Element |
toXml(Document document)
Returns the Xml representation of this property. |
| Methods inherited from class org.apache.jackrabbit.webdav.property.AbstractDavProperty |
|---|
equals, getName, hashCode, isInvisibleInAllprop |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SupportedReportSetProperty()
SupportedReportSetProperty.
public SupportedReportSetProperty(ReportType[] reportTypes)
SupportedReportSetProperty property.
reportTypes - that are supported by the resource having this property.| Method Detail |
|---|
public void addReportType(ReportType reportType)
reportType - public boolean isSupportedReport(ReportInfo reqInfo)
RequestInfo
object is included in the supported reports.
reqInfo -
public Set<ReportType> getValue()
ReportType.DavProperty.getValue()public Element toXml(Document document)
toXml in interface XmlSerializabletoXml in class AbstractDavProperty<Set<ReportType>>document -
XmlSerializable.toXml(Document)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||