org.attoparser.markup.dom
Class Text
Object
org.attoparser.markup.dom.Node
org.attoparser.markup.dom.Text
- All Implemented Interfaces:
- Serializable
public final class Text
- extends Node
A Text node in a attoDOM tree.
- Since:
- 1.0
- Author:
- Daniel Fernández
- See Also:
- Serialized Form
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Text
public Text(String content,
int line,
int col)
Text
public Text(String content)
getContent
public String getContent()
Returns the textual content of this node.
- Returns:
- the textual content of this node.
setContent
public void setContent(String content)
visit
public final void visit(AttoDOMVisitor visitor)
throws AttoDOMVisitorException
- Specified by:
visit
in class Node
- Throws:
AttoDOMVisitorException
Copyright © 2012 The ATTOPARSER team. All Rights Reserved.