SimpleServlets v5.5.0

Package com.simpleservlets.htmlobjects

HTMLObjects facilitates the Object-Oriented creation of HTML (see HTMLPage to get started).

See:
          Description

Interface Summary
DoNotMinimizeEmpty Marker interface to indicate that when no child elements are present, this tag MUST NOT be minimized.
HTMLElement Core unit for HTMLObjects.
HTMLPrinter Generic interface for printing HTML.
MustMinimizeEmpty Marker interface to indicate that when no child elements are present, this tag MUST be minimized.
NoAttributesAllowed Marker interface to indicate that the specific implementation of HTMLElement does not support the setting of attributes.
NoChildrenAllowed Marker interface to indicate that the specific implementation of HTMLElement does not support the adding of child elements.
NoTag Marker interface to indicate that there is no open or close tag for this element (and consequently, no attributes are supported).
 

Class Summary
ByteArrayHTMLPrinter Implementation of HTMLPrinter that collect bytes in an internal byte[].
GenericHTMLElement Core implementation of HTMLElement.
HTMLAttribute Immutable objects which hold a string-based name and a string-based value.
HTMLBody Main body of an HTML page, <body> tag.
HTMLBold Bold text, <b> tag.
HTMLBreak Forced line break, <br> tag.
HTMLCode Monospaced text, <code> tag.
HTMLColor Used to represent a color for HTML.
HTMLEmphasis Emphasized text, <em> tag.
HTMLEntity Represents an HTML entity as an HTMLElement.
HTMLFont Specified font for text, <font> tag.
HTMLForm Input form, <form> tag.
HTMLForm.Input Input for forms, <input> tag.
HTMLForm.Option Options for HTMLForm.Select, <option> tag.
HTMLForm.Select Input for forms (drop-down, scroll list), <select> tag.
HTMLHead Head section of HTML page, <head> tag.
HTMLHeader Generates the <h1>, <h2>, <h3>, and so on headers.
HTMLHorizontalRule Horizonal line, <hr> tag.
HTMLImage Inline image, <img> tag.
HTMLItalic Italic text, <i> tag.
HTMLLink Hyperlink, <a href= … > tag.
HTMLList Lists, <ul> tag and <ol> tag.
HTMLList.Item List item, <li> tag.
HTMLList.OrderedStyle  
HTMLList.Style  
HTMLList.UnorderedStyle  
HTMLMeta Metainformation for the page header, <meta> tag.
HTMLPage Root tag for the entire HTML page, <html> tag.
HTMLParagraph A paragraph, <p> tag.
HTMLPre Pre-formatted text, <pre> tag.
HTMLSimpleForm Creates a two-column form.
HTMLSmall Smaller text, <small> tag.
HTMLSpan Generic container for inline elements, <span> tag.
HTMLString Represents a String as an HTMLElement.
HTMLStrong Strong text, <strong> tag.
HTMLStylesheetRef Stylesheet reference for the page header, <link> tag.
HTMLSubscript Subscript text, <sub> tag.
HTMLSuperscript Superscript text, <sup> tag.
HTMLTable An HTML table, <table> tag.
HTMLTable.Cell  
HTMLTable.Row  
HTMLTitle Page title, <title> tag.
HTMLUnderline Underlined text, <u> tag.
HTMLUtil Miscellaneous utilities and tools for use with HTMLObjects.
NoTagHTMLElement A generic container with neither a start nor an end tag.
TreeClimber Climbs an HTMLElement tree and sends output to the specified HTMLPrinter.
 

Exception Summary
HTMLException Thrown in cases where there is trouble with the HTML.
 

Package com.simpleservlets.htmlobjects Description

HTMLObjects facilitates the Object-Oriented creation of HTML (see HTMLPage to get started). It makes producting HTML from Java Servlets easy and less error-prone (no more \" hassles, no more forgetting to close a tag!).


SimpleServlets v5.5.0

Copyright © 2001-2007 Programix Incorporated. All rights reserved. SimpleServlets is free and is OSI Certified Open Source Software under the BSD license.