public class HrefAttributeValue extends Object implements Value<W3CHrefAttribute>
| Constructor and Description |
|---|
HrefAttributeValue() |
HrefAttributeValue(W3CHrefAttribute value) |
| Modifier and Type | Method and Description |
|---|---|
<X,E extends Exception> |
accept(ValueVisitor<X,E> visitor) |
String |
getUnit()
Get the unit of measure
|
UoM |
getUnitObject()
Get the unit of measure object
|
W3CHrefAttribute |
getValue()
Get the measurement value
|
boolean |
isSetValue()
Check whether the value is set
|
void |
setUnit(String unit)
Set the unit of measure
|
HrefAttributeValue |
setUnit(UoM unit)
Set the unit of measure object
|
HrefAttributeValue |
setValue(W3CHrefAttribute value)
Set the measurment value
|
String |
toString() |
public HrefAttributeValue()
public HrefAttributeValue(W3CHrefAttribute value)
public HrefAttributeValue setValue(W3CHrefAttribute value)
ValuesetValue in interface Value<W3CHrefAttribute>value - Value to setpublic W3CHrefAttribute getValue()
ValuegetValue in interface Value<W3CHrefAttribute>public void setUnit(String unit)
ValuesetUnit in interface Value<W3CHrefAttribute>unit - Unit of measurepublic HrefAttributeValue setUnit(UoM unit)
ValuesetUnit in interface Value<W3CHrefAttribute>unit - Unit of measurepublic String getUnit()
ValuegetUnit in interface Value<W3CHrefAttribute>public UoM getUnitObject()
ValuegetUnitObject in interface Value<W3CHrefAttribute>public boolean isSetValue()
ValueisSetValue in interface Value<W3CHrefAttribute>true, if value is setpublic <X,E extends Exception> X accept(ValueVisitor<X,E> visitor) throws E extends Exception
accept in interface Value<W3CHrefAttribute>E extends ExceptionCopyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.