org.yaml.snakeyaml.representer
Class Representer
java.lang.Object
org.yaml.snakeyaml.representer.BaseRepresenter
org.yaml.snakeyaml.representer.Representer
public class Representer
- extends BaseRepresenter
Represent JavaBeans
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BINARY_PATTERN
public static Pattern BINARY_PATTERN
Representer
public Representer()
addClassTag
public String addClassTag(Class<? extends Object> clazz,
String tag)
- Define a tag for the
Class
to serialize
- Parameters:
clazz
- Class
which tag is changedtag
- new tag to be used for every instance of the specified
Class
- Returns:
- the previous tag associated with the
Class
ignoreAliases
protected boolean ignoreAliases(Object data)
- Specified by:
ignoreAliases
in class BaseRepresenter
Copyright © 2008-2009. All Rights Reserved.