Class MetaModelView

java.lang.Object
com.aquima.interactions.metamodel.impl.MetaModelView

public class MetaModelView extends Object
This class may be used to convert a meta model object to an XML string.
Since:
6.4
Author:
O. Kerpershoek
  • Constructor Details

    • MetaModelView

      public MetaModelView(IMetaModel metamodel, ILanguage[] languages)
      Constructs a meta model view so xml's can be generated with this class.
      Parameters:
      metamodel - The meta model containing additional information of the profile objects, may not be null.
      languages - The languages that should be used for multilingual values, may be null.
  • Method Details

    • generateXml

      public void generateXml(OutputStream stream, String encoding) throws IOException
      Generate the meta model XML according to a specific encoding.
      Parameters:
      stream - The output stream the XML should be written to.
      encoding - The encoding that should be used for the XML.
      Throws:
      IOException - when an IO exception occurs on the stream.
      AppException - when an unexpected exception occurs during the generation of the XML