com.jalios.jcms.webdav
Class WebdavProperty
java.lang.Object
com.jalios.jcms.webdav.WebdavProperty
public class WebdavProperty
- extends java.lang.Object
|
Constructor Summary |
WebdavProperty(org.jdom.Namespace namespace,
java.lang.String name)
|
WebdavProperty(org.jdom.Namespace namespace,
java.lang.String name,
java.lang.String value)
|
|
Method Summary |
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()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
WebdavProperty
public WebdavProperty(org.jdom.Namespace namespace,
java.lang.String name)
WebdavProperty
public WebdavProperty(org.jdom.Namespace namespace,
java.lang.String name,
java.lang.String value)
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 class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.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 class java.lang.Object
Copyright © 2001-2010 Jalios SA. All Rights Reserved.