public class HrefAttributeValue extends java.lang.Object implements Value<W3CHrefAttribute>
| Constructor and Description |
|---|
HrefAttributeValue() |
HrefAttributeValue(W3CHrefAttribute value) |
| Modifier and Type | Method and Description |
|---|---|
<X,E extends java.lang.Exception> |
accept(ValueVisitor<X,E> visitor) |
java.lang.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(java.lang.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
|
java.lang.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(java.lang.String unit)
ValuesetUnit in interface Value<W3CHrefAttribute>unit - Unit of measurepublic HrefAttributeValue setUnit(UoM unit)
ValuesetUnit in interface Value<W3CHrefAttribute>unit - Unit of measurepublic java.lang.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 java.lang.String toString()
toString in class java.lang.Objectpublic <X,E extends java.lang.Exception> X accept(ValueVisitor<X,E> visitor) throws E extends java.lang.Exception
accept in interface Value<W3CHrefAttribute>E extends java.lang.ExceptionCopyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.