public final class BibMark
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BibMark.EntryType
Entry types in an ODF bibliography marks.
|
| Constructor and Description |
|---|
BibMark(org.w3c.dom.Node node)
Create a new
BibMark from a text:bibliography-mark node. |
BibMark(java.lang.String sIdentifier,
java.lang.String sEntryType)
Create a new BibMark from scratch.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getEntryType()
Get the entry type.
|
java.lang.String |
getField(BibMark.EntryType entryType)
Return a specific field.
|
java.lang.String |
getIdentifier()
Get the identifier.
|
void |
setField(BibMark.EntryType entryType,
java.lang.String sValue)
Set a specific field.
|
public BibMark(java.lang.String sIdentifier,
java.lang.String sEntryType)
sIdentifier - the unique identifier for this BibMarksEntryType - the type of entry such as book or articlepublic BibMark(org.w3c.dom.Node node)
BibMark from a text:bibliography-mark node.public java.lang.String getIdentifier()
BibMarkpublic java.lang.String getEntryType()
BibMarkpublic void setField(BibMark.EntryType entryType, java.lang.String sValue)
entryType - the type of field to setsValue - the new value of the fieldpublic java.lang.String getField(BibMark.EntryType entryType)
entryType - the type of the field to get