public class BasicXMLparser
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.ArrayList<BasicXMLelement> |
elements
An ArrayList of BasicXMLelement(s).
|
Constructor and Description |
---|
BasicXMLparser(java.lang.String xml)
Constructor that parses an XML-formatted string, with one tag per
line, into an ArrayList of BasicXMLelement (s).
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
Test method.
|
java.lang.String |
toString()
Convert the XML hierarchy to a String.
|
public java.util.ArrayList<BasicXMLelement> elements