All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class vnet.markup.html.Title

java.lang.Object
   |
   +----vnet.markup.Element
           |
           +----vnet.markup.html.Title

public class Title
extends Element
The title Element for an HTML document.


Variable Index

 o NAME
The element's name.

Constructor Index

 o Title()
Constructs a new, empty title element.
 o Title(String)
Constructs a new title element with the given text.

Method Index

 o addText(char[])
Adds text to the Title.
 o addText(char[], int, int)
Adds text to the Title from a subarray of a character array.
 o addText(String)
Adds text to the Title.

Variables

 o NAME
 public static final String NAME
The element's name.

Constructors

 o Title
 public Title()
Constructs a new, empty title element.

 o Title
 public Title(String title)
Constructs a new title element with the given text.

Parameters:
title - title of the HTML document.

Methods

 o addText
 public void addText(String text)
Adds text to the Title.

Parameters:
text - the String to be added.
 o addText
 public void addText(char text[])
Adds text to the Title.

Parameters:
text - the character array to be added.
 o addText
 public void addText(char text[],
                     int offset,
                     int count)
Adds text to the Title from a subarray of a character array.

Parameters:
text - the source character array.
offset - the initial offset
count - the length

All Packages  Class Hierarchy  This Package  Previous  Next  Index