public class XAnnotatedMember extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
boolean |
cdata |
XGetter |
getter |
Path |
path |
XSetter |
setter |
boolean |
trim |
Class |
type |
XValueFactory |
valueFactory |
XAnnotatedObject |
xao |
XMap |
xmap |
| 限定符 | 构造器和说明 |
|---|---|
protected |
XAnnotatedMember(XMap xmap,
XSetter setter,
XGetter getter) |
|
XAnnotatedMember(XMap xmap,
XSetter setter,
XGetter getter,
XNode anno) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
decode(Object instance,
Node base,
Document document,
List<String> filters) |
protected Object |
getValue(Context ctx,
Element base) |
protected Object |
getValue(Context ctx,
Map<String,Object> map,
String keyPrefix) |
protected boolean |
isFilter(List<String> filters) |
void |
process(Context ctx,
Element element) |
void |
process(Context ctx,
Map<String,Object> map,
String keyPrefix) |
protected void |
setValue(Object instance,
Object value) |
public final XMap xmap
public final XSetter setter
public final XGetter getter
public Path path
public boolean trim
public boolean cdata
public Class type
public XAnnotatedObject xao
public XValueFactory valueFactory
public void process(Context ctx, Map<String,Object> map, String keyPrefix) throws Exception
Exceptionpublic void decode(Object instance, Node base, Document document, List<String> filters) throws Exception
Exceptionprotected Object getValue(Context ctx, Map<String,Object> map, String keyPrefix) throws Exception
ExceptionCopyright © 2019. All rights reserved.