org.extex.typesetter.type.node
Class SpecialNode
java.lang.Object
org.extex.typesetter.type.node.AbstractNode
org.extex.typesetter.type.node.WhatsItNode
org.extex.typesetter.type.node.SpecialNode
- All Implemented Interfaces:
- java.io.Serializable, Node
public class SpecialNode
- extends WhatsItNode
- implements Node
This node contains text which should be passed to the back-end driver.
- Version:
- $Revision: 4739 $
- Author:
- Gerd Neugebauer, Michael Niedermair
- See Also:
- Serialized Form
|
Field Summary |
protected static long |
serialVersionUID
The constant serialVersionUID contains the id for serialization. |
|
Constructor Summary |
SpecialNode(java.lang.String text)
Creates a new object. |
|
Method Summary |
java.lang.String |
getText()
Getter for text. |
void |
toString(java.lang.StringBuffer sb,
java.lang.String prefix,
int breadth,
int depth)
This method puts the printable representation into the string buffer. |
| Methods inherited from class org.extex.typesetter.type.node.AbstractNode |
addDepthTo, addHeightTo, addWidthTo, advanceNaturalDepth, advanceNaturalHeight, advanceNaturalWidth, atShipping, clone, computeAdjustment, countChars, getChars, getDepth, getHeight, getLocalizer, getNaturalDepth, getNaturalHeight, getNaturalWidth, getVerticalSize, getWidth, maxDepth, maxHeight, maxWidth, setDepth, setHeight, setWidth, spreadHeight, spreadWidth, toString, toText, toText |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.extex.typesetter.type.Node |
addDepthTo, addHeightTo, addWidthTo, atShipping, countChars, getChars, getDepth, getHeight, getNaturalDepth, getNaturalHeight, getNaturalWidth, getVerticalSize, getWidth, setDepth, setHeight, setWidth, spreadHeight, spreadWidth, toText, visit |
serialVersionUID
protected static final long serialVersionUID
- The constant serialVersionUID contains the id for serialization.
- See Also:
- Constant Field Values
SpecialNode
public SpecialNode(java.lang.String text)
- Creates a new object.
- Parameters:
text - the text to pass to the backend driver
getText
public java.lang.String getText()
- Getter for text.
- Returns:
- the text.
toString
public void toString(java.lang.StringBuffer sb,
java.lang.String prefix,
int breadth,
int depth)
- This method puts the printable representation into the string buffer.
This is meant to produce a exhaustive form as it is used in tracing
output to the log file.
- Specified by:
toString in interface Node- Overrides:
toString in class WhatsItNode
- Parameters:
sb - the output string bufferprefix - the prefix string inserted at the beginning of each linebreadth - the breadth of the nodes to displaydepth - the depth of the nodes to display- See Also:
Node.toString(
java.lang.StringBuffer,
java.lang.String,
int,
int)