|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.hpi.fgis.dude.util.bibtex.data.BibtexNode de.hpi.fgis.dude.util.bibtex.data.BibtexAbstractEntry de.hpi.fgis.dude.util.bibtex.data.BibtexPreamble
public class BibtexPreamble
A preamble can be used to include pretty much arbitrary LaTex/Tex at the beginning of a generated bibliography. There
is usually only one preamble per BibTex
file.
Constructor Summary | |
---|---|
protected |
BibtexPreamble(BibtexFile file,
BibtexAbstractValue content)
Instantiates a new BibtexPreamble . |
Method Summary | |
---|---|
BibtexAbstractValue |
getContent()
Returns the content of this preamble. |
void |
printBibtex(PrintWriter writer)
Prints the node to the passed PrintWriter . |
void |
setContent(BibtexAbstractValue content)
Sets the content. |
Methods inherited from class de.hpi.fgis.dude.util.bibtex.data.BibtexNode |
---|
getOwnerFile, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected BibtexPreamble(BibtexFile file, BibtexAbstractValue content)
BibtexPreamble
.
file
- The file that includes this preamble.content
- The content of this preamble.Method Detail |
---|
public void printBibtex(PrintWriter writer)
BibtexNode
PrintWriter
. This method needs to be implemented by each sub-class.
printBibtex
in class BibtexNode
writer
- The writer that shall be used for writing the String representation of this node.public BibtexAbstractValue getContent()
null
if it is not set.public void setContent(BibtexAbstractValue content)
content
- The content to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |