Class CSLProperties

  • All Implemented Interfaces:
    JsonObject

    public class CSLProperties
    extends Object
    implements JsonObject
    Citation cluster properties.
    Author:
    Michel Kraemer
    • Constructor Detail

      • CSLProperties

        public CSLProperties()
      • CSLProperties

        public CSLProperties​(Integer noteIndex,
                             Boolean unsorted)
    • Method Detail

      • getNoteIndex

        public Integer getNoteIndex()
        Returns:
        the noteIndex
      • getUnsorted

        public Boolean getUnsorted()
        Returns:
        the unsorted
      • toJson

        public Object toJson​(JsonBuilder builder)
        Description copied from interface: JsonObject
        Converts this object to a JSON object
        Specified by:
        toJson in interface JsonObject
        Parameters:
        builder - a builder that can be used to perform the conversion
        Returns:
        the JSON object
      • fromJson

        public static CSLProperties fromJson​(Map<String,​Object> obj)
        Converts a JSON object to a CSLProperties object.
        Parameters:
        obj - the JSON object to convert
        Returns:
        the converted CSLProperties object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object