01: package org.conform.modifier;
02:
03: import org.conform.*;
04:
05: public class HiddenModifier implements Modifier {
06: public HiddenModifier() {
07: }
08:
09: public void modify(BeanMeta bean) {
10: for (int i = 0; i < bean.getProperties().length; i++) {
11: PropertyMeta property = bean.getProperties()[i];
12: property.setReadable(false);
13: property.setWritable(false);
14: }
15: }
16: }
|