public class XMLElement extends Object
Modifier and Type | Field and Description |
---|---|
protected List<XMLAttribute> |
attributeList |
protected List |
childElements |
protected String |
elementName |
protected String |
elementValue |
protected String |
namespacePrefix |
Constructor and Description |
---|
XMLElement() |
XMLElement(String elementName,
String elementValue,
String namespacePrefix) |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(XMLAttribute attribute) |
void |
addChildElement(XMLElement child) |
void |
addChildElementAsString(String childElementValue) |
String |
getElementName() |
String |
getElementValue() |
String |
getNamespacePrefix() |
String |
getStringValue() |
void |
setElementName(String string) |
void |
setElementValue(String string) |
void |
setNamespacePrefix(String string) |
String |
toString() |
protected String elementName
protected String namespacePrefix
protected String elementValue
protected List<XMLAttribute> attributeList
protected List childElements
public String getStringValue()
public void addAttribute(XMLAttribute attribute)
public void addChildElement(XMLElement child)
public void addChildElementAsString(String childElementValue)
public String getElementName()
public String getElementValue()
public String getNamespacePrefix()
public void setElementName(String string)
public void setElementValue(String string)
public void setNamespacePrefix(String string)
Copyright © 2017 Nets Branch Norway. All Rights Reserved.