org.yaml.snakeyaml.introspector
Class FieldProperty

java.lang.Object
  extended by org.yaml.snakeyaml.introspector.Property
      extended by org.yaml.snakeyaml.introspector.GenericProperty
          extended by 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).


Constructor Summary
FieldProperty(Field field)
           
 
Method Summary
 Object get(Object object)
           
 void set(Object object, Object value)
           
 
Methods inherited from class org.yaml.snakeyaml.introspector.GenericProperty
getActualTypeArguments
 
Methods inherited from class org.yaml.snakeyaml.introspector.Property
compareTo, equals, getName, getType, hashCode, isReadable, isWritable, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FieldProperty

public FieldProperty(Field field)
Method Detail

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.