public class DapXML extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DapXML.NodeType |
static class |
DapXML.XMLList |
| Modifier and Type | Field and Description |
|---|---|
protected List<DapXML> |
elements |
protected String |
name |
protected DapXML.NodeType |
nodetype |
protected DapXML |
parent |
protected String |
prefix |
protected String |
text |
protected String |
value |
protected Map<String,DapXML> |
xmlattributes |
| Constructor and Description |
|---|
DapXML() |
DapXML(DapXML.NodeType nodetype,
String fullname) |
| Modifier and Type | Method and Description |
|---|---|
void |
addElement(DapXML child) |
void |
addXMLAttribute(DapXML attr) |
List<DapXML> |
getElements() |
String |
getLocalName() |
String |
getName() |
DapXML.NodeType |
getNodeType() |
DapXML |
getParent() |
String |
getPrefix() |
String |
getText() |
String |
getValue() |
Map<String,DapXML> |
getXMLAttributes() |
protected void |
indent(int n,
StringBuilder buf) |
void |
setLocalName(String localname) |
void |
setName(String name) |
void |
setNodeType(DapXML.NodeType nodetype) |
void |
setParent(DapXML parent) |
void |
setPrefix(String prefix) |
void |
setText(String text) |
void |
setValue(String value) |
protected void |
stringify(int depth,
StringBuilder buf) |
String |
toString() |
protected String name
protected DapXML parent
protected DapXML.NodeType nodetype
protected String prefix
protected String value
protected String text
public DapXML()
public DapXML(DapXML.NodeType nodetype, String fullname)
public String getName()
public void setName(String name)
public DapXML.NodeType getNodeType()
public void setNodeType(DapXML.NodeType nodetype)
public String getLocalName()
public void setLocalName(String localname)
public String getPrefix()
public void setPrefix(String prefix)
public DapXML getParent()
public void setParent(DapXML parent)
public void addElement(DapXML child)
public void addXMLAttribute(DapXML attr) throws DapException
DapExceptionpublic String getValue()
public void setValue(String value)
public String getText()
public void setText(String text)
protected void stringify(int depth,
StringBuilder buf)
protected void indent(int n,
StringBuilder buf)