public class CSLCitationItem extends Object implements JsonObject
| Constructor and Description |
|---|
CSLCitationItem(String id) |
CSLCitationItem(String id,
CSLItemData itemData,
String prefix,
String suffix,
String locator,
Integer position,
Boolean nearNote,
Integer noteNumber,
Integer firstReferenceNoteNumber,
CSLLabel label,
Boolean suppressAuthor,
Boolean authorOnly,
String[] uris) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static CSLCitationItem |
fromJson(Map<String,Object> obj)
Converts a JSON object to a CSLCitationItem object.
|
Boolean |
getAuthorOnly() |
Integer |
getFirstReferenceNoteNumber() |
String |
getId() |
CSLItemData |
getItemData() |
CSLLabel |
getLabel() |
String |
getLocator() |
Boolean |
getNearNote() |
Integer |
getNoteNumber() |
Integer |
getPosition() |
String |
getPrefix() |
String |
getSuffix() |
Boolean |
getSuppressAuthor() |
String[] |
getUris() |
int |
hashCode() |
Object |
toJson(JsonBuilder builder)
Converts this object to a JSON object
|
public CSLCitationItem(String id)
public String getId()
public CSLItemData getItemData()
public String getPrefix()
public String getSuffix()
public String getLocator()
public Integer getPosition()
public Boolean getNearNote()
public Integer getNoteNumber()
public Integer getFirstReferenceNoteNumber()
public CSLLabel getLabel()
public Boolean getSuppressAuthor()
public Boolean getAuthorOnly()
public String[] getUris()
public Object toJson(JsonBuilder builder)
JsonObjecttoJson in interface JsonObjectbuilder - a builder that can be used to perform the conversionpublic static CSLCitationItem fromJson(Map<String,Object> obj)
idobj - the JSON object to convert