public class RebindInfo extends java.lang.Object implements XmlSerializable
Constructor and Description |
---|
RebindInfo(java.lang.String href,
java.lang.String segment) |
Modifier and Type | Method and Description |
---|---|
static RebindInfo |
createFromXml(org.w3c.dom.Element root)
Build an
RebindInfo object from the root element present
in the request body. |
java.lang.String |
getHref() |
java.lang.String |
getSegment() |
org.w3c.dom.Element |
toXml(org.w3c.dom.Document document)
Returns the xml representation of the implementing object as
Element . |
public java.lang.String getHref()
public java.lang.String getSegment()
public static RebindInfo createFromXml(org.w3c.dom.Element root) throws DavException
RebindInfo
object from the root element present
in the request body.root
- the root element of the request bodyDavException
- if the REBIND request is malformedpublic org.w3c.dom.Element toXml(org.w3c.dom.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 © 2010 - 2020 Adobe. All Rights Reserved