public class UnbindInfo extends Object implements XmlSerializable
Constructor and Description |
---|
UnbindInfo(String segment) |
Modifier and Type | Method and Description |
---|---|
static UnbindInfo |
createFromXml(Element root)
Build an
UnbindInfo object from the root element present
in the request body. |
String |
getSegment() |
Element |
toXml(Document document)
Returns the xml representation of the implementing object as
Element . |
public UnbindInfo(String segment)
public String getSegment()
public static UnbindInfo createFromXml(Element root) throws DavException
UnbindInfo
object from the root element present
in the request body.root
- the root element of the request bodyDavException
- if the UNBIND request is malformedpublic Element toXml(Document document)
XmlSerializable
Element
. The given Document
is used
as factory and represents the owner document
of the returned DOM element.toXml
in interface XmlSerializable
document
- to be used as factory.XmlSerializable.toXml(org.w3c.dom.Document)
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.