|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.slamd.tools.makeldif.AttributeList
public class AttributeList
This class defines an attribute list that holds attribute names and values, as well as the separators between them in LDIF output (can be either ": " or ":: " depending on whether the value is base64-encoded or not).
| Constructor Summary | |
|---|---|
AttributeList()
Creates a new attribute list with no attribute information. |
|
| Method Summary | |
|---|---|
void |
addAttribute(java.lang.String name,
java.lang.String lowerName,
java.lang.String separator,
java.lang.String value)
Adds a new attribute definition to this attribute list. |
java.lang.String |
getValue(java.lang.String attributeName)
Retrieves the value of the specified attribute in this attribute list. |
java.lang.String |
getValueForLowerName(java.lang.String lowerName)
Retrieves the value of the specified attribute in this attribute list. |
java.lang.String[] |
getValues(java.lang.String attributeName)
Retrieves the set of values for the specified attribute in this attribute list. |
java.lang.String |
toString()
Returns a string representation of this attribute list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AttributeList()
| Method Detail |
|---|
public void addAttribute(java.lang.String name,
java.lang.String lowerName,
java.lang.String separator,
java.lang.String value)
name - The name of the attribute to add.lowerName - The name of the attribute to add, converted to
lowercase.separator - The separator to place between the name and the value
in the LDIF output.value - The value of the attribute to add.public java.lang.String getValue(java.lang.String attributeName)
attributeName - The name of the attribute for which to retrieve the
value.
public java.lang.String getValueForLowerName(java.lang.String lowerName)
lowerName - The name of the attribute for which to retrieve the
value, already represented as a lowercase string.
public java.lang.String[] getValues(java.lang.String attributeName)
attributeName - The name of the attribute for which to retrieve the
set of values.
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||