public interface TreeBuilder
| Modifier and Type | Method and Description |
|---|---|
void |
attribute(java.lang.String localname,
java.lang.CharSequence value)
Create an attribute in no namespace.
|
void |
endElem()
Close the current element.
|
void |
startContent()
Allow putting content in an open element.
|
void |
startElem(java.lang.String localname)
Open an element in this tree builder namespace.
|
void startElem(java.lang.String localname)
throws ToolsException
localname - The local name of the element to open.ToolsException - If there is any error opening the element.void attribute(java.lang.String localname,
java.lang.CharSequence value)
throws ToolsException
localname - The local name of the attribute to create.value - The string value of the attribute to create.ToolsException - If there is any error creating the attribute.void startContent()
throws ToolsException
openElement as opening the opening tag, then you can
add as many attribute as you want, then you have to "close the opening
tag" before adding any content to the element.ToolsException - If there is any error starting content.void endElem()
throws ToolsException
ToolsException - If there is any error closing the current element.Copyright © 2015-2019 EXPath. All Rights Reserved