org.apache.tapestry.dom
Class Text

java.lang.Object
  extended by org.apache.tapestry.dom.Node
      extended by org.apache.tapestry.dom.Text

public final class Text
extends Node

A type of node that contains text.


Method Summary
 void toMarkup(PrintWriter writer)
          Writes the markup for this node to the writer.
 void write(String text)
          Writes additional text into the node, appending it to any existing text.
 void writef(String format, Object... args)
           
 
Methods inherited from class org.apache.tapestry.dom.Node
getChildMarkup, getChildren, getContainer, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

write

public void write(String text)
Writes additional text into the node, appending it to any existing text.


writef

public void writef(String format,
                   Object... args)

toMarkup

public void toMarkup(PrintWriter writer)
Description copied from class: Node
Writes the markup for this node to the writer.

Specified by:
toMarkup in class Node


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.