Class DemandTag

    • Constructor Detail

      • DemandTag

        public DemandTag()
    • Method Detail

      • parseFactor

        public static double parseFactor​(String value)
                                  throws XmlParserException
        Parses a String of percentage or value to a double.
        Parameters:
        value - String; value
        Returns:
        double
        Throws:
        XmlParserException - if factor is not in range from 0 to 1