public class ApplicationVerificationReportWriter extends Object implements ApplicationVerificationReportXMLConstants, Serializable
ALL_COMPONENTS_INSTALLED_KEY, APPLICATION_VERIFICATION_REPORT_KEY, COMPONENT_NAME_KEY, ENDPOINT_INFORMATION_LIST_KEY, ENDPOINT_KEY, ENDPOINT_NAME_KEY, JAVAEE_VERIFIER_REPORT_ITEM_CONTENT_KEY, JAVAEE_VERIFIER_REPORT_ITEM_CONTENT_NAME_KEY, JAVAEE_VERIFIER_REPORT_ITEM_CONTENT_VALUE_KEY, JAVAEE_VERIFIER_REPORT_ITEM_KEY, JAVAEE_VERIFIER_REPORT_KEY, JAVAEE_VERIFIER_REPORT_TABLE_KEY, JAVAEE_VERIFIER_REPORTS_LIST_KEY, JAVAEE_VERIFIER_SERVICE_UNIT_NAME, MISSING_APPCONFIG_NAME_KEY, MISSING_APPCONFIGS_KEY, MISSING_APPVAR_NAME_KEY, MISSING_APPVARS_KEY, MISSING_COMPONENT_NAME_KEY, MISSING_COMPONENTS_LIST_KEY, NAMESPACE_KEY, NAMESPACE_VALUE, NUMBER_OF_SERVICE_UNITS_KEY, SERVICE_ASSEMBLY_DESCRIPTION_KEY, SERVICE_ASSEMBLY_NAME_KEY, SERVICE_UNIT_NAME_KEY, STATUS_KEY, TEMPLATE_ZIPID_KEY, VERSION_KEY, VERSION_VALUE| Constructor and Description |
|---|
ApplicationVerificationReportWriter()
Constructor - Creates an ApplicationVerificationReportWriter
|
| Modifier and Type | Method and Description |
|---|---|
protected static Element |
createEndpointInformation(Document document,
EndpointInformation data)
Create Endpoint Information
|
protected static Element |
createEndpointInformationList(Document document,
ApplicationVerificationReport data)
Create Endpoint Information List
|
protected static Element |
createJavaEEVerifierReport(Document document,
JavaEEVerifierReport data)
Create JavaEEVerifierReport
|
protected static Element |
createJavaEEVerifierReports(Document document,
ApplicationVerificationReport data)
Creates JavaEEVerifierReports, list of all
JavaEEVerifier Reports
|
protected static Element |
createMissingComponentsList(Document document,
ApplicationVerificationReport data)
Create Missing Components List
|
static void |
main(String[] args) |
static String |
serialize(ApplicationVerificationReport report) |
static void |
setContents(File aFile,
String aContents)
Change the contents of text file in its entirety, overwriting any
existing text.
|
static void |
writeToFile(Document document,
String directoryPath) |
protected String |
writeToString(Document document) |
public ApplicationVerificationReportWriter()
public static void writeToFile(Document document, String directoryPath) throws TransformerConfigurationException, TransformerException, Exception
document - directoryPath - TransformerConfigurationExceptionTransformerExceptionExceptionpublic static void setContents(File aFile, String aContents) throws FileNotFoundException, IOException
aFile - is an existing file which can be written to.IllegalArgumentException - if param does not comply.FileNotFoundException - if the file does not exist.IOException - if problem encountered during write.public static String serialize(ApplicationVerificationReport report) throws ParserConfigurationException, TransformerException
performance - data MapParserConfigurationExceptionTransformerExceptionprotected static Element createMissingComponentsList(Document document, ApplicationVerificationReport data)
document - data - protected static Element createEndpointInformationList(Document document, ApplicationVerificationReport data)
document - data - protected static Element createEndpointInformation(Document document, EndpointInformation data)
document - data - protected static Element createJavaEEVerifierReports(Document document, ApplicationVerificationReport data)
document - data - protected static Element createJavaEEVerifierReport(Document document, JavaEEVerifierReport data)
document - data - protected String writeToString(Document document) throws TransformerException
document - TransformerExceptionpublic static void main(String[] args)
args - Copyright © 2011-2016 OpenESB Community. All Rights Reserved.