Package com.jalios.jcms.webdav
Class WebdavProperty
- java.lang.Object
 - 
- com.jalios.jcms.webdav.WebdavProperty
 
 
- 
public class WebdavProperty extends java.lang.Object 
- 
- 
Constructor Summary
Constructors Constructor Description WebdavProperty(org.jdom.Namespace namespace, java.lang.String name)WebdavProperty(org.jdom.Namespace namespace, java.lang.String name, java.lang.String value) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)org.jdom.ElementgetElement()Retrieve a new xml Element from this property using the current value as the element's text.org.jdom.ElementgetElement(java.lang.String value)Retrieve a new xml Element from this property but use the specified value instead of using this property's value.org.jdom.ElementgetElementEmpty()Retrieve a new xml Element from this property without using the value.java.lang.StringgetName()org.jdom.NamespacegetNamespace()java.lang.StringgetQualifiedName()java.lang.StringgetValue()inthashCode()java.lang.StringtoString() 
 - 
 
- 
- 
Method Detail
- 
getQualifiedName
public java.lang.String getQualifiedName()
 
- 
getName
public java.lang.String getName()
 
- 
getNamespace
public org.jdom.Namespace getNamespace()
 
- 
getValue
public java.lang.String getValue()
 
- 
hashCode
public int hashCode()
- Overrides:
 hashCodein classjava.lang.Object
 
- 
equals
public boolean equals(java.lang.Object obj)
- Overrides:
 equalsin classjava.lang.Object
 
- 
getElement
public org.jdom.Element getElement()
Retrieve a new xml Element from this property using the current value as the element's text.- Returns:
 - a new Element
 
 
- 
getElementEmpty
public org.jdom.Element getElementEmpty()
Retrieve a new xml Element from this property without using the value.- Returns:
 - a new Element
 
 
- 
getElement
public org.jdom.Element getElement(java.lang.String value)
Retrieve a new xml Element from this property but use the specified value instead of using this property's value.- Parameters:
 value- the value to use as the text of the returned element, if null, no text is specified- Returns:
 - a new Element
 
 
- 
toString
public java.lang.String toString()
- Overrides:
 toStringin classjava.lang.Object
 
 - 
 
 -