org.mortbay.html
Class Script

java.lang.Object
  |
  +--org.mortbay.html.Element
        |
        +--org.mortbay.html.Composite
              |
              +--org.mortbay.html.Block
                    |
                    +--org.mortbay.html.Script

public class Script
extends Block

HTML Script Block.


Field Summary
static java.lang.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.Element
ALIGN, BGCOLOR, BOTTOM, CENTER, CLASS, COLOR, HEIGHT, ID, LEFT, MIDDLE, noAttributes, RIGHT, SIZE, STYLE, TOP, VALIGN, WIDTH
 
Constructor Summary
Script(java.lang.String script)
          Construct a JavaScript script element
Script(java.lang.String script, java.lang.String lang)
          Construct a script element.
 
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
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

javascript

public static final java.lang.String javascript
See Also:
Constant Field Values
Constructor Detail

Script

public Script(java.lang.String script,
              java.lang.String lang)
Construct a script element.

Parameters:
lang - Language of Script

Script

public Script(java.lang.String script)
Construct a JavaScript script element



Copyright ? 2000 Mortbay Consulting Pty. Ltd. All Rights Reserved.