From b0e2586fc0ade71cb5f094c4cc3b2add409a59b5 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Mon, 07 May 2012 21:54:53 +0000
Subject: [PATCH] Initial implementation for OPENDJ-355: Add fluent API for decoding attributes

---
 opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/AttributeParser.java |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/AttributeParser.java b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/AttributeParser.java
index c34923a..ecffa5c 100644
--- a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/AttributeParser.java
+++ b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/AttributeParser.java
@@ -41,14 +41,15 @@
 import com.forgerock.opendj.util.Functions;
 
 /**
- * A fluent API for parsing attributes as different types of value. An attribute
- * parser is obtained from an entry using the method
+ * A fluent API for parsing attributes as different types of object. An
+ * attribute parser is obtained from an entry using the method
  * {@link Entry#parseAttribute} or from an attribute using
- * {@link Attribute#parse()}.
+ * {@link Attribute#parse}.
  * <p>
  * Methods throw an {@code IllegalArgumentException} when a value cannot be
  * parsed (e.g. because its syntax is invalid). Methods which return a
- * {@code Set} always return a modifiable non-{@code null} result.
+ * {@code Set} always return a modifiable non-{@code null} result, even if the
+ * attribute is {@code null} or empty.
  * <p>
  * Examples:
  *
@@ -65,7 +66,7 @@
  * </pre>
  *
  * @see Entry#parseAttribute
- * @see Attribute#parse()
+ * @see Attribute#parse
  */
 public final class AttributeParser {
     // TODO: enums, filters, rdns?

--
Gitblit v1.10.0