public class DavMultiStatus extends Object
Constructor and Description |
---|
DavMultiStatus()
Builds empty map.
|
DavMultiStatus(Document doc)
Builds map from
Document containing a WebDAV
DAV:multistatus body. |
Modifier and Type | Method and Description |
---|---|
int |
addErrorElement(Document doc)
Add a DAV:error element describing the first error in the map.
|
int |
addMultiStatusBody(Document doc)
Add a DAV:multistatus body element describing the error map.
|
boolean |
containsKey(IUriReference uri)
Check whether information for the given URI reference is present.
|
DavStatus |
get(IUriReference uri)
Get status information for the given URI reference.
|
boolean |
isEmpty()
Check whether the map is empty.
|
void |
put(IUriReference uri,
DavStatus status)
A information about a specific URI reference to the map.
|
int |
size()
Return the size of the map.
|
public DavMultiStatus()
public DavMultiStatus(Document doc)
Document
containing a WebDAV
DAV:multistatus body.
Problems found in the document will be logged, but no exception will
be reported (in the worst case, an empty object is created).doc
- Document with document element DAV:multistatus.public boolean containsKey(IUriReference uri)
uri
- URI referencetrue
when information present.public DavStatus get(IUriReference uri)
uri
- URI referenceDavStatus
for this URI reference or null
.public boolean isEmpty()
true
is the map is empty.public void put(IUriReference uri, DavStatus status)
uri
- URI referencestatus
- status informationpublic int size()
public int addMultiStatusBody(Document doc)
doc
- the document to which the DAV:multistatus element will
be added as document element (must be empty)public int addErrorElement(Document doc)
doc
- the document to which the DAV:error element will
be added as document element (must be empty)Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice