| Modifier and Type | Field and Description |
|---|---|
| private final MarkupBuilder |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | xmlDeclaration(Map<String, Object>
the attributes for the declaration args)Produce an XML declaration in the output. |
| public void | |
| public void | |
| public void | yieldUnescaped(Object
an Object whose toString() representation is to be printed value)Print data in the body of the current tag. |
| public void |
| builder | back to summary |
|---|---|
| private final MarkupBuilder builder | |
| MarkupBuilderHelper | back to summary |
|---|---|
public MarkupBuilderHelper(MarkupBuilder builder)
| |
| comment | back to summary |
|---|---|
| public void comment(String value) Produce a comment in the output.
comment('hello1')
or
mkp.comment('hello1')
will produce:
<!-- hello1 -->while:
comment('hello2', [:])
will produce:
<comment>hello2</comment>
| |
| pi | back to summary |
|---|---|
| public void pi(Map<String, Map<String, Object>> args) Produce an XML processing instruction in the output. For example:
mkp.pi("xml-stylesheet":[href:"mystyle.css", type:"text/css"])
| |
| xmlDeclaration | back to summary |
|---|---|
| public void xmlDeclaration(Map<String, Object> args) Produce an XML declaration in the output. For example: mkp.xmlDeclaration(version:'1.0') | |
| yield | back to summary |
|---|---|
| public void yield(Object value) Prints data in the body of the current tag, escaping XML entities.
For example:
| |
| yield | back to summary |
|---|---|
| public void yield(String value) Prints data in the body of the current tag, escaping XML entities.
For example:
| |
| yieldUnescaped | back to summary |
|---|---|
| public void yieldUnescaped(Object value) Print data in the body of the current tag. Does not escape XML entities.
For example:
| |
| yieldUnescaped | back to summary |
|---|---|
| public void yieldUnescaped(String value) Print data in the body of the current tag. Does not escape XML entities.
For example:
| |