Class MetaModelView
java.lang.Object
com.aquima.interactions.metamodel.impl.MetaModelView
This class may be used to convert a meta model object to an XML string.
- Since:
- 6.4
- Author:
- O. Kerpershoek
-
Constructor Summary
ConstructorsConstructorDescriptionMetaModelView
(IMetaModel metamodel, ILanguage[] languages) Constructs a meta model view so xml's can be generated with this class. -
Method Summary
Modifier and TypeMethodDescriptionvoid
generateXml
(OutputStream stream, String encoding) Generate the meta model XML according to a specific encoding.
-
Constructor Details
-
Method Details
-
generateXml
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
-