Package de.undercouch.citeproc.csl
Class CSLProperties
- java.lang.Object
-
- de.undercouch.citeproc.csl.CSLProperties
-
- All Implemented Interfaces:
JsonObject
public class CSLProperties extends java.lang.Object implements JsonObject
Citation cluster properties.- Author:
- Michel Kraemer
-
-
Constructor Summary
Constructors Constructor Description CSLProperties()CSLProperties(java.lang.Integer noteIndex, java.lang.Boolean unsorted)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)static CSLPropertiesfromJson(java.util.Map<java.lang.String,java.lang.Object> obj)Converts a JSON object to a CSLProperties object.java.lang.IntegergetNoteIndex()java.lang.BooleangetUnsorted()inthashCode()java.lang.ObjecttoJson(JsonBuilder builder)Converts this object to a JSON object
-
-
-
Method Detail
-
getNoteIndex
public java.lang.Integer getNoteIndex()
- Returns:
- the noteIndex
-
getUnsorted
public java.lang.Boolean getUnsorted()
- Returns:
- the unsorted
-
toJson
public java.lang.Object toJson(JsonBuilder builder)
Description copied from interface:JsonObjectConverts this object to a JSON object- Specified by:
toJsonin interfaceJsonObject- Parameters:
builder- a builder that can be used to perform the conversion- Returns:
- the JSON object
-
fromJson
public static CSLProperties fromJson(java.util.Map<java.lang.String,java.lang.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:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-