| Modifier and Type | Method and Description |
|---|---|
Tag |
add(Tag tag) |
Tag |
attr(Attr... attr) |
protected static void |
beginTag(PrintWriter writer,
String tagName,
boolean newline,
boolean empty,
List<Attr> attributes,
int level,
String indent) |
protected static void |
beginTag(PrintWriter writer,
String tagName,
boolean newline,
List<Attr> attributes,
int level,
String indent) |
Tag |
block(String tagName) |
Tag |
css(String css) |
Tag |
empty(String tagName) |
protected static void |
endTag(PrintWriter writer,
String tagName,
boolean hasNewline,
int level,
String indent) |
List<Tag> |
getChildren() |
Tag |
id(String id) |
Tag |
inline(String tagName) |
Tag |
parent() |
protected void |
render(PrintWriter writer,
int level) |
void |
setIndent(String indent) |
Tag |
text(Object... content) |
public void setIndent(String indent)
public Tag parent()
protected void render(PrintWriter writer, int level) throws IOException
IOExceptionprotected static void beginTag(PrintWriter writer, String tagName, boolean newline, List<Attr> attributes, int level, String indent) throws IOException
IOExceptionprotected static void beginTag(PrintWriter writer, String tagName, boolean newline, boolean empty, List<Attr> attributes, int level, String indent) throws IOException
IOExceptionprotected static void endTag(PrintWriter writer, String tagName, boolean hasNewline, int level, String indent) throws IOException
IOExceptionCopyright © 2014. All rights reserved.