## org.mortbay.html
Class Text

    java.lang.Object
      org.mortbay.html.Element
          org.mortbay.html.Composite
              org.mortbay.html.Text

Deprecated. all Composites now take Strings direct.

    public class Text

extends Composite

A simple block of straight text.

Field Summary

Fields inherited from class org.mortbay.html.Composite
`elements, nest`

Fields inherited from class org.mortbay.html.Element
`ALIGN, attributeMap, BGCOLOR, BOTTOM, CENTER, CLASS, COLOR, HEIGHT, ID, LEFT, MIDDLE, noAttributes, RIGHT, SIZE, STYLE, TOP, VALIGN, WIDTH`

Constructor Summary
`Text()` Deprecated.
`Text(String s)` Deprecated.
`Text(String[] s)` Deprecated.

Method Summary
`Text` `add(String[] s)` Deprecated.
`Text` `add(Vector v)` Deprecated.

Methods inherited from class org.mortbay.html.Composite
`add, contents, nest, replace, reset, setNest, size, unnest, write`

Methods inherited from class org.mortbay.html.Element
`attribute, attribute, attribute, attributes, attributes, bgColor, bottom, center, color, cssClass, cssID, height, height, height, left, middle, right, setAttributesFrom, size, size, style, top, toString, width, width, width, write, write`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### Text

    public Text()

  Deprecated.

### Text

    public Text(String s)

  Deprecated.

### Text

    public Text(String[] s)

  Deprecated.

Method Detail

### add

    public Text add(String[] s)

  Deprecated.

### add

    public Text add(Vector v)

  Deprecated.

Copyright © 1995-2008 Mort Bay Consulting. All Rights Reserved.