org.yaml.snakeyaml.introspector
Class PropertyUtils
java.lang.Object
org.yaml.snakeyaml.introspector.PropertyUtils
public class PropertyUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyUtils
public PropertyUtils()
getPropertiesMap
protected Map<String,Property> getPropertiesMap(Class<?> type,
BeanAccess bAccess)
throws IntrospectionException
- Throws:
IntrospectionException
getProperties
public Set<Property> getProperties(Class<? extends Object> type)
throws IntrospectionException
- Throws:
IntrospectionException
getProperties
public Set<Property> getProperties(Class<? extends Object> type,
BeanAccess bAccess)
throws IntrospectionException
- Throws:
IntrospectionException
createPropertySet
protected Set<Property> createPropertySet(Class<? extends Object> type,
BeanAccess bAccess)
throws IntrospectionException
- Throws:
IntrospectionException
getProperty
public Property getProperty(Class<? extends Object> type,
String name)
throws IntrospectionException
- Throws:
IntrospectionException
getProperty
public Property getProperty(Class<? extends Object> type,
String name,
BeanAccess bAccess)
throws IntrospectionException
- Throws:
IntrospectionException
setBeanAccess
public void setBeanAccess(BeanAccess beanAccess)
setAllowReadOnlyProperties
public void setAllowReadOnlyProperties(boolean allowReadOnlyProperties)
setSkipMissingProperties
public void setSkipMissingProperties(boolean skipMissingProperties)
- Skip properties that are missing during deserialization of YAML to a Java
object. The default is false.
- Parameters:
skipMissingProperties
- true if missing properties should be skipped, false otherwise.
Copyright © 2008-2013. All Rights Reserved.