Package writer2latex.office
Class BibMark
java.lang.Object
writer2latex.office.BibMark
This class represents a single bibliography-mark in an ODF document
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEntry types in an ODF bibliography marks. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the entry type.getField(BibMark.EntryType entryType) Return a specific field.Get the identifier.voidsetField(BibMark.EntryType entryType, String sValue) Set a specific field.
-
Constructor Details
-
BibMark
Create a new BibMark from scratch.- Parameters:
sIdentifier- the unique identifier for this BibMarksEntryType- the type of entry such as book or article
-
BibMark
Create a newBibMarkfrom a text:bibliography-mark node.
-
-
Method Details
-
getIdentifier
Get the identifier.- Returns:
- the unique identifier of this
BibMark
-
getEntryType
Get the entry type.- Returns:
- the entry type of this
BibMark
-
setField
Set a specific field.- Parameters:
entryType- the type of field to setsValue- the new value of the field
-
getField
Return a specific field.- Parameters:
entryType- the type of the field to get- Returns:
- the value of the field, or null if the field is not set
-