Class AdminapiXMLImporter
java.lang.Object
net.anotheria.anosite.gen.shared.service.AdminapiXMLImporter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.anotheria.util.xml.XMLTreeCreate an XML Document (jdom) from AnoAccessApplicationData data for export.net.anotheria.util.xml.XMLTreeCreate an XML Document (jdom) from AnoAccessConfiguration data for export.net.anotheria.util.xml.XMLTreeCreate an XML Document (jdom) from ASAction data for export.net.anotheria.util.xml.XMLTreeCreate an XML Document (jdom) from ASBrand data for export.net.anotheria.util.xml.XMLTreeCreate an XML Document (jdom) from ASCustomAction data for export.net.anotheria.util.xml.XMLTreeCreate an XML Document (jdom) from ASCustomData data for export.net.anotheria.util.xml.XMLTreeCreate an XML Document (jdom) from ASExperiment data for export.net.anotheria.util.xml.XMLTreeCreate an XML Document (jdom) from ASFeature data for export.net.anotheria.util.xml.XMLTreeCreate an XML Document (jdom) from ASFederatedData data for export.net.anotheria.util.xml.XMLTreeCreate an XML Document (jdom) from ASGenericAction data for export.net.anotheria.util.xml.XMLTreeCreate an XML Document (jdom) from ASGenericData data for export.net.anotheria.util.xml.XMLTreeCreate an XML Document (jdom) from ASLayoutData data for export.net.anotheria.util.xml.XMLTreeCreate an XML Document (jdom) from ASResourceData data for export.net.anotheria.util.xml.XMLTreeCreate an XML Document (jdom) from ASSiteConfig data for export.net.anotheria.util.xml.XMLTreeCreate an XML Document (jdom) from ASSiteData data for export.net.anotheria.util.xml.XMLTreeCreate an XML Document (jdom) from ASUserData data for export.net.anotheria.util.xml.XMLTreeCreate an XML Document (jdom) from ASWebData data for export.net.anotheria.util.xml.XMLTreeCreate an XML Document (jdom) from ASWizardData data for export.net.anotheria.util.xml.XMLTreeCreate an XML Document (ano-util) with data from all modules.net.anotheria.util.xml.XMLTreeCreate an XML Document (jdom) from Images data for export.static voidstatic org.jdom2.DocumentparseDocument(String content) voidWrite AnoAccessApplicationData as XML into given file.voidWrite AnoAccessApplicationData as XML into given stream.voidWrite AnoAccessConfiguration as XML into given file.voidWrite AnoAccessConfiguration as XML into given stream.voidwriteASActionXMLExportToFile(File target) Write ASAction as XML into given file.voidWrite ASAction as XML into given stream.voidwriteASBrandXMLExportToFile(File target) Write ASBrand as XML into given file.voidWrite ASBrand as XML into given stream.voidWrite ASCustomAction as XML into given file.voidWrite ASCustomAction as XML into given stream.voidwriteASCustomDataXMLExportToFile(File target) Write ASCustomData as XML into given file.voidWrite ASCustomData as XML into given stream.voidwriteASExperimentXMLExportToFile(File target) Write ASExperiment as XML into given file.voidWrite ASExperiment as XML into given stream.voidwriteASFeatureXMLExportToFile(File target) Write ASFeature as XML into given file.voidWrite ASFeature as XML into given stream.voidWrite ASFederatedData as XML into given file.voidWrite ASFederatedData as XML into given stream.voidWrite ASGenericAction as XML into given file.voidWrite ASGenericAction as XML into given stream.voidWrite ASGenericData as XML into given file.voidWrite ASGenericData as XML into given stream.voidwriteASLayoutDataXMLExportToFile(File target) Write ASLayoutData as XML into given file.voidWrite ASLayoutData as XML into given stream.voidWrite ASResourceData as XML into given file.voidWrite ASResourceData as XML into given stream.voidwriteASSiteConfigXMLExportToFile(File target) Write ASSiteConfig as XML into given file.voidWrite ASSiteConfig as XML into given stream.voidwriteASSiteDataXMLExportToFile(File target) Write ASSiteData as XML into given file.voidWrite ASSiteData as XML into given stream.voidwriteASUserDataXMLExportToFile(File target) Write ASUserData as XML into given file.voidWrite ASUserData as XML into given stream.voidwriteASWebDataXMLExportToFile(File target) Write ASWebData as XML into given file.voidWrite ASWebData as XML into given stream.voidwriteASWizardDataXMLExportToFile(File target) Write ASWizardData as XML into given file.voidWrite ASWizardData as XML into given stream.voidwriteCompleteXMLExportToFile(File target) Write XML data from all modules into given file.voidWrite XML data from all modules into given stream.voidwriteImagesXMLExportToFile(File target) Write Images as XML into given file.voidWrite Images as XML into given stream.
-
Constructor Details
-
AdminapiXMLImporter
public AdminapiXMLImporter()
-
-
Method Details
-
parseDocument
public static org.jdom2.Document parseDocument(String content) throws org.jdom2.JDOMException, IOException - Throws:
org.jdom2.JDOMExceptionIOException
-
createCompleteXMLExport
public net.anotheria.util.xml.XMLTree createCompleteXMLExport() throws net.anotheria.asg.exception.ASGRuntimeExceptionCreate an XML Document (ano-util) with data from all modules.- Throws:
net.anotheria.asg.exception.ASGRuntimeException
-
writeCompleteXMLExportToStream
public void writeCompleteXMLExportToStream(OutputStream target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write XML data from all modules into given stream.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
writeCompleteXMLExportToFile
public void writeCompleteXMLExportToFile(File target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write XML data from all modules into given file.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
createASGenericDataXMLExport
public net.anotheria.util.xml.XMLTree createASGenericDataXMLExport() throws net.anotheria.asg.exception.ASGRuntimeExceptionCreate an XML Document (jdom) from ASGenericData data for export.- Throws:
net.anotheria.asg.exception.ASGRuntimeException
-
writeASGenericDataXMLExportToStream
public void writeASGenericDataXMLExportToStream(OutputStream target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write ASGenericData as XML into given stream.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
writeASGenericDataXMLExportToFile
public void writeASGenericDataXMLExportToFile(File target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write ASGenericData as XML into given file.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
createASCustomDataXMLExport
public net.anotheria.util.xml.XMLTree createASCustomDataXMLExport() throws net.anotheria.asg.exception.ASGRuntimeExceptionCreate an XML Document (jdom) from ASCustomData data for export.- Throws:
net.anotheria.asg.exception.ASGRuntimeException
-
writeASCustomDataXMLExportToStream
public void writeASCustomDataXMLExportToStream(OutputStream target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write ASCustomData as XML into given stream.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
writeASCustomDataXMLExportToFile
public void writeASCustomDataXMLExportToFile(File target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write ASCustomData as XML into given file.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
createASFederatedDataXMLExport
public net.anotheria.util.xml.XMLTree createASFederatedDataXMLExport() throws net.anotheria.asg.exception.ASGRuntimeExceptionCreate an XML Document (jdom) from ASFederatedData data for export.- Throws:
net.anotheria.asg.exception.ASGRuntimeException
-
writeASFederatedDataXMLExportToStream
public void writeASFederatedDataXMLExportToStream(OutputStream target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write ASFederatedData as XML into given stream.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
writeASFederatedDataXMLExportToFile
public void writeASFederatedDataXMLExportToFile(File target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write ASFederatedData as XML into given file.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
createImagesXMLExport
public net.anotheria.util.xml.XMLTree createImagesXMLExport() throws net.anotheria.asg.exception.ASGRuntimeExceptionCreate an XML Document (jdom) from Images data for export.- Throws:
net.anotheria.asg.exception.ASGRuntimeException
-
writeImagesXMLExportToStream
public void writeImagesXMLExportToStream(OutputStream target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write Images as XML into given stream.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
writeImagesXMLExportToFile
public void writeImagesXMLExportToFile(File target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write Images as XML into given file.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
createASLayoutDataXMLExport
public net.anotheria.util.xml.XMLTree createASLayoutDataXMLExport() throws net.anotheria.asg.exception.ASGRuntimeExceptionCreate an XML Document (jdom) from ASLayoutData data for export.- Throws:
net.anotheria.asg.exception.ASGRuntimeException
-
writeASLayoutDataXMLExportToStream
public void writeASLayoutDataXMLExportToStream(OutputStream target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write ASLayoutData as XML into given stream.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
writeASLayoutDataXMLExportToFile
public void writeASLayoutDataXMLExportToFile(File target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write ASLayoutData as XML into given file.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
createASSiteDataXMLExport
public net.anotheria.util.xml.XMLTree createASSiteDataXMLExport() throws net.anotheria.asg.exception.ASGRuntimeExceptionCreate an XML Document (jdom) from ASSiteData data for export.- Throws:
net.anotheria.asg.exception.ASGRuntimeException
-
writeASSiteDataXMLExportToStream
public void writeASSiteDataXMLExportToStream(OutputStream target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write ASSiteData as XML into given stream.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
writeASSiteDataXMLExportToFile
public void writeASSiteDataXMLExportToFile(File target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write ASSiteData as XML into given file.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
createASSiteConfigXMLExport
public net.anotheria.util.xml.XMLTree createASSiteConfigXMLExport() throws net.anotheria.asg.exception.ASGRuntimeExceptionCreate an XML Document (jdom) from ASSiteConfig data for export.- Throws:
net.anotheria.asg.exception.ASGRuntimeException
-
writeASSiteConfigXMLExportToStream
public void writeASSiteConfigXMLExportToStream(OutputStream target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write ASSiteConfig as XML into given stream.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
writeASSiteConfigXMLExportToFile
public void writeASSiteConfigXMLExportToFile(File target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write ASSiteConfig as XML into given file.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
createASWebDataXMLExport
public net.anotheria.util.xml.XMLTree createASWebDataXMLExport() throws net.anotheria.asg.exception.ASGRuntimeExceptionCreate an XML Document (jdom) from ASWebData data for export.- Throws:
net.anotheria.asg.exception.ASGRuntimeException
-
writeASWebDataXMLExportToStream
public void writeASWebDataXMLExportToStream(OutputStream target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write ASWebData as XML into given stream.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
writeASWebDataXMLExportToFile
public void writeASWebDataXMLExportToFile(File target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write ASWebData as XML into given file.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
createASResourceDataXMLExport
public net.anotheria.util.xml.XMLTree createASResourceDataXMLExport() throws net.anotheria.asg.exception.ASGRuntimeExceptionCreate an XML Document (jdom) from ASResourceData data for export.- Throws:
net.anotheria.asg.exception.ASGRuntimeException
-
writeASResourceDataXMLExportToStream
public void writeASResourceDataXMLExportToStream(OutputStream target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write ASResourceData as XML into given stream.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
writeASResourceDataXMLExportToFile
public void writeASResourceDataXMLExportToFile(File target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write ASResourceData as XML into given file.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
createASGenericActionXMLExport
public net.anotheria.util.xml.XMLTree createASGenericActionXMLExport() throws net.anotheria.asg.exception.ASGRuntimeExceptionCreate an XML Document (jdom) from ASGenericAction data for export.- Throws:
net.anotheria.asg.exception.ASGRuntimeException
-
writeASGenericActionXMLExportToStream
public void writeASGenericActionXMLExportToStream(OutputStream target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write ASGenericAction as XML into given stream.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
writeASGenericActionXMLExportToFile
public void writeASGenericActionXMLExportToFile(File target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write ASGenericAction as XML into given file.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
createASCustomActionXMLExport
public net.anotheria.util.xml.XMLTree createASCustomActionXMLExport() throws net.anotheria.asg.exception.ASGRuntimeExceptionCreate an XML Document (jdom) from ASCustomAction data for export.- Throws:
net.anotheria.asg.exception.ASGRuntimeException
-
writeASCustomActionXMLExportToStream
public void writeASCustomActionXMLExportToStream(OutputStream target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write ASCustomAction as XML into given stream.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
writeASCustomActionXMLExportToFile
public void writeASCustomActionXMLExportToFile(File target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write ASCustomAction as XML into given file.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
createASActionXMLExport
public net.anotheria.util.xml.XMLTree createASActionXMLExport() throws net.anotheria.asg.exception.ASGRuntimeExceptionCreate an XML Document (jdom) from ASAction data for export.- Throws:
net.anotheria.asg.exception.ASGRuntimeException
-
writeASActionXMLExportToStream
public void writeASActionXMLExportToStream(OutputStream target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write ASAction as XML into given stream.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
writeASActionXMLExportToFile
public void writeASActionXMLExportToFile(File target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write ASAction as XML into given file.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
createASWizardDataXMLExport
public net.anotheria.util.xml.XMLTree createASWizardDataXMLExport() throws net.anotheria.asg.exception.ASGRuntimeExceptionCreate an XML Document (jdom) from ASWizardData data for export.- Throws:
net.anotheria.asg.exception.ASGRuntimeException
-
writeASWizardDataXMLExportToStream
public void writeASWizardDataXMLExportToStream(OutputStream target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write ASWizardData as XML into given stream.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
writeASWizardDataXMLExportToFile
public void writeASWizardDataXMLExportToFile(File target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write ASWizardData as XML into given file.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
createASUserDataXMLExport
public net.anotheria.util.xml.XMLTree createASUserDataXMLExport() throws net.anotheria.asg.exception.ASGRuntimeExceptionCreate an XML Document (jdom) from ASUserData data for export.- Throws:
net.anotheria.asg.exception.ASGRuntimeException
-
writeASUserDataXMLExportToStream
public void writeASUserDataXMLExportToStream(OutputStream target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write ASUserData as XML into given stream.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
writeASUserDataXMLExportToFile
public void writeASUserDataXMLExportToFile(File target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write ASUserData as XML into given file.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
createAnoAccessConfigurationXMLExport
public net.anotheria.util.xml.XMLTree createAnoAccessConfigurationXMLExport() throws net.anotheria.asg.exception.ASGRuntimeExceptionCreate an XML Document (jdom) from AnoAccessConfiguration data for export.- Throws:
net.anotheria.asg.exception.ASGRuntimeException
-
writeAnoAccessConfigurationXMLExportToStream
public void writeAnoAccessConfigurationXMLExportToStream(OutputStream target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write AnoAccessConfiguration as XML into given stream.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
writeAnoAccessConfigurationXMLExportToFile
public void writeAnoAccessConfigurationXMLExportToFile(File target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write AnoAccessConfiguration as XML into given file.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
createAnoAccessApplicationDataXMLExport
public net.anotheria.util.xml.XMLTree createAnoAccessApplicationDataXMLExport() throws net.anotheria.asg.exception.ASGRuntimeExceptionCreate an XML Document (jdom) from AnoAccessApplicationData data for export.- Throws:
net.anotheria.asg.exception.ASGRuntimeException
-
writeAnoAccessApplicationDataXMLExportToStream
public void writeAnoAccessApplicationDataXMLExportToStream(OutputStream target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write AnoAccessApplicationData as XML into given stream.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
writeAnoAccessApplicationDataXMLExportToFile
public void writeAnoAccessApplicationDataXMLExportToFile(File target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write AnoAccessApplicationData as XML into given file.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
createASFeatureXMLExport
public net.anotheria.util.xml.XMLTree createASFeatureXMLExport() throws net.anotheria.asg.exception.ASGRuntimeExceptionCreate an XML Document (jdom) from ASFeature data for export.- Throws:
net.anotheria.asg.exception.ASGRuntimeException
-
writeASFeatureXMLExportToStream
public void writeASFeatureXMLExportToStream(OutputStream target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write ASFeature as XML into given stream.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
writeASFeatureXMLExportToFile
public void writeASFeatureXMLExportToFile(File target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write ASFeature as XML into given file.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
createASExperimentXMLExport
public net.anotheria.util.xml.XMLTree createASExperimentXMLExport() throws net.anotheria.asg.exception.ASGRuntimeExceptionCreate an XML Document (jdom) from ASExperiment data for export.- Throws:
net.anotheria.asg.exception.ASGRuntimeException
-
writeASExperimentXMLExportToStream
public void writeASExperimentXMLExportToStream(OutputStream target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write ASExperiment as XML into given stream.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
writeASExperimentXMLExportToFile
public void writeASExperimentXMLExportToFile(File target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write ASExperiment as XML into given file.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
createASBrandXMLExport
public net.anotheria.util.xml.XMLTree createASBrandXMLExport() throws net.anotheria.asg.exception.ASGRuntimeExceptionCreate an XML Document (jdom) from ASBrand data for export.- Throws:
net.anotheria.asg.exception.ASGRuntimeException
-
writeASBrandXMLExportToStream
public void writeASBrandXMLExportToStream(OutputStream target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write ASBrand as XML into given stream.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
writeASBrandXMLExportToFile
public void writeASBrandXMLExportToFile(File target) throws IOException, net.anotheria.asg.exception.ASGRuntimeException Write ASBrand as XML into given file.- Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-
main
public static void main(String[] a) throws IOException, net.anotheria.asg.exception.ASGRuntimeException - Throws:
IOExceptionnet.anotheria.asg.exception.ASGRuntimeException
-