Search in sources :

Example 1 with SurveyMarshalParameters

use of org.openforis.idm.metamodel.xml.internal.marshal.SurveyMarshaller.SurveyMarshalParameters in project collect by openforis.

the class SurveyIdmlBinder method marshal.

public void marshal(Survey survey, Writer wr, boolean marshalCodeLists, boolean marshalExternalCodeLists, boolean marshalPersistedCodeLists) throws IOException {
    SurveyMarshaller ser = new SurveyMarshaller(this, new SurveyMarshalParameters(marshalCodeLists, marshalPersistedCodeLists, marshalExternalCodeLists, survey.getDefaultLanguage()));
    ser.marshal(survey, wr, UTF_8);
}
Also used : SurveyMarshaller(org.openforis.idm.metamodel.xml.internal.marshal.SurveyMarshaller) SurveyMarshalParameters(org.openforis.idm.metamodel.xml.internal.marshal.SurveyMarshaller.SurveyMarshalParameters)

Aggregations

SurveyMarshaller (org.openforis.idm.metamodel.xml.internal.marshal.SurveyMarshaller)1 SurveyMarshalParameters (org.openforis.idm.metamodel.xml.internal.marshal.SurveyMarshaller.SurveyMarshalParameters)1