public final class Property extends Object
Constructor and Description |
---|
Property(String namespace,
String name,
String value)
Deprecated.
Use create or createRaw methods instead.
|
Modifier and Type | Method and Description |
---|---|
static Property |
create(String namespace,
String name,
String value)
Creates a WebDAV property.
|
static Property |
createRaw(String namespace,
String name,
String xmlValueRaw)
Creates a WebDAV property with value set to raw XML string.
|
String |
getName()
Name of the property.
|
String |
getNamespace()
Namespace of the property.
|
String |
getValue()
Value of the property.
|
String |
getXmlValueRaw()
Gets raw XML property value.
|
void |
setValue(String value)
Sets value of the property.
|
void |
setXmlValueRaw(String xmlValueRaw)
Sets raw XML property value.
|
@Deprecated public Property(String namespace, String name, String value)
namespace
- Namespace.name
- Name.value
- Value.public static Property create(String namespace, String name, String value)
namespace
- Property namespace.name
- Property name.value
- Property value.public static Property createRaw(String namespace, String name, String xmlValueRaw)
namespace
- Property namespace.name
- Property name.xmlValueRaw
- Unencoded raw XML property value.public String getName()
public String getNamespace()
public String getValue()
public void setValue(String value)
value
- Value of the property.public void setXmlValueRaw(String xmlValueRaw)
xmlValueRaw
- Unencoded XML string.public String getXmlValueRaw()
Copyright © ITHit. All Rights Reserved.