A B C D E G H I M N O P R S T U V W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AFTER_END_TAG - com.googlecode.jatl.Indenter.TagIndentSpot
-
Indicates position is after </tag>
- AFTER_START_TAG - com.googlecode.jatl.Indenter.TagIndentSpot
-
Indicates position is after <tag>
- attr(String...) - Method in class com.googlecode.jatl.MarkupBuilder
-
Adds attributes to the last
start tag
.
B
- BEFORE_END_TAG - com.googlecode.jatl.Indenter.TagIndentSpot
-
Indicates position is before </tag>
- BEFORE_START_TAG - com.googlecode.jatl.Indenter.TagIndentSpot
-
Indicates position is before <tag>
- bind(String, Object) - Method in class com.googlecode.jatl.MarkupBuilder
-
Binds a named variables to be used for expansion in
attributes
andtext
. - bind(Collection<Map.Entry<String, Object>>) - Method in class com.googlecode.jatl.MarkupBuilder
-
Convenience for
MarkupBuilder.bind(String, Object)
- build() - Method in class com.googlecode.jatl.HtmlWriter
-
Should build the markup and is called by
HtmlWriter.write(Writer)
.
C
- checkbox() - Method in class com.googlecode.jatl.HtmlBuilder
- checkbox(boolean) - Method in class com.googlecode.jatl.HtmlBuilder
- com.googlecode.jatl - package com.googlecode.jatl
-
For quickstart documentation: http://jatl.googlecode.com/ and
MarkupBuilder
.
D
- done() - Method in class com.googlecode.jatl.MarkupBuilder
-
Call when completely done with the builder.
E
- end() - Method in class com.googlecode.jatl.MarkupBuilder
-
Closes the last
start tag
. - end(int) - Method in class com.googlecode.jatl.MarkupBuilder
-
Closes the inputed number of open tags.
- endAll() - Method in class com.googlecode.jatl.MarkupBuilder
-
Closes all open tags.
- escapeAttributeEntities(String) - Static method in class com.googlecode.jatl.MarkupUtils
-
This will take the pre-defined entities in XML 1.0 and convert their character representation to the appropriate entity reference, suitable for XML attributes.
- escapeAttributeMarkup(String) - Method in class com.googlecode.jatl.MarkupBuilder
-
The strategy for escaping attribute markup.
- escapeElementEntities(String) - Static method in class com.googlecode.jatl.MarkupUtils
-
This will take the three pre-defined entities in XML 1.0 (used specifically in XML elements) and convert their character representation to the appropriate entity reference, suitable for XML element content.
- escapeElementMarkup(String) - Method in class com.googlecode.jatl.MarkupBuilder
-
The strategy for escaping element markup.
- escapeMarkup(String) - Method in class com.googlecode.jatl.HtmlBuilder
- escapeMarkup(String) - Method in class com.googlecode.jatl.MarkupBuilder
-
Deprecated.
G
- getSelf() - Method in class com.googlecode.jatl.Html
-
Needed for fluent style and Java parameterization limitations.
- getSelf() - Method in class com.googlecode.jatl.HtmlWriter
- getSelf() - Method in class com.googlecode.jatl.MarkupBuilder
-
Needed for fluent style and Java parameterization limitations.
H
- Html - Class in com.googlecode.jatl
-
Most of the XHTML tags and attributes are available as methods.
- Html(MarkupBuilder<?>) - Constructor for class com.googlecode.jatl.Html
- Html(MarkupBuilder<?>, boolean) - Constructor for class com.googlecode.jatl.Html
- Html(Writer) - Constructor for class com.googlecode.jatl.Html
- HtmlBuilder<T> - Class in com.googlecode.jatl
-
Most of the XHTML tags and attributes are available as methods.
- HtmlBuilder() - Constructor for class com.googlecode.jatl.HtmlBuilder
- HtmlBuilder(MarkupBuilder<?>) - Constructor for class com.googlecode.jatl.HtmlBuilder
- HtmlBuilder(MarkupBuilder<?>, boolean) - Constructor for class com.googlecode.jatl.HtmlBuilder
- HtmlBuilder(Writer) - Constructor for class com.googlecode.jatl.HtmlBuilder
- HtmlWriter - Class in com.googlecode.jatl
-
Writes HTML using an
HtmlBuilder
by callingHtmlWriter.write(Writer)
. - HtmlWriter() - Constructor for class com.googlecode.jatl.HtmlWriter
I
- indent(Indenter) - Method in class com.googlecode.jatl.MarkupBuilder
-
Sets the indenter.
- Indenter - Interface in com.googlecode.jatl
-
A strategy to indent or in other words pretty print the markup.
- Indenter.TagIndentSpot - Enum in com.googlecode.jatl
-
Indicates the current position (cursor) of where whitespace is to be applied.
- indentOff - Static variable in class com.googlecode.jatl.MarkupBuilder
-
An indenter that turns off indenting.
- indentOn - Static variable in class com.googlecode.jatl.MarkupBuilder
-
A default indenter that uses tabs.
- indentSameLine - Static variable in class com.googlecode.jatl.MarkupBuilder
-
Indents by keeping a tag pair on the same line.
- indentTag(Appendable, int, int, Indenter.TagIndentSpot, String, MarkupBuilder.TagClosingPolicy, boolean) - Method in interface com.googlecode.jatl.Indenter
-
Called by the builder to provide whitespace decoration.
- indentTag(Appendable, int, int, Indenter.TagIndentSpot, String, MarkupBuilder.TagClosingPolicy, boolean) - Method in class com.googlecode.jatl.SimpleIndenter
-
Called by the builder to provide whitespace decoration.
- isAlwaysSelfClosing() - Method in enum com.googlecode.jatl.MarkupBuilder.TagClosingPolicy
- isPairClosing() - Method in enum com.googlecode.jatl.MarkupBuilder.TagClosingPolicy
- isSelfClosing() - Method in enum com.googlecode.jatl.MarkupBuilder.TagClosingPolicy
M
- MarkupBuilder<T> - Class in com.googlecode.jatl
-
Fluent styled markup builder that writes to a
Writer
. - MarkupBuilder() - Constructor for class com.googlecode.jatl.MarkupBuilder
-
Use for deferred writer.
- MarkupBuilder(MarkupBuilder<?>) - Constructor for class com.googlecode.jatl.MarkupBuilder
-
Create a nested builder from given builder.
- MarkupBuilder(MarkupBuilder<?>, boolean) - Constructor for class com.googlecode.jatl.MarkupBuilder
-
Create a nested builder from a builder or resume from a builder.
- MarkupBuilder(Writer) - Constructor for class com.googlecode.jatl.MarkupBuilder
-
Create a builder using the given writer.
- MarkupBuilder.TagClosingPolicy - Enum in com.googlecode.jatl
-
Policy for how tags should be closed.
- MarkupBuilderWriter - Interface in com.googlecode.jatl
-
The methods in this class will be merged with
MarkupWriter
in 0.3.0. - MarkupUtils - Class in com.googlecode.jatl
-
XML Utils.
- MarkupWriter - Interface in com.googlecode.jatl
-
Wrap builders for deferred writing.
N
- NORMAL - com.googlecode.jatl.MarkupBuilder.TagClosingPolicy
-
The tag can either be closed with a matching closing tag or self closing.
- ns() - Method in class com.googlecode.jatl.MarkupBuilder
-
Restores the current namespace prefix to whatever the surrounding tags prefix is.
- ns(String) - Method in class com.googlecode.jatl.MarkupBuilder
-
Sets the current namespace prefix.
O
- option(String, String, boolean) - Method in class com.googlecode.jatl.HtmlBuilder
P
- PAIR - com.googlecode.jatl.MarkupBuilder.TagClosingPolicy
-
The tag is always closed with a matching closing tag regardless if there is no child tag or text.
R
- raw(String) - Method in class com.googlecode.jatl.MarkupBuilder
-
Write text with out escaping or variable expansion.
- raw(String, boolean) - Method in class com.googlecode.jatl.MarkupBuilder
-
Writes text with out escaping.
S
- SELF - com.googlecode.jatl.MarkupBuilder.TagClosingPolicy
-
The tag is always a self closing tag.
- setDepth(int) - Method in class com.googlecode.jatl.MarkupBuilder
-
Sets the indent depth after the builder has been created.
- setWriter(Writer) - Method in class com.googlecode.jatl.MarkupBuilder
-
Sets the writer after the builder has been created.
- SimpleIndenter - Class in com.googlecode.jatl
-
A simple indenter that takes a String for before and after on the opening and closing tag.
- SimpleIndenter(String, String, String, String) - Constructor for class com.googlecode.jatl.SimpleIndenter
-
EXPERIMENTAL MAY CHANGE
- start(String) - Method in class com.googlecode.jatl.MarkupBuilder
-
Starts a tag using the default closing policy
NORMAL
. - start(String, MarkupBuilder.TagClosingPolicy) - Method in class com.googlecode.jatl.MarkupBuilder
-
Starts a tag but does not immediately write it till the next tag is started.
T
- text(String) - Method in class com.googlecode.jatl.MarkupBuilder
-
Writes variable expanded escaped text inside a tag.
U
- unbind(String) - Method in class com.googlecode.jatl.MarkupBuilder
-
Removes a binding.
V
- valueOf(String) - Static method in enum com.googlecode.jatl.Indenter.TagIndentSpot
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.googlecode.jatl.MarkupBuilder.TagClosingPolicy
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.googlecode.jatl.Indenter.TagIndentSpot
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.googlecode.jatl.MarkupBuilder.TagClosingPolicy
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- write(MarkupWriter...) - Method in class com.googlecode.jatl.MarkupBuilder
-
Writes immediately by passing the writer to each
MarkupWriter
in the order passed in. - write(W) - Method in class com.googlecode.jatl.HtmlWriter
- write(W) - Method in interface com.googlecode.jatl.MarkupWriter
-
Writes using the given writer.
- write(W, int) - Method in class com.googlecode.jatl.HtmlWriter
- write(W, int) - Method in interface com.googlecode.jatl.MarkupBuilderWriter
-
Writes using the given writer at the given depth.
X
- xmlns(String) - Method in class com.googlecode.jatl.MarkupBuilder
-
Sets the default namespace on the last started tag.
- xmlns(String, String) - Method in class com.googlecode.jatl.MarkupBuilder
-
Sets an XML namespace.
All Classes All Packages