// Path: framework/src/com/ibm/datapower/er/Analytics/AnalyticsProcessor.java
// public enum PRINT_MET_CONDITIONS {
// 	HIDEALL, HIDEDEFAULT, SHOWALL
// }
// 
// Path: framework/src/com/ibm/datapower/er/Analytics/ConditionsNode.java
// public enum LogLevelType {
// 	INFO, WARNING, ERROR, CRITICAL
// }


import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintStream;
import java.io.StringWriter;
import java.text.DecimalFormat;
import java.util.ArrayList;
import java.util.Map;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult;
import org.w3c.dom.*;
import com.ibm.datapower.er.Analytics.AnalyticsProcessor.PRINT_MET_CONDITIONS;
import com.ibm.datapower.er.Analytics.ConditionsNode.LogLevelType;
/**
 * Copyright 2014-2020 IBM Corp.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 **/

package com.ibm.datapower.er.Analytics;





public class AnalyticsResults {

	public static void PrintResultsXML(AnalyticsProcessor analytics, ArrayList<ConditionsNode> formulaConditionsMet,
// Path: framework/src/com/ibm/datapower/er/Analytics/AnalyticsProcessor.java
// public enum PRINT_MET_CONDITIONS {
// 	HIDEALL, HIDEDEFAULT, SHOWALL
// }
// 
// Path: framework/src/com/ibm/datapower/er/Analytics/ConditionsNode.java
// public enum LogLevelType {
// 	INFO, WARNING, ERROR, CRITICAL
// }


// Path: framework/src/com/ibm/datapower/er/Analytics/AnalyticsResults.java
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintStream;
import java.io.StringWriter;
import java.text.DecimalFormat;
import java.util.ArrayList;
import java.util.Map;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult;
import org.w3c.dom.*;
import com.ibm.datapower.er.Analytics.AnalyticsProcessor.PRINT_MET_CONDITIONS;
import com.ibm.datapower.er.Analytics.ConditionsNode.LogLevelType;

/**
 * Copyright 2014-2020 IBM Corp.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 **/

package com.ibm.datapower.er.Analytics;





public class AnalyticsResults {

	public static void PrintResultsXML(AnalyticsProcessor analytics, ArrayList<ConditionsNode> formulaConditionsMet,
			PRINT_MET_CONDITIONS printConditions, PrintStream stream, String versionAttrib, String outFile,