org.apache.directory.shared.ldap.util
Class ImmutableAttributesWrapper

java.lang.Object
  extended by org.apache.directory.shared.ldap.util.ImmutableAttributesWrapper
All Implemented Interfaces:
Serializable, Cloneable, Attributes

public class ImmutableAttributesWrapper
extends Object
implements Attributes

Document me!

Version:
$Rev$, $Date$
Author:
Apache Directory Project
See Also:
Serialized Form

Constructor Summary
ImmutableAttributesWrapper(Attributes wrapped)
           
 
Method Summary
 Object clone()
           
 Attribute get(String attrID)
           
 NamingEnumeration<? extends Attribute> getAll()
           
 NamingEnumeration<String> getIDs()
           
 boolean isCaseIgnored()
           
 Attribute put(Attribute attr)
           
 Attribute put(String attrID, Object val)
           
 Attribute remove(String attrID)
           
 int size()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImmutableAttributesWrapper

public ImmutableAttributesWrapper(Attributes wrapped)
Method Detail

isCaseIgnored

public boolean isCaseIgnored()
Specified by:
isCaseIgnored in interface Attributes

size

public int size()
Specified by:
size in interface Attributes

get

public Attribute get(String attrID)
Specified by:
get in interface Attributes

getAll

public NamingEnumeration<? extends Attribute> getAll()
Specified by:
getAll in interface Attributes

getIDs

public NamingEnumeration<String> getIDs()
Specified by:
getIDs in interface Attributes

put

public Attribute put(String attrID,
                     Object val)
Specified by:
put in interface Attributes

put

public Attribute put(Attribute attr)
Specified by:
put in interface Attributes

remove

public Attribute remove(String attrID)
Specified by:
remove in interface Attributes

clone

public Object clone()
Specified by:
clone in interface Attributes
Overrides:
clone in class Object


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.