at.woli.xml
Class XMLDataAttribute

java.lang.Object
  extended by at.woli.xml.XMLDataAttribute

public class XMLDataAttribute
extends Object

XMLDataAttribute to store an Attribute of an element. This class is used by XMLDataElement.

Version:
1.0.0
Author:
Wolfgang Nitzlnader

Field Summary
private  String attributeName
          Name of the XMLDataAttribute
private  String attributeValue
          Value of the XMLDataAttribute
 
Constructor Summary
XMLDataAttribute()
          Standard constructor all variables are initialized with 0.
XMLDataAttribute(String attributeName, String attributeValue)
           
 
Method Summary
 String getAttributeName()
          Returns the name of the attribute
 String getAttributeValue()
          Returns the value of the attribute
 void setAttributeName(String attributeName)
          Sets the name of the attribute
 void setAttributeValue(String attributeValue)
          Sets the value of the attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attributeName

private String attributeName
Name of the XMLDataAttribute


attributeValue

private String attributeValue
Value of the XMLDataAttribute

Constructor Detail

XMLDataAttribute

public XMLDataAttribute()
Standard constructor all variables are initialized with 0.


XMLDataAttribute

public XMLDataAttribute(String attributeName,
                        String attributeValue)
Parameters:
attributeName - The Name of the new attribute
attributeValue - The Value of the new attribute
Method Detail

getAttributeName

public String getAttributeName()
Returns the name of the attribute

Returns:
the name of the attribute

setAttributeName

public void setAttributeName(String attributeName)
Sets the name of the attribute

Parameters:
attributeName - the new name of the attribute

getAttributeValue

public String getAttributeValue()
Returns the value of the attribute

Returns:
the value of the attribute

setAttributeValue

public void setAttributeValue(String attributeValue)
Sets the value of the attribute.

Parameters:
attributeValue - the new value of the attribute