Interface IOptionalValueHolder<V>
- Type Parameters:
V- is the type of the value of aIOptionalValueHolder.
- All Known Subinterfaces:
IFluentMutableOptionalValueHolder<H,V>, IMutableOptionalValueHolder<V>, IMutableXmlNode, IXmlNode<N>
- All Known Implementing Classes:
MutableXmlNode
public interface IOptionalValueHolder<V>
A
IOptionalValueHolder can contain a value.- Author:
- Silvan Wyss
-
Method Summary
-
Method Details
-
getStoredValue
V getStoredValue()- Returns:
- the value of the current
IOptionalValueHolder. - Throws:
RuntimeException- if the currentIOptionalValueHolderdoes not contain a value.
-
hasValue
boolean hasValue()- Returns:
- true if the current
IOptionalValueHoldercontains a value, false otherwise.
-