| Package | Description |
|---|---|
| org.yaml.snakeyaml.constructor | |
| org.yaml.snakeyaml.introspector | |
| org.yaml.snakeyaml.representer |
| Modifier and Type | Method | Description |
|---|---|---|
protected Property |
Constructor.ConstructMapping.getProperty(java.lang.Class<? extends java.lang.Object> type,
java.lang.String name) |
| Modifier and Type | Class | Description |
|---|---|---|
class |
FieldProperty |
A
FieldProperty is a Property which is accessed as
a field, without going through accessor methods (setX, getX). |
class |
GenericProperty |
|
class |
MethodProperty |
A
MethodProperty is a Property which is accessed
through accessor methods (setX, getX). |
class |
MissingProperty |
A property that does not map to a real property; this is used when {@link
PropertyUtils.setSkipMissingProperties(boolean)} is set to true.
|
| Modifier and Type | Method | Description |
|---|---|---|
Property |
PropertyUtils.getProperty(java.lang.Class<? extends java.lang.Object> type,
java.lang.String name) |
|
Property |
PropertyUtils.getProperty(java.lang.Class<? extends java.lang.Object> type,
java.lang.String name,
BeanAccess bAccess) |
| Modifier and Type | Method | Description |
|---|---|---|
protected java.util.Set<Property> |
PropertyUtils.createPropertySet(java.lang.Class<? extends java.lang.Object> type,
BeanAccess bAccess) |
|
java.util.Set<Property> |
PropertyUtils.getProperties(java.lang.Class<? extends java.lang.Object> type) |
|
java.util.Set<Property> |
PropertyUtils.getProperties(java.lang.Class<? extends java.lang.Object> type,
BeanAccess bAccess) |
|
protected java.util.Map<java.lang.String,Property> |
PropertyUtils.getPropertiesMap(java.lang.Class<?> type,
BeanAccess bAccess) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
Property.compareTo(Property o) |
| Modifier and Type | Method | Description |
|---|---|---|
protected java.util.Set<Property> |
Representer.getProperties(java.lang.Class<? extends java.lang.Object> type) |
Get JavaBean properties to be serialised.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
Representer.checkGlobalTag(Property property,
Node node,
java.lang.Object object) |
Remove redundant global tag for a type safe (generic) collection if it is
the same as defined by the JavaBean property
|
protected NodeTuple |
Representer.representJavaBeanProperty(java.lang.Object javaBean,
Property property,
java.lang.Object propertyValue,
Tag customTag) |
Represent one JavaBean property.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected MappingNode |
Representer.representJavaBean(java.util.Set<Property> properties,
java.lang.Object javaBean) |
Tag logic:
- explicit root tag is set in serializer - if there is a predefined class tag it is used - a global tag with class name is always used as tag. |