| Modifier and Type | Field and Description |
|---|---|
| protected BeanAccess | |
| private transient boolean | |
| private transient Set | |
| protected Set | |
| private Class | |
| protected String[] | |
| private static final Logger | |
| private Map | |
| private transient PropertyUtils | |
| private final Tag | |
| private final Class |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addPropertyParameters(String
- parameter name pName, Class<?>... - parameterized by classes)Adds new substitute for property |
| private void | |
| private Property | |
| public Object | Returns: postprocessed deserialized entity- deserialized entity obj)Is invoked after entity is filled with values from deserialized YAML |
| public Set | |
| public Property | |
| public Tag | Returns: tag to be used. It may be a tag for Language-Independent Types (http://www.yaml.org/type/)Get tag which shall be used to load or dump the type (class). |
| public Class | |
| public Object | Returns: new instance- node to construct the instance from node)This method should be overridden for TypeDescription implementations that are supposed to implement instantiation logic that is different from default one as implemented in YAML constructors. |
| public Object | |
| public void | putListPropertyType(String
name of the JavaBean property property, Class<? extends Object> class of List values type)
Deprecated
Specify that the property is a type-safe List.
|
| public void | |
| public void | |
| public void | |
| public boolean | |
| public void | |
| public boolean | |
| public void | |
| public void | |
| public String |
| beanAccess | back to summary |
|---|---|
| protected BeanAccess beanAccess | |
| delegatesChecked | back to summary |
|---|---|
| private transient boolean delegatesChecked | |
| dumpProperties | back to summary |
|---|---|
| private transient Set<Property> dumpProperties | |
| excludes | back to summary |
|---|---|
| protected Set<String> excludes | |
| impl | back to summary |
|---|---|
| private Class<?> impl | |
| includes | back to summary |
|---|---|
| protected String[] includes | |
| log | back to summary |
|---|---|
| private static final Logger log | |
| properties | back to summary |
|---|---|
| private Map<String, PropertySubstitute> properties | |
| propertyUtils | back to summary |
|---|---|
| private transient PropertyUtils propertyUtils | |
| tag | back to summary |
|---|---|
| private final Tag tag | |
| type | back to summary |
|---|---|
| private final Class<? extends Object> type | |
| TypeDescription | back to summary |
|---|---|
| public TypeDescription(Class<? extends Object> clazz, Tag tag) | |
| TypeDescription | back to summary |
|---|---|
| public TypeDescription(Class<? extends Object> clazz, Tag tag, Class<?> impl) | |
| TypeDescription | back to summary |
|---|---|
| public TypeDescription(Class<? extends Object> clazz, String tag) | |
| TypeDescription | back to summary |
|---|---|
| public TypeDescription(Class<? extends Object> clazz) | |
| TypeDescription | back to summary |
|---|---|
| public TypeDescription(Class<? extends Object> clazz, Class<?> impl) | |
| addPropertyParameters | back to summary |
|---|---|
| public void addPropertyParameters(String pName, Class<?>... classes) Adds new substitute for property | |
| checkDelegates | back to summary |
|---|---|
| private void checkDelegates() | |
| discoverProperty | back to summary |
|---|---|
| private Property discoverProperty(String name) | |
| finalizeConstruction | back to summary |
|---|---|
| public Object finalizeConstruction(Object obj) Is invoked after entity is filled with values from deserialized YAML | |
| getProperties | back to summary |
|---|---|
| public Set | |
| getProperty | back to summary |
|---|---|
| public Property getProperty(String name) | |
| getTag | back to summary |
|---|---|
| public Tag getTag() Get tag which shall be used to load or dump the type (class).
| |
| getType | back to summary |
|---|---|
| public Class Get represented type (class) | |
| newInstance | back to summary |
|---|---|
| public Object newInstance(Node node) This method should be overridden for TypeDescription implementations that are supposed to implement instantiation logic that is different from default one as implemented in YAML constructors. Note that even if you override this method, default filling of fields with variables from parsed YAML will still occur later. | |
| newInstance | back to summary |
|---|---|
| public Object newInstance(String propertyName, Node node) | |
| putListPropertyType | back to summary |
|---|---|
| public void putListPropertyType(String property, Class<? extends Object> type)
Deprecated
Specify that the property is a type-safe
| |
| putMapPropertyType | back to summary |
|---|---|
| public void putMapPropertyType(String property, Class<? extends Object> key, Class<? extends Object> value)
Deprecated
Specify that the property is a type-safe | |
| setExcludes | back to summary |
|---|---|
| public void setExcludes(String... propNames) | |
| setIncludes | back to summary |
|---|---|
| public void setIncludes(String... propNames) | |
| setProperty | back to summary |
|---|---|
| public boolean setProperty(Object targetBean, String propertyName, Object value) throws Exception | |
| setPropertyUtils | back to summary |
|---|---|
| public void setPropertyUtils(PropertyUtils propertyUtils) | |
| setupPropertyType | back to summary |
|---|---|
| public boolean setupPropertyType(String key, Node valueNode) | |
| substituteProperty | back to summary |
|---|---|
| public void substituteProperty(String pName, Class<?> pType, String getter, String setter, Class<?>... argParams) Adds property substitute for | |
| substituteProperty | back to summary |
|---|---|
| public void substituteProperty(PropertySubstitute substitute) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |