Class XmlValue
- java.lang.Object
-
- org.eolang.jeo.representation.xmir.XmlValue
-
public final class XmlValue extends Object
XML value.- Since:
- 0.6
-
-
Constructor Summary
Constructors Constructor Description XmlValue(XmlEoObject node)
Constructor.XmlValue(XmlNode node)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
object()
Convert hex string to an object.String
string()
Convert hex string to human-readable string.
-
-
-
Constructor Detail
-
XmlValue
public XmlValue(XmlEoObject node)
Constructor.- Parameters:
node
- XML node.
-
XmlValue
public XmlValue(XmlNode node)
Constructor.- Parameters:
node
- XML node.
-
-
Method Detail
-
string
public String 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.
-
-