|
||||||||||
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.BibtexAbstractValue de.hpi.fgis.dude.util.bibtex.data.BibtexMacroReference
public class BibtexMacroReference
A BibtexMacroReference references a BibtexMacroDefinition.
Constructor Summary | |
---|---|
protected |
BibtexMacroReference(BibtexFile file,
String key)
Instantiates a new BibtexMacroReference . |
Method Summary | |
---|---|
String |
getKey()
Returns the key of this reference. |
void |
printBibtex(PrintWriter writer)
Prints the node to the passed PrintWriter . |
void |
setKey(String key)
Sets the key. |
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 BibtexMacroReference(BibtexFile file, String key)
BibtexMacroReference
.
file
- The file that includes this macro reference.key
- The key of the reference.Method Detail |
---|
public String getKey()
null
if it is not set.public void setKey(String key)
key
- The key to set.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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |