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
ASimpleAttributeprovides 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 StringgetName()Return the name of theXmlAttribute.QualifiedNamegetQualifiedName()Return theQualifiedNameof theXmlAttribute.XmlElementgetXmlElement()Return theXmlElementin which theXmlAttributeis defined.XmlValuegetXmlValue()Return theXmlValuedefined by theXmlAttribute. 
 - 
 
- 
- 
Constructor Detail
- 
SimpleAttribute
public SimpleAttribute(XmlElement xmlElement, String sName, XmlValue xmlValue)
Standard Constructor.- Parameters:
 xmlElement- TheXmlElementin which theXmlAttributeis defined.sName- The name of theXmlAttributexmlValue- The value of theXmlElementrepresented as anXmlValue.
 
 - 
 
- 
Method Detail
- 
getName
public String getName()
Return the name of theXmlAttribute.- Specified by:
 getNamein interfaceXmlAttribute- Returns:
 - A 
String 
 
- 
getQualifiedName
public QualifiedName getQualifiedName()
Return theQualifiedNameof theXmlAttribute.- Specified by:
 getQualifiedNamein interfaceXmlAttribute- Returns:
 - A 
QualifiedName 
 
- 
getXmlElement
public XmlElement getXmlElement()
Return theXmlElementin which theXmlAttributeis defined.- Specified by:
 getXmlElementin interfaceXmlAttribute- Returns:
 - An 
XmlElement 
 
- 
getXmlValue
public XmlValue getXmlValue()
Return theXmlValuedefined by theXmlAttribute.- Specified by:
 getXmlValuein interfaceXmlAttribute- Returns:
 - An 
XmlValue 
 
 - 
 
 -