Class StandardRepresenter


  • public class StandardRepresenter
    extends BaseRepresenter
    Represent standard Java classes
    • Constructor Detail

      • StandardRepresenter

        public StandardRepresenter​(DumpSettings settings)
    • Method Detail

      • getTag

        protected Tag getTag​(Class<?> clazz,
                             Tag defaultTag)
      • addClassTag

        public Tag addClassTag​(Class<? extends Object> clazz,
                               Tag tag)
        Define a tag for the Class to serialize.
        Parameters:
        clazz - Class which tag is changed
        tag - new tag to be used for every instance of the specified Class
        Returns:
        the previous tag associated with the Class