| Constructor and Description |
|---|
SimpleProperty(Property property) |
SimpleProperty(String namespace,
String localName,
String value)
Construct a property.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLocalName()
Gets the local part of the name of the property.
|
String |
getNamespace()
Gets the namespace for the name.
|
String |
getValue()
Gets the value for this property.
|
boolean |
isInSpace(String namespace)
Is this property in the given namespace?
|
boolean |
isNamed(String namespace,
String localName)
Does the full name of the property match that given?
|
String |
toString()
Constructs a
String with all attributes
in name = value format. |
public SimpleProperty(String namespace, String localName, String value)
namespace - not nulllocalName - not nullvalue - not nullpublic SimpleProperty(Property property)
public String getLocalName()
PropertygetLocalName in interface PropertyProperty.getLocalName()public String getNamespace()
PropertygetNamespace in interface PropertyProperty.getNamespace()public String getValue()
PropertygetValue in interface PropertyProperty.getValue()public boolean isNamed(String namespace, String localName)
namespace - not nulllocalName - not nullpublic boolean isInSpace(String namespace)
namespace - not nullCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.