SimpleServlets v5.5.0

com.simpleservlets.htmlobjects
Class HTMLParagraph

java.lang.Object
  extended by com.simpleservlets.htmlobjects.GenericHTMLElement
      extended by com.simpleservlets.htmlobjects.HTMLParagraph
All Implemented Interfaces:
DoNotMinimizeEmpty, HTMLElement

public class HTMLParagraph
extends GenericHTMLElement
implements HTMLElement, DoNotMinimizeEmpty

A paragraph, <p> tag.

Author:
Paul Hyde

Field Summary
 
Fields inherited from interface com.simpleservlets.htmlobjects.HTMLElement
ZERO_LEN_ARRAY
 
Constructor Summary
HTMLParagraph()
           
HTMLParagraph(HTMLElement element)
           
HTMLParagraph(String text)
           
 
Method Summary
 HTMLBold addBoldText(String text)
           
 HTMLCode addCodeText(String text)
           
 HTMLItalic addItalicText(String text)
           
 HTMLLink addLink(String targetURL, String content)
           
 HTMLSmall addSmallText(String text)
           
 
Methods inherited from class com.simpleservlets.htmlobjects.GenericHTMLElement
add, add, addSibling, addSibling, getAttributes, getChildren, getName, getParent, hasAttributes, hasChildren, isSafeToWrapWithWhitespace, removeAllAttributes, removeAllChildren, removeAttribute, removeChild, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeGroup, setParent, setSafeToWrapWithWhitespace, setStyle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.simpleservlets.htmlobjects.HTMLElement
add, add, addSibling, addSibling, getAttributes, getChildren, getName, getParent, hasAttributes, hasChildren, isSafeToWrapWithWhitespace, removeAllAttributes, removeAllChildren, removeAttribute, removeChild, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeGroup, setParent, setStyle
 

Constructor Detail

HTMLParagraph

public HTMLParagraph(HTMLElement element)

HTMLParagraph

public HTMLParagraph(String text)

HTMLParagraph

public HTMLParagraph()
Method Detail

addLink

public HTMLLink addLink(String targetURL,
                        String content)

addBoldText

public HTMLBold addBoldText(String text)

addItalicText

public HTMLItalic addItalicText(String text)

addSmallText

public HTMLSmall addSmallText(String text)

addCodeText

public HTMLCode addCodeText(String text)

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.