Package org.alfresco.repo.webdav
Class WebDAVProperty
java.lang.Object
org.alfresco.repo.webdav.WebDAVProperty
Class to represent a WebDAV property
- Author:
- gavinc
-
Constructor Summary
ConstructorsConstructorDescriptionWebDAVProperty
(String strName) Constructs a WebDAVProperty with the default namespace detailsWebDAVProperty
(String strName, String strNamespaceUri, String strNamespaceName) Constructs a WebDAVPropertyWebDAVProperty
(String strName, String strNamespaceUri, String strNamespaceName, String strValue) Constructs a WebDAVProperty -
Method Summary
Modifier and TypeMethodDescriptionorg.alfresco.service.namespace.QName
Creates QName of the propertygetName()
Returns the name of the propertyReturns the namespace name for this propertyReturns the namespace URI for this propertygetValue()
Returns the value of this propertyfinal boolean
Determine if the property has a namespaceboolean
Returns true if property is protected according to the WebDav specificationvoid
Sets the property's valuetoString()
Return the property as a string
-
Constructor Details
-
WebDAVProperty
public WebDAVProperty(String strName, String strNamespaceUri, String strNamespaceName, String strValue) Constructs a WebDAVProperty- Parameters:
strName
- StringstrNamespaceUri
- StringstrNamespaceName
- StringstrValue
- String
-
WebDAVProperty
Constructs a WebDAVProperty- Parameters:
strName
- StringstrNamespaceUri
- StringstrNamespaceName
- String
-
WebDAVProperty
Constructs a WebDAVProperty with the default namespace details- Parameters:
strName
- String
-
-
Method Details
-
getName
Returns the name of the property- Returns:
- The name of the property
-
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
Returns the namespace name for this property- Returns:
- The namespace name for this property
-
getValue
Returns the value of this property- Returns:
- The value of this property
-
setValue
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
Return the property as a string
-