| java.lang.Object org.mortbay.html.Element org.mortbay.html.Composite org.mortbay.html.Block
All known Subclasses: org.mortbay.html.Target, org.mortbay.html.TextArea, org.mortbay.html.Style, org.mortbay.html.Table, org.mortbay.html.Font, org.mortbay.html.List, org.mortbay.html.Applet, org.mortbay.html.Link, org.mortbay.html.Select, org.mortbay.html.Script, org.mortbay.html.Form, org.mortbay.html.Heading,
Block | public class Block extends Composite (Code) | | HTML Block Composite.
Block of predefined or arbitrary type.
Block types are predefined for PRE, BLOCKQUOTE, CENTER, LISTING,
PLAINTEXT, XMP, DIV (Left and Right) and SPAN.
See Also: org.mortbay.html.Composite |
Constructor Summary | |
public | Block(String tag) Construct a block using the passed string as the tag. | public | Block(String tag, String attributes) Construct a block using the passed string as the tag. |
Center | final public static String Center(Code) | | Center the block
|
Listing | final public static String Listing(Code) | | Code listing style
|
Xmp | final public static String Xmp(Code) | | Old pre format - preserve line breaks
|
Block | public Block(String tag)(Code) | | Construct a block using the passed string as the tag.
Parameters: tag - The tag to use to open and close the block. |
Block | public Block(String tag, String attributes)(Code) | | Construct a block using the passed string as the tag.
Parameters: tag - The tag to use to open and close the block. Parameters: attributes - String of attributes for opening tag. |
|
|