Class XmlValue
java.lang.Object
org.eolang.jeo.representation.xmir.XmlValue
XML value.
- Since:
- 0.6
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
XmlValue
Constructor.- Parameters:
node
- XML node.
-
-
Method Details
-
string
Convert hex string to human-readable string. Example: "48 65 6C 6C 6F 20 57 6F 72 6C 64 21" -> "Hello World!"- Returns:
- Human-readable string.
-
bool
public boolean bool()Convert hex string to boolean.- Returns:
- Boolean.
-
integer
public int integer()Convert hex string to integer.- Returns:
- Integer.
-
bytes
public byte[] bytes()Convert hex string to a byte array.- Returns:
- Byte array.
-
object
Convert hex string to an object.- Returns:
- Object.
-