org.apache.jackrabbit.webdav.version
Class OptionsResponse
java.lang.Object
org.apache.jackrabbit.webdav.version.OptionsResponse
- All Implemented Interfaces:
- DeltaVConstants
- public class OptionsResponse
- extends Object
- implements DeltaVConstants
OptionsResponse
encapsulates the DAV:options-response element
present in the response body of a successful OPTIONS request (with body).
The DAV:options-response element is defined to have the following format.
<!ELEMENT options-response ANY>
ANY value: A sequence of elements
Fields inherited from interface org.apache.jackrabbit.webdav.version.DeltaVConstants |
ATTR_NAME, ATTR_NAMESPACE, COMMENT, CREATOR_DISPLAYNAME, HEADER_LABEL, HEADER_LOCATION, NAMESPACE, SUPPORTED_LIVE_PROPERTY_SET, SUPPORTED_METHOD_SET, SUPPORTED_REPORT_SET, WORKSPACE, XML_ACTIVITY, XML_ACTIVITY_COLLECTION_SET, XML_BASELINE, XML_CHECKOUT, XML_CHECKOUT_CHECKIN, XML_CHECKOUT_UNLOCK_CHECKIN, XML_EXPAND_PROPERTY, XML_LABEL, XML_LABEL_ADD, XML_LABEL_NAME, XML_LABEL_REMOVE, XML_LABEL_SET, XML_LOCATE_BY_HISTORY, XML_LOCKED_CHECKIN, XML_MERGE, XML_N0_AUTO_MERGE, XML_N0_CHECKOUT, XML_OPTIONS, XML_OPTIONS_RESPONSE, XML_PROPERTY, XML_REPORT, XML_SUPPORTED_METHOD, XML_SUPPORTED_REPORT, XML_UPDATE, XML_VERSION, XML_VERSION_HISTORY, XML_VERSION_HISTORY_SET, XML_VERSION_TREE, XML_VH_COLLECTION_SET, XML_WORKSPACE, XML_WSP_COLLECTION_SET |
Method Summary |
void |
addEntry(org.jdom.Element elem)
Add a new entry to this OptionsResponse |
void |
addEntry(String name,
org.jdom.Namespace namespace,
String[] hrefs)
Add a new entry to this OptionsResponse and make each
href present in the String array being a separate DAV:href
element within the entry. |
org.jdom.Document |
toXml()
Return the Xml representation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OptionsResponse
public OptionsResponse()
addEntry
public void addEntry(org.jdom.Element elem)
- Add a new entry to this
OptionsResponse
- Parameters:
elem
-
addEntry
public void addEntry(String name,
org.jdom.Namespace namespace,
String[] hrefs)
- Add a new entry to this
OptionsResponse
and make each
href present in the String array being a separate DAV:href
element within the entry.
- Parameters:
name
- namespace
- hrefs
-
toXml
public org.jdom.Document toXml()
- Return the Xml representation.
- Returns:
- Xml representation.
Copyright © 2005 . All Rights Reserved.