throw new IllegalArgumentException("XML definition must start with <rrd_def>"); validateTagsOnlyOnce(root, new String[]{ "path*", "uri*", "start", "step", "datasource*", "archive*" }); validateTagsOnlyOnce(dsNode, new String[]{ "name", "type", "heartbeat", "min", "max" }); validateTagsOnlyOnce(arcNode, new String[]{ "cf", "xff", "steps", "rows" });
throw new IllegalArgumentException("XML definition must start with <rrd_def>"); validateTagsOnlyOnce(root, new String[]{ "path", "start", "step", "datasource*", "archive*" }); validateTagsOnlyOnce(dsNode, new String[]{ "name", "type", "heartbeat", "min", "max" }); validateTagsOnlyOnce(arcNode, new String[]{ "cf", "xff", "steps", "rows" });