de.dante.extex.typesetter.type.node
Class WhatsItNode
java.lang.Object
de.dante.extex.typesetter.type.node.AbstractNode
de.dante.extex.typesetter.type.node.WhatsItNode
- All Implemented Interfaces:
- Node, java.io.Serializable
- Direct Known Subclasses:
- ExtensionNode, ImageNode, PdfAnnotation, PdfDest, PdfEndLink, PdfEndThread, PdfLiteral, PdfObject, PdfRefObj, PdfRefXForm, PdfRefXImage, PdfStartLink, PdfThread, PdfXForm, PdfXImage, SpecialNode, WhatsItCloseNode, WhatsItOpenNode, WhatsItWriteNode
- public class WhatsItNode
- extends AbstractNode
This node type represents the extension node from the perspective of
TeX.
- Version:
- $Revision: 1.12 $
- Author:
- Gerd Neugebauer, Michael Niedermair
- See Also:
- "TeX – The Program [146]",
Serialized Form
Field Summary |
protected static long |
serialVersionUID
The constant serialVersionUID contains the id for serialization. |
Constructor Summary |
WhatsItNode()
Creates a new object. |
Method Summary |
void |
toString(java.lang.StringBuffer sb,
java.lang.String prefix,
int breadth,
int depth)
This method puts the printable representation into the string buffer. |
java.lang.Object |
visit(NodeVisitor visitor,
java.lang.Object value)
This method provides an entry point for the visitor pattern. |
Methods inherited from class de.dante.extex.typesetter.type.node.AbstractNode |
addDepthTo, addHeightTo, addWidthTo, advanceDepth, advanceHeight, advanceWidth, atShipping, computeAdjustment, countChars, getChars, getDepth, getHeight, getLocalizer, getVerticalSize, getWidth, maxDepth, maxHeight, maxWidth, setDepth, setHeight, setWidth, spreadHeight, spreadWidth, toString, toText, toText |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
serialVersionUID
protected static final long serialVersionUID
- The constant serialVersionUID contains the id for serialization.
- See Also:
- Constant Field Values
WhatsItNode
public WhatsItNode()
- Creates a new object.
toString
public void toString(java.lang.StringBuffer sb,
java.lang.String prefix,
int breadth,
int depth)
- Description copied from interface:
Node
- 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 AbstractNode
- See Also:
Node.toString(
java.lang.StringBuffer,
java.lang.String,
int,
int)
visit
public java.lang.Object visit(NodeVisitor visitor,
java.lang.Object value)
throws GeneralException
- Description copied from interface:
Node
- This method provides an entry point for the visitor pattern.
- Parameters:
visitor
- the visitor to applyvalue
- the argument for the visitor
- Returns:
- the result of the method invocation of the visitor
- Throws:
GeneralException
- in case of an error- See Also:
Node.visit(
de.dante.extex.typesetter.type.NodeVisitor,
java.lang.Object)