view.xhtml
Class P

java.lang.Object
  extended by view.xhtml.HtmlObject
      extended by view.xhtml.HtmlElement
          extended by view.xhtml.ContainerElement
              extended by view.xhtml.P

public class P
extends ContainerElement


Constructor Summary
P()
          Constructs the element.
P(HtmlObject html)
          Constructs the element and immediately adds an object to it.
P(java.lang.String text)
          As above but accepts a String, which is automatically converted to a HtmlText object.
 
Method Summary
 
Methods inherited from class view.xhtml.ContainerElement
add, add, getHtml, getHtml
 
Methods inherited from class view.xhtml.HtmlElement
getCloseTag, getCloseTag, getStartTag, getStartTag, setAttribute, setClass, setId, setName
 
Methods inherited from class view.xhtml.HtmlObject
getHtml, getIndent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

P

public P()
Constructs the element.


P

public P(HtmlObject html)
Constructs the element and immediately adds an object to it.

Parameters:
html - the object to add.

P

public P(java.lang.String text)
As above but accepts a String, which is automatically converted to a HtmlText object.