Package com.tangosol.run.xml
Class SimpleAttribute
- java.lang.Object
-
- com.tangosol.run.xml.SimpleAttribute
-
- All Implemented Interfaces:
XmlAttribute
public class SimpleAttribute extends Object implements XmlAttribute
ASimpleAttribute
provides a basic implementation of anXmlAttribute
.- Author:
- bko 2011.06.14
-
-
Constructor Summary
Constructors Constructor Description SimpleAttribute(XmlElement xmlElement, String sName, XmlValue xmlValue)
Standard Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Return the name of theXmlAttribute
.QualifiedName
getQualifiedName()
Return theQualifiedName
of theXmlAttribute
.XmlElement
getXmlElement()
Return theXmlElement
in which theXmlAttribute
is defined.XmlValue
getXmlValue()
Return theXmlValue
defined by theXmlAttribute
.
-
-
-
Constructor Detail
-
SimpleAttribute
public SimpleAttribute(XmlElement xmlElement, String sName, XmlValue xmlValue)
Standard Constructor.- Parameters:
xmlElement
- TheXmlElement
in which theXmlAttribute
is defined.sName
- The name of theXmlAttribute
xmlValue
- The value of theXmlElement
represented as anXmlValue
.
-
-
Method Detail
-
getName
public String getName()
Return the name of theXmlAttribute
.- Specified by:
getName
in interfaceXmlAttribute
- Returns:
- A
String
-
getQualifiedName
public QualifiedName getQualifiedName()
Return theQualifiedName
of theXmlAttribute
.- Specified by:
getQualifiedName
in interfaceXmlAttribute
- Returns:
- A
QualifiedName
-
getXmlElement
public XmlElement getXmlElement()
Return theXmlElement
in which theXmlAttribute
is defined.- Specified by:
getXmlElement
in interfaceXmlAttribute
- Returns:
- An
XmlElement
-
getXmlValue
public XmlValue getXmlValue()
Return theXmlValue
defined by theXmlAttribute
.- Specified by:
getXmlValue
in interfaceXmlAttribute
- Returns:
- An
XmlValue
-
-