public class SimpleAttribute extends Object implements XmlAttribute
SimpleAttribute provides a basic implementation of an XmlAttribute.| Constructor and Description |
|---|
SimpleAttribute(XmlElement xmlElement, String sName, XmlValue xmlValue)
Standard Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Return the name of the
XmlAttribute. |
QualifiedName |
getQualifiedName()
Return the
QualifiedName of the XmlAttribute. |
XmlElement |
getXmlElement()
Return the
XmlElement in which the XmlAttribute is defined. |
XmlValue |
getXmlValue()
Return the
XmlValue defined by the XmlAttribute. |
public SimpleAttribute(XmlElement xmlElement, String sName, XmlValue xmlValue)
xmlElement - The XmlElement in which the XmlAttribute is defined.sName - The name of the XmlAttributexmlValue - The value of the XmlElement represented as an XmlValue.public String getName()
XmlAttribute.getName in interface XmlAttributeStringpublic QualifiedName getQualifiedName()
QualifiedName of the XmlAttribute.getQualifiedName in interface XmlAttributeQualifiedNamepublic XmlElement getXmlElement()
XmlElement in which the XmlAttribute is defined.getXmlElement in interface XmlAttributeXmlElementpublic XmlValue getXmlValue()
XmlValue defined by the XmlAttribute.getXmlValue in interface XmlAttributeXmlValue