Class PlannerModelWriteHelper


  • public final class PlannerModelWriteHelper
    extends Object
    Auxiliary class which contain routines for planner model object writes
    • Constructor Detail

      • PlannerModelWriteHelper

        public PlannerModelWriteHelper()
    • Method Detail

      • writeFeatures

        public void writeFeatures​(ExportXmlStreamWriter writer,
                                  org.eclipse.emf.ecore.EObject object,
                                  List<org.eclipse.emf.ecore.EStructuralFeature> featureList,
                                  boolean writeEmpty,
                                  Version version)
                           throws XMLStreamException,
                                  ExportException
        Writes specified features of provided object
        Parameters:
        writer - the XML writer
        object - the source object
        featureList - list of features to be written
        writeEmpty - true, to write empty/null references
        version - the version object
        Throws:
        XMLStreamException - is throw in case of XML write error
        ExportException - is thrown in case of general export error (e.g. incorrect feature list is provided)