org.apache.felix.ipojo.metadata
Class Attribute

java.lang.Object
  extended by org.apache.felix.ipojo.metadata.Attribute

public class Attribute
extends java.lang.Object

Attribute.

Author:
Felix Project Team

Constructor Summary
Attribute(java.lang.String name, java.lang.String value)
          Constructor.
Attribute(java.lang.String name, java.lang.String ns, java.lang.String value)
          Constructor.
 
Method Summary
 java.lang.String getName()
          Get the attribute name.
 java.lang.String getNameSpace()
          Get attribute namespace.
 java.lang.String getValue()
          Get attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Attribute

public Attribute(java.lang.String name,
                 java.lang.String value)
Constructor.

Parameters:
name - : name of the attribute.
value - : value of the attribute.

Attribute

public Attribute(java.lang.String name,
                 java.lang.String ns,
                 java.lang.String value)
Constructor.

Parameters:
name - : name of the attribute.
value - : value of the attribute.
ns - : namespace of the attribute.
Method Detail

getName

public java.lang.String getName()
Get the attribute name.

Returns:
the name

getValue

public java.lang.String getValue()
Get attribute value.

Returns:
the value

getNameSpace

public java.lang.String getNameSpace()
Get attribute namespace.

Returns:
the namespace