org.mortbay.html

Class Break


public class Break
extends Tag

Break Tag.

Field Summary

static String
Line
Line Break tag type
static String
Para
Paragraph Break tag type
static String
Rule
Rule Break tag type
static Break
line
Static instance of line break
static Break
para
Static instance of paragraph break
static Break
rule
Static instance of rule break

Fields inherited from class org.mortbay.html.Tag

tag

Fields inherited from class org.mortbay.html.Element

ALIGN, BGCOLOR, BOTTOM, CENTER, CLASS, COLOR, HEIGHT, ID, LEFT, MIDDLE, RIGHT, SIZE, STYLE, TOP, VALIGN, WIDTH, attributeMap, noAttributes

Constructor Summary

Break()
Default constructor (Line Break).
Break(String type)
Constructor.

Method Summary

Methods inherited from class org.mortbay.html.Tag

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, size, style, toString, top, width, width, width, write, write, write

Field Details

Line

public static final String Line
Line Break tag type

Para

public static final String Para
Paragraph Break tag type

Rule

public static final String Rule
Rule Break tag type

line

public static final Break line
Static instance of line break

para

public static final Break para
Static instance of paragraph break

rule

public static final Break rule
Static instance of rule break

Constructor Details

Break

public Break()
Default constructor (Line Break).

Break

public Break(String type)
Constructor.
Parameters:
type - The Break type

Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.