public class YamlJavaBeanPropertyConstructor
extends org.yaml.snakeyaml.constructor.Constructor
org.yaml.snakeyaml.constructor.Constructor.ConstructMapping, org.yaml.snakeyaml.constructor.Constructor.ConstructScalar, org.yaml.snakeyaml.constructor.Constructor.ConstructSequence, org.yaml.snakeyaml.constructor.Constructor.ConstructYamlObject
org.yaml.snakeyaml.constructor.SafeConstructor.ConstructUndefined, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlBinary, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlBool, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlFloat, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlInt, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlMap, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlNull, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlNumber, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlOmap, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlPairs, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlSeq, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlSet, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlStr, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlTimestamp
Constructor and Description |
---|
YamlJavaBeanPropertyConstructor(Class<?> theRoot) |
YamlJavaBeanPropertyConstructor(Class<?> theRoot,
Map<Class<?>,Map<String,String>> propertyAliases) |
Modifier and Type | Method and Description |
---|---|
protected void |
addPropertyAlias(String alias,
Class<?> type,
String name)
Adds an alias for a Javabean property name on a particular type.
|
addTypeDescription, getClassForName, getClassForNode
constructMapping2ndStep, constructSet2ndStep, flattenMapping
checkData, constructArray, constructArrayStep2, constructMapping, constructObject, constructScalar, constructSequence, constructSequenceStep2, constructSet, constructSet, createArray, createDefaultList, createDefaultMap, createDefaultSet, createDefaultSet, getConstructor, getData, getPropertyUtils, getSingleData, isExplicitPropertyUtils, setComposer, setPropertyUtils
public YamlJavaBeanPropertyConstructor(Class<?> theRoot)
protected final void addPropertyAlias(String alias, Class<?> type, String name)
alias
- the alias to maptype
- the type of propertyname
- the property nameCopyright © 2015 Pivotal Software, Inc.. All rights reserved.