public class YamlJavaBeanPropertyConstructor
extends Constructor
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.
|
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 © 2014. All rights reserved.