MICommunity / psimi

Automatically exported from code.google.com/p/psimi
Creative Commons Attribution 4.0 International
5 stars 3 forks source link

need context to choose between expanded/unexpanded xml format #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The xml produced is by default a mix between expanded and unexpanded format
(experiments and interactors are described twice in
interactorList/experimentList and under interactionDescription).

I'll add a context Class to choose between both models.

Original issue reported on code.google.com by arnaud.ceol on 3 Jun 2009 at 9:26

GoogleCodeExporter commented 9 years ago
A context has been added, and few classes to allow to specify what form of the 
XML
document to use for conversion to PSI-XML:
- PsimiXmlForm, an enum type for possible psi-xml forms (compact/expanded)
- PsimiXmlConverterConfig, to store the chosen PSI-XML form
- ConverterContext, which instance can be called from the converter classes to 
get
the converterconfig

The default behavior is unchanged.

Original comment by arnaud.ceol on 15 Jun 2009 at 3:57

GoogleCodeExporter commented 9 years ago

Original comment by brunoaranda on 16 Jun 2009 at 2:16