org.mortbay.html

Class Script


public class Script
extends Block

HTML Script Block.

Field Summary

static String
javascript

Fields inherited from class org.mortbay.html.Block

Bold, Center, Div, Italic, Left, Listing, Plain, Pre, Quote, Right, Span, Xmp

Fields inherited from class org.mortbay.html.Composite

elements, nest

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

Script(String script)
Construct a JavaScript script element
Script(String script, String lang)
Construct a script element.

Method Summary

Methods inherited from class org.mortbay.html.Block

write

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

Field Details

javascript

public static final String javascript

Constructor Details

Script

public Script(String script)
Construct a JavaScript script element

Script

public Script(String script,
              String lang)
Construct a script element.
Parameters:
lang - Language of Script

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