org.apache.directory.shared.ldap.util
Class ImmutableAttributeWrapper
java.lang.Object
org.apache.directory.shared.ldap.util.ImmutableAttributeWrapper
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, javax.naming.directory.Attribute
public class ImmutableAttributeWrapper
- extends java.lang.Object
- implements javax.naming.directory.Attribute
A read only wrapper around an Attributes object.
- Version:
- $Rev$, $Date$
- Author:
- Apache Directory Project
- See Also:
- Serialized Form
| Fields inherited from interface javax.naming.directory.Attribute |
serialVersionUID |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImmutableAttributeWrapper
public ImmutableAttributeWrapper(javax.naming.directory.Attribute wrapped)
getAll
public javax.naming.NamingEnumeration<?> getAll()
throws javax.naming.NamingException
- Specified by:
getAll in interface javax.naming.directory.Attribute
- Throws:
javax.naming.NamingException
get
public java.lang.Object get()
throws javax.naming.NamingException
- Specified by:
get in interface javax.naming.directory.Attribute
- Throws:
javax.naming.NamingException
size
public int size()
- Specified by:
size in interface javax.naming.directory.Attribute
getID
public java.lang.String getID()
- Specified by:
getID in interface javax.naming.directory.Attribute
contains
public boolean contains(java.lang.Object attrVal)
- Specified by:
contains in interface javax.naming.directory.Attribute
add
public boolean add(java.lang.Object attrVal)
- Specified by:
add in interface javax.naming.directory.Attribute
remove
public boolean remove(java.lang.Object attrval)
- Specified by:
remove in interface javax.naming.directory.Attribute
clear
public void clear()
- Specified by:
clear in interface javax.naming.directory.Attribute
getAttributeSyntaxDefinition
public javax.naming.directory.DirContext getAttributeSyntaxDefinition()
throws javax.naming.NamingException
- Specified by:
getAttributeSyntaxDefinition in interface javax.naming.directory.Attribute
- Throws:
javax.naming.NamingException
getAttributeDefinition
public javax.naming.directory.DirContext getAttributeDefinition()
throws javax.naming.NamingException
- Specified by:
getAttributeDefinition in interface javax.naming.directory.Attribute
- Throws:
javax.naming.NamingException
clone
public java.lang.Object clone()
- Specified by:
clone in interface javax.naming.directory.Attribute- Overrides:
clone in class java.lang.Object
isOrdered
public boolean isOrdered()
- Specified by:
isOrdered in interface javax.naming.directory.Attribute
get
public java.lang.Object get(int ix)
throws javax.naming.NamingException
- Specified by:
get in interface javax.naming.directory.Attribute
- Throws:
javax.naming.NamingException
remove
public java.lang.Object remove(int ix)
- Specified by:
remove in interface javax.naming.directory.Attribute
add
public void add(int ix,
java.lang.Object attrVal)
- Specified by:
add in interface javax.naming.directory.Attribute
set
public java.lang.Object set(int ix,
java.lang.Object attrVal)
- Specified by:
set in interface javax.naming.directory.Attribute
Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.