Package org.apache.poi.openxml4j.util
Class Nullable<E>
java.lang.Object
org.apache.poi.openxml4j.util.Nullable<E>
Deprecated.
An immutable object that could be defined as null.
- Version:
- 0.9
- Author:
- Julien Chable
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Nullable
public Nullable()Deprecated.Constructor. -
Nullable
Deprecated.Constructor.- Parameters:
value
- The value to set to this nullable.
-
-
Method Details
-
getValue
Deprecated.Get the store value if any.- Returns:
- the store value
-
hasValue
public boolean hasValue()Deprecated.Get the status of this nullable.- Returns:
- true if the nullable store a value (empty string is considered to be a value) else falseinvalid input: '<'/>.
-
nullify
public void nullify()Deprecated.Set the stored value to null.
-
Optional
instead