Class BindInfo
- java.lang.Object
- 
- org.apache.jackrabbit.webdav.bind.BindInfo
 
- 
- All Implemented Interfaces:
- XmlSerializable
 
 public class BindInfo extends Object implements XmlSerializable 
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BindInfocreateFromXml(Element root)Build anBindInfoobject from the root element present in the request body.StringgetHref()StringgetSegment()ElementtoXml(Document document)Returns the xml representation of the implementing object asElement.
 
- 
- 
- 
Method Detail- 
getHrefpublic String getHref() 
 - 
getSegmentpublic String getSegment() 
 - 
createFromXmlpublic static BindInfo createFromXml(Element root) throws DavException Build anBindInfoobject from the root element present in the request body.- Parameters:
- root- the root element of the request body
- Returns:
- a BindInfo object containing segment and href
- Throws:
- DavException- if the BIND request is malformed
 
 - 
toXmlpublic Element toXml(Document document) Description copied from interface:XmlSerializableReturns the xml representation of the implementing object asElement. The givenDocumentis used as factory and represents theowner documentof the returned DOM element.- Specified by:
- toXmlin interface- XmlSerializable
- Parameters:
- document- to be used as factory.
- Returns:
- a w3c element representing this object
- See Also:
- XmlSerializable.toXml(org.w3c.dom.Document)
 
 
- 
 
-