public class AttributesProxy
extends java.lang.Object
implements javax.naming.directory.Attributes
Modifier and Type | Field and Description |
---|---|
protected java.util.HashMap<java.lang.String,javax.naming.directory.Attribute> |
attributes_ |
protected boolean |
ignoreCase_ |
Constructor and Description |
---|
AttributesProxy(java.util.Collection<javax.naming.directory.Attribute> attribs,
boolean ignoreCase) |
AttributesProxy(java.lang.String[] attribs,
boolean ignoreCase) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
javax.naming.directory.Attribute |
get(java.lang.String attrID) |
javax.naming.NamingEnumeration<? extends javax.naming.directory.Attribute> |
getAll() |
javax.naming.NamingEnumeration<java.lang.String> |
getIDs() |
protected java.lang.Object |
getProperty(java.lang.String id) |
boolean |
isCaseIgnored() |
protected javax.naming.directory.Attribute |
newAttribute(java.lang.String attrID,
java.lang.Object val) |
javax.naming.directory.Attribute |
put(javax.naming.directory.Attribute attr) |
javax.naming.directory.Attribute |
put(java.lang.String attrID,
java.lang.Object val) |
javax.naming.directory.Attribute |
remove(java.lang.String attrID) |
protected java.lang.Object |
removeProperty(java.lang.String id) |
protected java.lang.Object |
setProperty(java.lang.String id,
java.lang.Object value) |
int |
size() |
protected final java.util.HashMap<java.lang.String,javax.naming.directory.Attribute> attributes_
protected final boolean ignoreCase_
public AttributesProxy(java.lang.String[] attribs, boolean ignoreCase)
public AttributesProxy(java.util.Collection<javax.naming.directory.Attribute> attribs, boolean ignoreCase)
public boolean isCaseIgnored()
isCaseIgnored
in interface javax.naming.directory.Attributes
public int size()
size
in interface javax.naming.directory.Attributes
public javax.naming.directory.Attribute get(java.lang.String attrID)
get
in interface javax.naming.directory.Attributes
public javax.naming.NamingEnumeration<? extends javax.naming.directory.Attribute> getAll()
getAll
in interface javax.naming.directory.Attributes
public javax.naming.NamingEnumeration<java.lang.String> getIDs()
getIDs
in interface javax.naming.directory.Attributes
public javax.naming.directory.Attribute put(java.lang.String attrID, java.lang.Object val)
put
in interface javax.naming.directory.Attributes
public javax.naming.directory.Attribute put(javax.naming.directory.Attribute attr)
put
in interface javax.naming.directory.Attributes
public java.lang.Object clone()
clone
in interface javax.naming.directory.Attributes
clone
in class java.lang.Object
public javax.naming.directory.Attribute remove(java.lang.String attrID)
remove
in interface javax.naming.directory.Attributes
protected java.lang.Object setProperty(java.lang.String id, java.lang.Object value) throws java.lang.IllegalStateException
java.lang.IllegalStateException
protected java.lang.Object getProperty(java.lang.String id) throws javax.naming.NamingException
javax.naming.NamingException
protected java.lang.Object removeProperty(java.lang.String id)
protected javax.naming.directory.Attribute newAttribute(java.lang.String attrID, java.lang.Object val)