public class PropertyUtils
extends java.lang.Object
Constructor and Description |
---|
PropertyUtils() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Set<Property> |
createPropertySet(java.lang.Class<? extends java.lang.Object> type,
BeanAccess bAccess) |
java.util.Set<Property> |
getProperties(java.lang.Class<? extends java.lang.Object> type) |
java.util.Set<Property> |
getProperties(java.lang.Class<? extends java.lang.Object> type,
BeanAccess bAccess) |
protected java.util.Map<java.lang.String,Property> |
getPropertiesMap(java.lang.Class<?> type,
BeanAccess bAccess) |
Property |
getProperty(java.lang.Class<? extends java.lang.Object> type,
java.lang.String name) |
Property |
getProperty(java.lang.Class<? extends java.lang.Object> type,
java.lang.String name,
BeanAccess bAccess) |
void |
setAllowReadOnlyProperties(boolean allowReadOnlyProperties) |
void |
setBeanAccess(BeanAccess beanAccess) |
void |
setSkipMissingProperties(boolean skipMissingProperties)
Skip properties that are missing during deserialization of YAML to a Java
object.
|
protected java.util.Map<java.lang.String,Property> getPropertiesMap(java.lang.Class<?> type, BeanAccess bAccess) throws java.beans.IntrospectionException
java.beans.IntrospectionException
public java.util.Set<Property> getProperties(java.lang.Class<? extends java.lang.Object> type) throws java.beans.IntrospectionException
java.beans.IntrospectionException
public java.util.Set<Property> getProperties(java.lang.Class<? extends java.lang.Object> type, BeanAccess bAccess) throws java.beans.IntrospectionException
java.beans.IntrospectionException
protected java.util.Set<Property> createPropertySet(java.lang.Class<? extends java.lang.Object> type, BeanAccess bAccess) throws java.beans.IntrospectionException
java.beans.IntrospectionException
public Property getProperty(java.lang.Class<? extends java.lang.Object> type, java.lang.String name) throws java.beans.IntrospectionException
java.beans.IntrospectionException
public Property getProperty(java.lang.Class<? extends java.lang.Object> type, java.lang.String name, BeanAccess bAccess) throws java.beans.IntrospectionException
java.beans.IntrospectionException
public void setBeanAccess(BeanAccess beanAccess)
public void setAllowReadOnlyProperties(boolean allowReadOnlyProperties)
public void setSkipMissingProperties(boolean skipMissingProperties)
skipMissingProperties
- true if missing properties should be skipped, false otherwise.Copyright © 2008-2013. All Rights Reserved.