|
| Services |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
java.lang.Object | +--com.sas.services.webdav.PropertyName
This class represents a qualified property name. A name consists of three parts, viz. the local name, the prefix and the namespace. This corresponds to the information in an XML element that represents the property's name.
e.g.
| Constructor Summary | |
PropertyName()
|
|
PropertyName(Element propElement)
Construct a PropertyName from an XML element that represents the property. |
|
PropertyName(org.apache.webdav.lib.Property p)
Construct a PropertyName from an existing Property object. |
|
PropertyName(String name)
Construct a PropertyName from a string representing the property name. |
|
PropertyName(String localName,
String prefix,
String namespaceURI)
Construct a PropertyName from the three independent parts, a local name, a prefix and a namespace. |
|
| Method Summary | |
String |
getLocalName()
Get the local name of the property. |
String |
getNamespaceURI()
Get the namepsace associated with the property name. |
String |
getPrefix()
Get the prefix defined for the property. |
String |
toString()
Convert the property name to an XML string representing the property name element using the format <prefix:localname xmlns:prefix="namespaceuri"/>. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PropertyName()
public PropertyName(org.apache.webdav.lib.Property p)
p - A Property object
public PropertyName(String localName,
String prefix,
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 uripublic PropertyName(Element propElement)
propElement - An XML property elementpublic PropertyName(String name)
name - A string representation of the property name| Method Detail |
public String getLocalName()
public String getPrefix()
public String getNamespaceURI()
public String toString()
<prefix:localname xmlns:prefix="namespaceuri"/>.
- Overrides:
toString in class Object
- Returns:
- String String XML representation of the property name element
|
| Services |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||