Package org.ldaptive
Class LdapEntry.AttributeParser
java.lang.Object
org.ldaptive.LdapEntry.AttributeParser
- Enclosing class:
- LdapEntry
Parses a buffer containing an attribute name and it's values.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NAME_PATH
DER path to name. -
VALUES_PATH
DER path to values. -
parser
Parser for decoding LDAP attributes. -
name
Attribute name. -
values
Attribute values.
-
-
Constructor Details
-
AttributeParser
public AttributeParser()Creates a new attribute parser.
-
-
Method Details
-
parse
Examines the supplied buffer and parses an LDAP attribute if one is found.- Parameters:
buffer
- to parse
-
getName
Returns the attribute name.- Returns:
- attribute name or empty
-
getValues
Returns the attribute values.- Returns:
- attribute values or empty
-