Package de.undercouch.citeproc.csl
Class CSLProperties
- java.lang.Object
-
- de.undercouch.citeproc.csl.CSLProperties
-
- All Implemented Interfaces:
JsonObject
public class CSLProperties extends Object implements JsonObject
Citation cluster properties.- Author:
- Michel Kraemer
-
-
Constructor Summary
Constructors Constructor Description CSLProperties()CSLProperties(Integer noteIndex, Boolean unsorted)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static CSLPropertiesfromJson(Map<String,Object> obj)Converts a JSON object to a CSLProperties object.IntegergetNoteIndex()BooleangetUnsorted()inthashCode()ObjecttoJson(JsonBuilder builder)Converts this object to a JSON object
-
-
-
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: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(Map<String,Object> obj)
Converts a JSON object to a CSLProperties object.- Parameters:
obj- the JSON object to convert- Returns:
- the converted CSLProperties object
-
-