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
-
-
Field Summary
Fields Modifier and Type Field and Description static java.util.regex.PatternMULTILINE_PATTERN
-
Constructor Summary
Constructors Constructor and Description Representer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description TagaddClassTag(java.lang.Class<? extends java.lang.Object> clazz, Tag tag)Define a tag for theClassto serialize.java.util.TimeZonegetTimeZone()voidsetTimeZone(java.util.TimeZone timeZone)-
Methods inherited from class org.yaml.snakeyaml.representer.BaseRepresenter
getDefaultFlowStyle, getPropertyUtils, isExplicitPropertyUtils, represent, setDefaultFlowStyle, setDefaultScalarStyle, setPropertyUtils
-
-
-
-
Method Detail
-
addClassTag
public Tag addClassTag(java.lang.Class<? extends java.lang.Object> clazz, Tag tag)
Define a tag for theClassto serialize.- Parameters:
clazz-Classwhich tag is changedtag- new tag to be used for every instance of the specifiedClass- Returns:
- the previous tag associated with the
Class
-
getTimeZone
public java.util.TimeZone getTimeZone()
-
setTimeZone
public void setTimeZone(java.util.TimeZone timeZone)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG