Class XMLPropertyListConfiguration.PListNode

    • Constructor Detail

      • PListNode

        public PListNode()
    • Method Detail

      • addValue

        public void addValue​(java.lang.Object value)
        Update the value of the node. If the existing value is null, it's replaced with the new value. If the existing value is a list, the specified value is appended to the list. If the existing value is not null, a list with the two values is built.
        Parameters:
        value - the value to be added
      • addDateValue

        public void addDateValue​(java.lang.String value)
        Parse the specified string as a date and add it to the values of the node.
        Parameters:
        value - the value to be added
        Throws:
        java.lang.IllegalArgumentException - if the date string cannot be parsed
      • addDataValue

        public void addDataValue​(java.lang.String value)
        Parse the specified string as a byte array in base 64 FORMAT and add it to the values of the node.
        Parameters:
        value - the value to be added
      • addIntegerValue

        public void addIntegerValue​(java.lang.String value)
        Parse the specified string as an Interger and add it to the values of the node.
        Parameters:
        value - the value to be added
      • addRealValue

        public void addRealValue​(java.lang.String value)
        Parse the specified string as a Double and add it to the values of the node.
        Parameters:
        value - the value to be added
      • addTrueValue

        public void addTrueValue()
        Add a boolean value 'true' to the values of the node.
      • addFalseValue

        public void addFalseValue()
        Add a boolean value 'false' to the values of the node.
      • addList

        public void addList​(XMLPropertyListConfiguration.ArrayNode node)
        Add a sublist to the values of the node.
        Parameters:
        node - the node whose value will be added to the current node value