public class FlexiMinXMLBuilder extends java.lang.Object implements MinXMLBuilder
| Constructor and Description |
|---|
FlexiMinXMLBuilder() |
| 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.
|
public void startTagOpen(java.lang.String name)
MinXMLBuilderstartTagOpen in interface MinXMLBuildername - the name of the element to be constructed (or null).public void put(java.lang.String key,
java.lang.String value)
MinXMLBuilderput in interface MinXMLBuilderkey - the attribute keyvalue - the attribute valuepublic void startTagClose(java.lang.String name)
MinXMLBuilderstartTagClose in interface MinXMLBuildername - the name of the element to be constructed (or null)public void endTag(java.lang.String name)
MinXMLBuilderendTag in interface MinXMLBuildername - the name of the element to be constructed (or null)public MinXML build()
MinXMLBuilderbuild in interface MinXMLBuilder