com.jalios.jcms.webdav
Class WebdavProperty

java.lang.Object
  extended by com.jalios.jcms.webdav.WebdavProperty

public class WebdavProperty
extends Object


Constructor Summary
WebdavProperty(org.jdom.Namespace namespace, String name)
           
WebdavProperty(org.jdom.Namespace namespace, String name, String value)
           
 
Method Summary
 boolean equals(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(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.
 String getName()
           
 org.jdom.Namespace getNamespace()
           
 String getQualifiedName()
           
 String getValue()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebdavProperty

public WebdavProperty(org.jdom.Namespace namespace,
                      String name)

WebdavProperty

public WebdavProperty(org.jdom.Namespace namespace,
                      String name,
                      String value)
Method Detail

getQualifiedName

public String getQualifiedName()

getName

public String getName()

getNamespace

public org.jdom.Namespace getNamespace()

getValue

public String getValue()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class 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(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 String toString()
Overrides:
toString in class Object


Copyright © 2001-2010 Jalios SA. All Rights Reserved.