org.yaml.snakeyaml.introspector
Class FieldProperty
java.lang.Object
org.yaml.snakeyaml.introspector.Property
org.yaml.snakeyaml.introspector.GenericProperty
org.yaml.snakeyaml.introspector.FieldProperty
- All Implemented Interfaces:
- Comparable<Property>
public class FieldProperty
- extends GenericProperty
A FieldProperty
is a Property
which is accessed as
a field, without going through accessor methods (setX, getX). The field may
have any scope (public, package, protected, private).
FieldProperty
public FieldProperty(Field field)
set
public void set(Object object,
Object value)
throws Exception
- Specified by:
set
in class Property
- Throws:
Exception
get
public Object get(Object object)
- Specified by:
get
in class Property
Copyright © 2008-2012. All Rights Reserved.