The cast operator method retrieves the value of the NBElement and explicitly casts it to a String value.


- value (NBElement)
- The NBElement whose value is to be cast.

The current element's value cast to the specified type.

Exception | Condition |
---|---|
NBRecoverableException | Thrown if the value can not be converted to a String. |