Class XmlValue


  • public final class XmlValue
    extends Object
    XML value.
    Since:
    0.6
    • Constructor Detail

      • 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.
      • 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

        public Object object()
        Convert hex string to an object.
        Returns:
        Object.