Class BaseRepresenter

  • Direct Known Subclasses:
    SafeRepresenter

    public abstract class BaseRepresenter
    extends java.lang.Object
    Represent basic YAML structures: scalar, sequence, mapping
    • Field Detail

      • representers

        protected final java.util.Map<java.lang.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 java.util.Map<java.lang.Class<?>,​Represent> multiRepresenters
      • representedObjects

        protected final java.util.Map<java.lang.Object,​Node> representedObjects
      • objectToRepresent

        protected java.lang.Object objectToRepresent
      • explicitPropertyUtils

        private boolean explicitPropertyUtils
    • Constructor Detail

      • BaseRepresenter

        public BaseRepresenter()