/** * Return true if the property name is a choice property (defined * in the DTD with the | char, such as (a | b | c ...) */ public boolean isChoiceProperty(String name) { return this.beanProp(name).isChoiceProperty(); }
/** * Equivalent to isChoiceProperty(name) on the current bean property. */ public boolean isChoiceProperty() { return this.beanProp().isChoiceProperty(); }
public BaseProperty[] getChoiceProperties() { if (this.isChoiceProperty()) { return this.group.list(); } return null; }