|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jorphan.util.XMLBuffer
public class XMLBuffer
Provides XML string building methods. Not synchronised.
Constructor Summary | |
---|---|
XMLBuffer()
|
Method Summary | |
---|---|
XMLBuffer |
closeTag(String tagname)
Close top tag from stack. |
XMLBuffer |
openTag(String tagname)
Open a tag; save on stack. |
XMLBuffer |
tag(String tagname,
String content)
Add a complete tag with content. |
XMLBuffer |
tag(String tagname,
StringBuilder content)
Add a complete tag with content. |
String |
toString()
Convert the buffer to a string, closing any open tags |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XMLBuffer()
Method Detail |
---|
public XMLBuffer openTag(String tagname)
tagname
-
public XMLBuffer closeTag(String tagname)
tagname
-
IllegalArgumentException
- if the tag names do not matchpublic XMLBuffer tag(String tagname, String content)
tagname
- content
-
public XMLBuffer tag(String tagname, StringBuilder content)
tagname
- content
-
public String toString()
toString
in class Object
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |