Class WebDAVProperty

java.lang.Object
org.alfresco.repo.webdav.WebDAVProperty

public class WebDAVProperty extends Object
Class to represent a WebDAV property
Author:
gavinc
  • Constructor Details

    • WebDAVProperty

      public WebDAVProperty(String strName, String strNamespaceUri, String strNamespaceName, String strValue)
      Constructs a WebDAVProperty
      Parameters:
      strName - String
      strNamespaceUri - String
      strNamespaceName - String
      strValue - String
    • WebDAVProperty

      public WebDAVProperty(String strName, String strNamespaceUri, String strNamespaceName)
      Constructs a WebDAVProperty
      Parameters:
      strName - String
      strNamespaceUri - String
      strNamespaceName - String
    • WebDAVProperty

      public WebDAVProperty(String strName)
      Constructs a WebDAVProperty with the default namespace details
      Parameters:
      strName - String
  • Method Details

    • getName

      public String getName()
      Returns the name of the property
      Returns:
      The name of the property
    • getNamespaceUri

      public String getNamespaceUri()
      Returns the namespace URI for this property
      Returns:
      The namespace URI for this property
    • hasNamespaceName

      public final boolean hasNamespaceName()
      Determine if the property has a namespace
      Returns:
      boolean
    • getNamespaceName

      public String getNamespaceName()
      Returns the namespace name for this property
      Returns:
      The namespace name for this property
    • getValue

      public String getValue()
      Returns the value of this property
      Returns:
      The value of this property
    • setValue

      public void setValue(String strValue)
      Sets the property's value
      Parameters:
      strValue - The new value
    • createQName

      public org.alfresco.service.namespace.QName createQName()
      Creates QName of the property
      Returns:
      QName
    • isProtected

      public boolean isProtected()
      Returns true if property is protected according to the WebDav specification
      Returns:
      boolean
    • toString

      public String toString()
      Return the property as a string
      Overrides:
      toString in class Object
      Returns:
      String