Class XmlValue


  • public final class XmlValue
    extends Object
    XML value.
    Since:
    0.6
    • 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.
      • object

        public Object object()
        Convert hex string to an object.
        Returns:
        Object.
        To do:
        #1130:90min Cover object() with tests. Currently, this method is overly complex and not covered by tests. Actually, this code caused several issues in integration tests which were not caught by unit tests.