public interface MinXMLBuilder
Modifier and Type | Method and Description |
---|---|
MinXML |
build()
This method returns the constructed tree.
|
void |
endTag(java.lang.String name)
This method finishes the construction of the current element.
|
void |
put(java.lang.String key,
java.lang.String value)
This method adds the attribute key=value to the start tag
that is under construction.
|
void |
startTagClose(java.lang.String name)
This method finishes the construction of the current start tag.
|
void |
startTagOpen(java.lang.String name)
This method should be called to begin the construction of
a start-tag with a particular element name.
|
void startTagOpen(java.lang.String name)
name
- the name of the element to be constructed (or null).void put(java.lang.String key, java.lang.String value)
key
- the attribute keyvalue
- the attribute valuevoid startTagClose(java.lang.String name)
name
- the name of the element to be constructed (or null)void endTag(java.lang.String name)
name
- the name of the element to be constructed (or null)MinXML build()