Package org.ldaptive
Class LdapEntry.AttributeParser
- java.lang.Object
-
- org.ldaptive.LdapEntry.AttributeParser
-
-
Field Summary
Fields Modifier and Type Field Description private String
name
Attribute name.private static DERPath
NAME_PATH
DER path to name.private DERParser
parser
Parser for decoding LDAP attributes.private List<byte[]>
values
Attribute values.private static DERPath
VALUES_PATH
DER path to values.
-
Constructor Summary
Constructors Constructor Description AttributeParser()
Creates a new attribute parser.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<String>
getName()
Returns the attribute name.Optional<List<byte[]>>
getValues()
Returns the attribute values.void
parse(DERBuffer buffer)
Examines the supplied buffer and parses an LDAP attribute if one is found.
-
-
-
Field Detail
-
NAME_PATH
private static final DERPath NAME_PATH
DER path to name.
-
VALUES_PATH
private static final DERPath VALUES_PATH
DER path to values.
-
parser
private final DERParser parser
Parser for decoding LDAP attributes.
-
values
private final List<byte[]> values
Attribute values.
-
name
private String name
Attribute name.
-
-