|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.services.webdav.PropertyName
@SASScope(value="ALL") @BinaryCompatibilityOnly public class PropertyName
This class represents a qualified property name. A name consists of three parts, the local name, the prefix and the name space. This corresponds to the information in an XML element that represents the property's name.
e.g.
| Field Summary | |
|---|---|
static PropertyName |
DAV_ACL_PN
|
static PropertyName |
DAV_RESOURCETYPE_PN
|
| Constructor Summary | |
|---|---|
PropertyName(org.apache.jackrabbit.webdav.property.DavProperty<?> davProperty)
Constructs a PropertyName from a DavProperty. |
|
PropertyName(org.w3c.dom.Element propElement)
Construct a PropertyName from an XML element that represents the property. |
|
PropertyName(java.lang.String name)
Construct a PropertyName from a string representing the property name. |
|
PropertyName(java.lang.String localName,
java.lang.String prefix,
java.lang.String namespaceURI)
Construct a PropertyName from the three independent parts, a local name, a prefix and a namespace. |
|
| Method Summary | |
|---|---|
java.lang.String |
getLocalName()
Get the local name of the property. |
java.lang.String |
getNamespaceURI()
Get the name space associated with the property name. |
java.lang.String |
getPrefix()
Get the prefix defined for the property. |
java.lang.String |
toPropertyNameString()
Gets a {NAMESPACEURI}LOCALNAME or {}LOCALNAME
string representation of the property's name. |
java.lang.String |
toString()
Convert the property name to an XML string representing the property name element using the format <prefix:localname xmlns:prefix="namespaceuri"/>. |
| Field Detail |
|---|
public static final PropertyName DAV_RESOURCETYPE_PN
public static final PropertyName DAV_ACL_PN
| Constructor Detail |
|---|
public PropertyName(org.apache.jackrabbit.webdav.property.DavProperty<?> davProperty)
PropertyName from a DavProperty.
Extract the relevant information for the name of the property from the object
that represents the property.
davProperty - DAV property.
public PropertyName(java.lang.String localName,
java.lang.String prefix,
java.lang.String namespaceURI)
localName - A string representing the local name of the propertyprefix - A string representing the prefix for the property namenamespaceURI - A string representing a valid namespace URI.public PropertyName(org.w3c.dom.Element propElement)
propElement - An XML property elementpublic PropertyName(java.lang.String name)
name - A string representation of the property name.| Method Detail |
|---|
public java.lang.String getLocalName()
public java.lang.String getPrefix()
public java.lang.String getNamespaceURI()
public java.lang.String toString()
<prefix:localname xmlns:prefix="namespaceuri"/>.
- Overrides:
toString in class java.lang.Object
- Returns:
- String XML representation of the property name element
public java.lang.String toPropertyNameString()
{NAMESPACEURI}LOCALNAME or {}LOCALNAME
string representation of the property's name.
{NAMESPACEURI}LOCALNAME or {}LOCALNAME if there is no name space).
|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||