Class Bibliography


  • public class Bibliography
    extends java.lang.Object
    A generated bibliography consisting of bibliography entries and some formatting parameters
    Author:
    Michel Kraemer
    • Constructor Detail

      • Bibliography

        public Bibliography​(java.lang.String... entries)
      • Bibliography

        public Bibliography​(java.lang.String[] entries,
                            java.lang.String bibStart,
                            java.lang.String bibEnd,
                            java.lang.String[] entryIds,
                            java.lang.Integer maxOffset,
                            java.lang.Integer entrySpacing,
                            java.lang.Integer lineSpacing,
                            java.lang.Boolean hangingIndent,
                            java.lang.Boolean done,
                            SecondFieldAlign secondFieldAlign)
    • Method Detail

      • getEntries

        public java.lang.String[] getEntries()
        Returns:
        the bibliography's entries
      • getBibStart

        public java.lang.String getBibStart()
        Returns:
        the bibliography's bibstart
      • getBibEnd

        public java.lang.String getBibEnd()
        Returns:
        the bibliography's bibend
      • getEntryIds

        public java.lang.String[] getEntryIds()
        Returns:
        the bibliography's entry_ids
      • getMaxOffset

        public java.lang.Integer getMaxOffset()
        Returns:
        the bibliography's maxoffset
      • getEntrySpacing

        public java.lang.Integer getEntrySpacing()
        Returns:
        the bibliography's entryspacing
      • getLineSpacing

        public java.lang.Integer getLineSpacing()
        Returns:
        the bibliography's linespacing
      • getHangingIndent

        public java.lang.Boolean getHangingIndent()
        Returns:
        the bibliography's hangingindent
      • getDone

        public java.lang.Boolean getDone()
        Returns:
        the bibliography's done
      • getSecondFieldAlign

        public SecondFieldAlign getSecondFieldAlign()
        Returns:
        the bibliography's second-field-align
      • makeString

        public java.lang.String makeString()
        Converts this bibliography to a String that can be inserted into the text
        Returns:
        the String representing the bibliography
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object