public class WebDAVProperty extends Object
Constructor and Description |
---|
WebDAVProperty(String strName)
Constructs a WebDAVProperty with the default namespace details
|
WebDAVProperty(String strName,
String strNamespaceUri,
String strNamespaceName)
Constructs a WebDAVProperty
|
WebDAVProperty(String strName,
String strNamespaceUri,
String strNamespaceName,
String strValue)
Constructs a WebDAVProperty
|
Modifier and Type | Method and Description |
---|---|
org.alfresco.service.namespace.QName |
createQName()
Creates QName of the property
|
String |
getName()
Returns the name of the property
|
String |
getNamespaceName()
Returns the namespace name for this property
|
String |
getNamespaceUri()
Returns the namespace URI for this property
|
String |
getValue()
Returns the value of this property
|
boolean |
hasNamespaceName()
Determine if the property has a namespace
|
boolean |
isProtected()
Returns true if property is protected according to the WebDav specification
|
void |
setValue(String strValue)
Sets the property's value
|
String |
toString()
Return the property as a string
|
public WebDAVProperty(String strName, String strNamespaceUri, String strNamespaceName, String strValue)
strName
- StringstrNamespaceUri
- StringstrNamespaceName
- StringstrValue
- Stringpublic WebDAVProperty(String strName, String strNamespaceUri, String strNamespaceName)
strName
- StringstrNamespaceUri
- StringstrNamespaceName
- Stringpublic WebDAVProperty(String strName)
strName
- Stringpublic String getName()
public String getNamespaceUri()
public final boolean hasNamespaceName()
public String getNamespaceName()
public String getValue()
public void setValue(String strValue)
strValue
- The new valuepublic org.alfresco.service.namespace.QName createQName()
public boolean isProtected()
Copyright © 2005–2017 Alfresco Software. All rights reserved.