Linkable.API
Class Citation

java.lang.Object
  |
  +--Linkable.API.Citation

public class Citation
extends java.lang.Object

This class encapsulates information belonging to a Citation, that is, information about a work that has this document as a reference, how this document was cited, and in what context


Field Summary
private  Creation citationData
           
private  Context[] context
           
private static boolean DEBUG
           
private  int how
           
private static java.lang.String ME
           
static int REFERENCE
           
static int RI
           
static int SCI
           
 
Constructor Summary
Citation(Creation bd, Context[] c, int h)
          Constructor
 
Method Summary
 Context[] getContext()
          Accessor function for citation contexts
private  java.lang.String listContexts(java.lang.String pad)
           
private  java.lang.String listHow()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

ME

private static final java.lang.String ME

DEBUG

private static final boolean DEBUG

citationData

private Creation citationData

context

private Context[] context

how

private int how

REFERENCE

public static final int REFERENCE

SCI

public static final int SCI

RI

public static final int RI
Constructor Detail

Citation

public Citation(Creation bd,
                Context[] c,
                int h)
Constructor
Parameters:
Creation - for the Citation
The - contexts in which this item was cited
The - citation type
Method Detail

getContext

public Context[] getContext()
Accessor function for citation contexts

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

listContexts

private java.lang.String listContexts(java.lang.String pad)

listHow

private java.lang.String listHow()