|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.slide.common.PropertyName
This class is a container for the name and namespace of a property.
| Field Summary | |
static PropertyName |
CONTENT_LANGUAGE
|
static PropertyName |
CONTENT_LENGTH
|
static PropertyName |
CONTENT_TYPE
|
static PropertyName |
CREATION_DATE
|
static PropertyName |
CREATION_USER
|
static PropertyName |
DISPLAY_NAME
|
static PropertyName |
ETAG
|
static PropertyName |
LAST_MODIFIED
|
static PropertyName |
MODIFICATION_DATE
|
static PropertyName |
MODIFICATION_USER
|
protected java.lang.String |
name
The name of the Property. |
protected java.lang.String |
namespace
The namespace of the Property. |
static PropertyName |
OWNER
|
static PropertyName |
REDIRECT_LIFETIME
|
static PropertyName |
REFTARGET
|
static PropertyName |
RESOURCE_TYPE
|
static PropertyName |
SOURCE
|
| Constructor Summary | |
PropertyName(java.lang.String name)
Deprecated. use getPropertyName(String, String) |
|
PropertyName(java.lang.String name,
java.lang.String namespace)
Deprecated. use getPropertyName(String, String) |
|
| Method Summary | |
boolean |
equals(java.lang.Object other)
Returns true if other is a PropertyName
and the name and namespace are equal to this intance' name and namespace. |
java.lang.String |
getName()
Returns the name of the property. |
java.lang.String |
getNamespace()
Returns the namespace of the property. |
static PropertyName |
getPropertyName(java.lang.String name)
Factory method. |
static PropertyName |
getPropertyName(java.lang.String name,
java.lang.String namespace)
Factory method. |
int |
hashCode()
Returns the hash code of this instance. |
java.lang.String |
toString()
Returns a String representation of the PropertyName. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final PropertyName CONTENT_LANGUAGE
public static final PropertyName CONTENT_LENGTH
public static final PropertyName CONTENT_TYPE
public static final PropertyName CREATION_DATE
public static final PropertyName CREATION_USER
public static final PropertyName DISPLAY_NAME
public static final PropertyName ETAG
public static final PropertyName LAST_MODIFIED
public static final PropertyName MODIFICATION_DATE
public static final PropertyName MODIFICATION_USER
public static final PropertyName OWNER
public static final PropertyName RESOURCE_TYPE
public static final PropertyName SOURCE
public static final PropertyName REDIRECT_LIFETIME
public static final PropertyName REFTARGET
protected java.lang.String name
protected java.lang.String namespace
| Constructor Detail |
public PropertyName(java.lang.String name)
getPropertyName(String, String)
default namespace.
name - the name of the Property.
public PropertyName(java.lang.String name,
java.lang.String namespace)
getPropertyName(String, String)
name - the name of the Property.namespace - the namespace of the Property.| Method Detail |
public static PropertyName getPropertyName(java.lang.String name,
java.lang.String namespace)
name - the properties namenamespace - the properties namespace
public static PropertyName getPropertyName(java.lang.String name)
DAV: namespace.
name - the properties name
public java.lang.String getName()
public java.lang.String getNamespace()
public boolean equals(java.lang.Object other)
true if other is a PropertyName
and the name and namespace are equal to this intance' name and namespace.
other - the Object to test for equality.
true if the object is equal to this one.public int hashCode()
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||