Class BaseRepresenter

java.lang.Object
org.yaml.snakeyaml.representer.BaseRepresenter
Direct Known Subclasses:
SafeRepresenter

public abstract class BaseRepresenter extends Object
Represent basic YAML structures: scalar, sequence, mapping
  • Field Details

    • representers

      protected final Map<Class<?>,Represent> representers
    • nullRepresenter

      protected Represent nullRepresenter
      in Java 'null' is not a type. So we have to keep the null representer separately otherwise it will coincide with the default representer which is stored with the key null.
    • multiRepresenters

      protected final Map<Class<?>,Represent> multiRepresenters
    • defaultScalarStyle

      protected DumperOptions.ScalarStyle defaultScalarStyle
    • defaultFlowStyle

      protected DumperOptions.FlowStyle defaultFlowStyle
    • representedObjects

      protected final Map<Object,Node> representedObjects
    • objectToRepresent

      protected Object objectToRepresent
    • propertyUtils

      private PropertyUtils propertyUtils
    • explicitPropertyUtils

      private boolean explicitPropertyUtils
  • Constructor Details

    • BaseRepresenter

      public BaseRepresenter()
  • Method Details