Package htmlflow
Class HtmlPage
java.lang.Object
htmlflow.HtmlPage
- All Implemented Interfaces:
org.xmlet.htmlapifaster.async.AsyncElement<HtmlPage>,org.xmlet.htmlapifaster.Element<HtmlPage,org.xmlet.htmlapifaster.Element<?, ?>>
- Direct Known Subclasses:
HtmlDoc,HtmlView,HtmlViewAsync
public abstract class HtmlPage
extends Object
implements org.xmlet.htmlapifaster.Element<HtmlPage,org.xmlet.htmlapifaster.Element<?,?>>
The root container for HTML elements.
It is responsible for managing the
org.xmlet.htmlapi.ElementVisitor
implementation, which is responsible for printing the tree of elements and
attributes.
Instances of HtmlPage are immutable. Any change to its properties returns a new
instance of HtmlPage.- Author:
- Miguel Gamboa, Luís Duare created on 29-03-2012
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.xmlet.htmlapifaster.Element__()final org.xmlet.htmlapifaster.Div<HtmlPage>div()org.xmlet.htmlapifaster.Elementabstract org.xmlet.htmlapifaster.Html<HtmlPage>html()final HtmlPageself()abstract HtmlPagesetIndented(boolean isIndented) Returns a new instance of HtmlFlow with the same properties of this object but with indented set to the value of isIndented parameter.abstract HtmlPagefinal org.xmlet.htmlapifaster.Tr<HtmlPage>tr()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xmlet.htmlapifaster.Element
await, custom, dynamic, getName, getVisitor, of
-
Field Details
-
HEADER
-
-
Constructor Details
-
HtmlPage
public HtmlPage()
-
-
Method Details
-
html
-
div
-
tr
-
setIndented
Returns a new instance of HtmlFlow with the same properties of this object but with indented set to the value of isIndented parameter. -
self
- Specified by:
selfin interfaceorg.xmlet.htmlapifaster.Element<HtmlPage,org.xmlet.htmlapifaster.Element<?, ?>>
-
threadSafe
-
__
public org.xmlet.htmlapifaster.Element __()- Specified by:
__in interfaceorg.xmlet.htmlapifaster.Element<HtmlPage,org.xmlet.htmlapifaster.Element<?, ?>>
-
getParent
public org.xmlet.htmlapifaster.Element getParent()- Specified by:
getParentin interfaceorg.xmlet.htmlapifaster.Element<HtmlPage,org.xmlet.htmlapifaster.Element<?, ?>>
-