float values.
The class Float is used as wrapper for these values.
The result value is created from text of the body of this element.
The body parsing is described in the class StringElementHandler.
For example:<float>-1.23</float>is shortcut to
<method name="valueOf" class="java.lang.Float">
<string>-1.23</string>
</method>
which is equivalent to Float.valueOf("-1.23") in Java code.
The following attribute is supported:
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Object | Returns: evaluatedfloat valuethe text of the body argument)Overrides com. Creates |
| FloatElementHandler | back to summary |
|---|---|
| pack-priv FloatElementHandler() | |
| getValue | back to summary |
|---|---|
| public Object getValue(String argument) Overrides com. Creates | |