public static class HtmlWriter.HtmlTag extends Object
Modifier | Constructor and Description |
---|---|
protected |
HtmlWriter.HtmlTag(HtmlWriter writer,
String name,
boolean hasBody) |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(String attrib) |
void |
addAttribute(String attrib,
boolean present) |
void |
addAttribute(String attrib,
Object value) |
void |
addAttribute(String attrib,
Object value,
boolean escapeHtml) |
void |
addAttributeNoCheck(String attrib,
Object value,
boolean escapeHtml) |
void |
addAttributes(String attributes) |
void |
beginBody() |
void |
beginBody(boolean newLine) |
void |
beginBody(String body) |
void |
beginBody(String body,
boolean newLine) |
void |
endTag() |
void |
endTag(boolean newLine) |
void |
endTag(String body) |
void |
endTag(String body,
boolean newLine) |
boolean |
isValid() |
protected void |
startTag() |
protected HtmlWriter.HtmlTag(HtmlWriter writer, String name, boolean hasBody)
protected void startTag()
public boolean isValid()
public void addAttributes(String attributes)
public void addAttributeNoCheck(String attrib, Object value, boolean escapeHtml)
public void addAttribute(String attrib)
public void addAttribute(String attrib, boolean present)
public void beginBody(String body, boolean newLine)
public void beginBody(String body)
public void beginBody(boolean newLine)
public void beginBody()
public void endTag(String body, boolean newLine)
public void endTag(String body)
public void endTag(boolean newLine)
public void endTag()
Copyright © 2008–2015 Apache Software Foundation. All rights reserved.