public interface IMultilanguageTextBeanProcessor
AbstractCdmBeanProcessor
s for CDM types which
have properties of MultilanguageText or LanguageString sets.
Implementors of this interface should to define in a private field the variable to be returned by the
getMultilanguageTextIgnoreList()
and by the isReplaceMultilanguageText()
.
The properties to be ignored should be initially skipped. This is done by returning the IgnoreList via the
AbstractBeanProcessor.getIgnorePropNames()
. The property can then be added again during the
AbstractBeanProcessor.processBeanSecondStep(Object, net.sf.json.JSONObject, net.sf.json.JsonConfig)
where the return value of isReplaceMultilanguageText()
is evaluated.
For reference implementations, please see StateDataBeanProcessor
or DescriptionElementBeanProcessor
.
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getMultilanguageTextIgnoreList() |
boolean |
isReplaceMultilanguageText() |
void |
setReplaceMultilanguageText(boolean replace) |
Copyright © 2007-2020 EDIT. All Rights Reserved.