org.exoplatform.services.token.attribute
Class Attributes

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<Attribute>
              extended by org.exoplatform.services.token.attribute.Attributes
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<Attribute>, java.util.Collection<Attribute>, java.util.List<Attribute>, java.util.RandomAccess

public class Attributes
extends java.util.ArrayList<Attribute>

Author : Nhu Dinh Thuan Email:nhudinhthuan@yahoo.com Aug 6, 2006

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
Attributes(Node<?> n)
           
 
Method Summary
 Attribute get(java.lang.String name)
           
 java.lang.String getAttributeValue(java.lang.String name)
           
 int indexOf(java.lang.Object elem)
           
 void remove(java.lang.String name)
           
 void removeAll()
           
 void set(Attribute attr)
           
 void set(java.util.List<Attribute> list)
           
 java.lang.String toString()
           
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

Attributes

public Attributes(Node<?> n)
Method Detail

get

public Attribute get(java.lang.String name)

getAttributeValue

public java.lang.String getAttributeValue(java.lang.String name)

set

public void set(java.util.List<Attribute> list)

set

public void set(Attribute attr)

remove

public void remove(java.lang.String name)

removeAll

public void removeAll()

indexOf

public int indexOf(java.lang.Object elem)
Specified by:
indexOf in interface java.util.List<Attribute>
Overrides:
indexOf in class java.util.ArrayList<Attribute>

toString

public java.lang.String toString()
Overrides:
toString in class java.util.AbstractCollection<Attribute>


Copyright © 2012 eXo Platform SAS. All Rights Reserved.