Property.Exceptions| Constructor and Description | 
|---|
| KeyedProperty(String key) | 
| Modifier and Type | Method and Description | 
|---|---|
| Element | element()Get the element that this property is associated with. | 
| boolean | equals(Object o) | 
| int | hashCode() | 
| boolean | isPresent()Whether the property is empty or not. | 
| String | key()The key of the property. | 
| void | remove()Remove the property from the associated element. | 
| String | toString() | 
| V | value()The value of the property. | 
public KeyedProperty(String key)
public V value() throws NoSuchElementException
Propertyvalue in interface Property<V>NoSuchElementException - thrown if the property is emptypublic boolean isPresent()
Propertypublic Element element()
Propertypublic void remove()
PropertyCopyright © 2013–2022 Apache Software Foundation. All rights reserved.