net.sf.vex.dom
Class Text

java.lang.Object
  |
  +--net.sf.vex.dom.Node
        |
        +--net.sf.vex.dom.Text

public class Text
extends Node

Text represents a run of text in a document. Text objects are not used in the internal document structure; they are only returned as needed by the Element.getContent method.


Constructor Summary
Text(Content content, int startOffset, int endOffset)
          Class constructor.
 
Methods inherited from class net.sf.vex.dom.Node
getContent, getEndOffset, getEndPosition, getStartOffset, getStartPosition, getText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Text

public Text(Content content,
            int startOffset,
            int endOffset)
Class constructor.

Parameters:
content - Content object containing the text
startOffset - character offset of the start of the run
endOffset - character offset of the end of the run