com.cysols.iodef
Class IAttribute

java.lang.Object
  extended by com.cysols.iodef.IAttribute

public class IAttribute
extends Object

The Attribute represents an attribute element in an XML document.

Author:
cysol

Constructor Summary
IAttribute(String name)
          Instantiates with the specified name.
IAttribute(String uri, String name)
          Instantiates with the specified name.
 
Method Summary
 String getName()
          Returns the name of the attribute
 String getNameSpace()
          Returns the namespace URI of this attribute.
 String getValue()
          Returns the attribute value.
 void setName(String name)
          Sets the name to this instance.
 void setNameSpece(String namespece)
          Sets the namespace URI to this attribute element.
 void setValue(String value)
          Sets the attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IAttribute

public IAttribute(String name)
Instantiates with the specified name.

Parameters:
name - the name of the attribute to instantiate.

IAttribute

public IAttribute(String uri,
                  String name)
Instantiates with the specified name.

Parameters:
uri - the namespace URI of the attribute to create.
name - the name of the attribute to instantiate.
Method Detail

getName

public String getName()
Returns the name of the attribute

Returns:
the name of the attribute

setName

public void setName(String name)
Sets the name to this instance.

Parameters:
name - the name of the attribute

getNameSpace

public String getNameSpace()
Returns the namespace URI of this attribute.

Returns:
the namespace URI of this attribute.

setNameSpece

public void setNameSpece(String namespece)
Sets the namespace URI to this attribute element.

Parameters:
namespece - namespace URI

getValue

public String getValue()
Returns the attribute value.

Returns:
the attribute value.

setValue

public void setValue(String value)
Sets the attribute value.

Parameters:
value - attribute value