org.idoox.xml
Class Attribute

java.lang.Object
  extended byorg.idoox.xml.Attribute

public class Attribute
extends java.lang.Object

Representation of an element attribute. Contains attribute's local name, namespace, prefix, qualified name and value.

Since:
4.0
Component:
Core

Field Summary
 java.lang.String localName
          local name of the attribute
 java.lang.String prefix
          prefix of the attribute
 java.lang.String qName
          unparsed qname of the attribute
 java.lang.String uri
          the namespace URI of the attribute
 java.lang.String value
          value of the attribute
 
Constructor Summary
Attribute()
          Creates a new Attribute instance.
 
Method Summary
 java.lang.String toString()
          Converts attribute to a string representation
 void writeTo(Attribute dest)
          Copies this attribute to the specified destination.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

uri

public java.lang.String uri
the namespace URI of the attribute


localName

public java.lang.String localName
local name of the attribute


qName

public java.lang.String qName
unparsed qname of the attribute


value

public java.lang.String value
value of the attribute


prefix

public java.lang.String prefix
prefix of the attribute

Constructor Detail

Attribute

public Attribute()
Creates a new Attribute instance.

Method Detail

toString

public java.lang.String toString()
Converts attribute to a string representation

Returns:
human readable representation of the attribute

writeTo

public void writeTo(Attribute dest)
Copies this attribute to the specified destination.

Parameters:
dest - destination attribute where this attribute will be copied; out parameter
Since:
4.0 SP2