org.apache.jackrabbit.webdav.bind
Class UnbindInfo
java.lang.Object
org.apache.jackrabbit.webdav.bind.UnbindInfo
- All Implemented Interfaces:
- XmlSerializable
public class UnbindInfo
- extends Object
- implements XmlSerializable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnbindInfo
public UnbindInfo(String segment)
getSegment
public String getSegment()
createFromXml
public static UnbindInfo createFromXml(Element root)
throws DavException
- Build an
UnbindInfo object from the root element present
in the request body.
- Parameters:
root - the root element of the request body
- Returns:
- a UnbindInfo object containing a segment identifier
- Throws:
DavException - if the UNBIND request is malformed
toXml
public Element toXml(Document document)
- Description copied from interface:
XmlSerializable
- Returns the xml representation of the implementing object as
Element. The given Document is used
as factory and represents the owner document of the returned DOM element.
- Specified by:
toXml in interface XmlSerializable
- Parameters:
document - to be used as factory.
- Returns:
- a w3c element representing this object
- See Also:
XmlSerializable.toXml(org.w3c.dom.Document)
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.