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 boolean
equals(java.lang.Object obj)
org.jdom.Element
getElement()
Retrieve a new xml Element from this property using the current value as the element's text.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.org.jdom.Element
getElementEmpty()
Retrieve a new xml Element from this property without using the value.java.lang.String
getName()
org.jdom.Namespace
getNamespace()
java.lang.String
getQualifiedName()
java.lang.String
getValue()
int
hashCode()
java.lang.String
toString()
-
-
-
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:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in 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:
toString
in classjava.lang.Object
-
-