Class 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()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • 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)
    • 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 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