de.dante.extex.typesetter.type.node.pdftex
Class PdfXImage

java.lang.Object
  extended byde.dante.extex.typesetter.type.node.AbstractNode
      extended byde.dante.extex.typesetter.type.node.WhatsItNode
          extended byde.dante.extex.typesetter.type.node.pdftex.PdfXImage
All Implemented Interfaces:
Node, java.io.Serializable

public class PdfXImage
extends WhatsItNode

This node denotes an ximage. This node type represents the extension node from the perspective of TeX.

Version:
$Revision: 1.4 $
Author:
Gerd Neugebauer
See Also:
Serialized Form

Field Summary
protected static long serialVersionUID
          The constant serialVersionUID contains the id for serialization.
 
Fields inherited from class de.dante.extex.typesetter.type.node.AbstractNode
NO_CHARS
 
Constructor Summary
PdfXImage(java.lang.String resource, RuleNode rule, java.lang.String attr, long page)
          Creates a new object.
 
Method Summary
 java.lang.String getAttr()
          Getter for the attribute string.
 long getPage()
          Getter for page number.
 java.lang.String getResource()
          Getter for resource name.
 RuleNode getRule()
          Getter for rule.
 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 de.dante.extex.typesetter.type.node.WhatsItNode
visit
 
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
 

Field Detail

serialVersionUID

protected static final long serialVersionUID
The constant serialVersionUID contains the id for serialization.

See Also:
Constant Field Values
Constructor Detail

PdfXImage

public PdfXImage(java.lang.String resource,
                 RuleNode rule,
                 java.lang.String attr,
                 long page)
Creates a new object.

Parameters:
resource - the name of the object
rule - the rule
attr - the attribute string. This can be null.
page - the page number
Method Detail

getAttr

public java.lang.String getAttr()
Getter for the attribute string.

Returns:
the attribute string

getPage

public long getPage()
Getter for page number.

Returns:
the page

getResource

public java.lang.String getResource()
Getter for resource name.

Returns:
the resource

getRule

public RuleNode getRule()
Getter for rule.

Returns:
the rule

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 WhatsItNode
See Also:
Node.toString( java.lang.StringBuffer, java.lang.String, int, int)