public class BasicXMLelement
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.HashMap<java.lang.String,java.lang.String> |
attributes
The attributes of the tag in key=value form
|
java.lang.String |
contents
The contents between the start and end of this tag
|
java.util.ArrayList<BasicXMLelement> |
subelements
Any subelements of the tag, meaning any other
tags that are nested within this one.
|
java.lang.String |
tagname
The name of the tag
|
Constructor and Description |
---|
BasicXMLelement() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Convert the XML element to a String.
|
public java.lang.String tagname
public java.util.HashMap<java.lang.String,java.lang.String> attributes
public java.util.ArrayList<BasicXMLelement> subelements
public java.lang.String contents