org.yaml.snakeyaml.introspector
Class MethodProperty
java.lang.Object
org.yaml.snakeyaml.introspector.Property
org.yaml.snakeyaml.introspector.GenericProperty
org.yaml.snakeyaml.introspector.MethodProperty
- All Implemented Interfaces:
- java.lang.Comparable<Property>
public class MethodProperty
- extends GenericProperty
Constructor Summary |
MethodProperty(java.beans.PropertyDescriptor property)
|
Method Summary |
java.lang.Object |
get(java.lang.Object object)
|
boolean |
isReadable()
|
boolean |
isWritable()
|
void |
set(java.lang.Object object,
java.lang.Object value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MethodProperty
public MethodProperty(java.beans.PropertyDescriptor property)
set
public void set(java.lang.Object object,
java.lang.Object value)
throws java.lang.Exception
- Specified by:
set
in class Property
- Throws:
java.lang.Exception
get
public java.lang.Object get(java.lang.Object object)
- Specified by:
get
in class Property
isWritable
public boolean isWritable()
- Overrides:
isWritable
in class Property
isReadable
public boolean isReadable()
- Overrides:
isReadable
in class Property
Copyright © 2008-2011. All Rights Reserved.