return ret;
}
private Section createSection(ObjectFactory factory, ConversionSectionWrapper conversionSectionWrapper) {
Section ret = factory.createSectionsSection();
ret.setName(conversionSectionWrapper.getId());
for (int i=0; i<conversionSectionWrapper.getContent().size(); i++) {
// TODO: since the section model knows nothing about WML,
// we have to marshall each object separately.
// To fix this, next time wml is generated, include the section model there!
ret.getAny().add(marshall(conversionSectionWrapper.getContent().get(i)));
}
return ret;
}