directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1758788 [3/3] - in /directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model: message/ message/controls/ name/ password/ schema/ schema/comparators/ schema/normalizers/ schema/parsers/ schema/registries/ schema/r...
Date Thu, 01 Sep 2016 14:43:45 GMT
Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/PostalAddressSyntaxChecker.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/PostalAddressSyntaxChecker.java?rev=1758788&r1=1758787&r2=1758788&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/PostalAddressSyntaxChecker.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/PostalAddressSyntaxChecker.java
Thu Sep  1 14:43:44 2016
@@ -30,9 +30,10 @@ import org.slf4j.LoggerFactory;
 /**
  * A SyntaxChecker which verifies that a value is a PostalAddress according to 
  * RFC 4517 :
- * 
- * <postal-address> = <dstring> <dstring-list>
- * <dstring-list> = "$" <dstring> <dstring-list> | e
+ * <pre>
+ * &lt;postal-address&gt; = &lt;dstring&gt; &lt;dstring-list&gt;
+ * &lt;dstring-list&gt; = "$" &lt;dstring&gt; &lt;dstring-list&gt;
| e
+ * </pre>
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/subtree/Subentry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/subtree/Subentry.java?rev=1758788&r1=1758787&r2=1758788&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/subtree/Subentry.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/subtree/Subentry.java
Thu Sep  1 14:43:44 2016
@@ -61,10 +61,9 @@ public class Subentry
 
 
     /**
+     * Store the Set of administrative roles supported by this Subentry
      *
-     * TODO setAdministrativeRoles.
-     *
-     * @param administrativeRoles
+     * @param administrativeRoles The Administrative roles to set
      */
     public final void setAdministrativeRoles( Set<AdministrativeRole> administrativeRoles
)
     {
@@ -72,6 +71,9 @@ public class Subentry
     }
 
 
+    /**
+     * @return The Set of administratoveRole supported by this Subentry
+     */
     public final Set<AdministrativeRole> getAdministrativeRoles()
     {
         return administrativeRoles;
@@ -80,6 +82,8 @@ public class Subentry
 
     /**
      * Tells if the type contains the Collective attribute Administrative Role
+     * 
+     * @return <tt>true</tt> if the type contains the Collective Attribute Administrative
Role, <tt>false</tt> otherwise
      */
     public final boolean isCollectiveAdminRole()
     {
@@ -90,6 +94,8 @@ public class Subentry
 
     /**
      * Tells if the type contains the SubSchema Administrative Role
+     * 
+     * @return <tt>true</tt> if the type contains the SubSchema Administrative
Role, <tt>false</tt> otherwise
      */
     public final boolean isSchemaAdminRole()
     {
@@ -99,6 +105,8 @@ public class Subentry
 
     /**
      * Tells if the type contains the Access Control Administrative Role
+     * 
+     * @return <tt>true</tt> if the type contains the Access Control Administrative
Role, <tt>false</tt> otherwise
      */
     public final boolean isAccessControlAdminRole()
     {
@@ -109,6 +117,8 @@ public class Subentry
 
     /**
      * Tells if the type contains the Triggers Administrative Role
+     * 
+     * @return <tt>true</tt> if the type contains the Triggers Administrative
Role, <tt>false</tt> otherwise
      */
     public final boolean isTriggersAdminRole()
     {

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/subtree/SubtreeSpecificationChecker.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/subtree/SubtreeSpecificationChecker.java?rev=1758788&r1=1758787&r2=1758788&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/subtree/SubtreeSpecificationChecker.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/subtree/SubtreeSpecificationChecker.java
Thu Sep  1 14:43:44 2016
@@ -51,6 +51,8 @@ public class SubtreeSpecificationChecker
 
     /**
      * Creates a normalizing subtree specification parser.
+     * 
+     * @param schemaManager The SchemaManager
      */
     public SubtreeSpecificationChecker( SchemaManager schemaManager )
     {
@@ -68,6 +70,8 @@ public class SubtreeSpecificationChecker
     /**
      * Initializes the plumbing by creating a pipe and coupling the parser/lexer
      * pair with it. param spec the specification to be parsed
+     * 
+     * @param spec The specification to parse
      */
     private synchronized void reset( String spec )
     {
@@ -81,10 +85,8 @@ public class SubtreeSpecificationChecker
     /**
      * Parses a subtree specification without exhausting the parser.
      * 
-     * @param spec
-     *            the specification to be parsed
-     * @throws ParseException
-     *             if there are any recognition errors (bad syntax)
+     * @param spec the specification to be parsed
+     * @throws ParseException if there are any recognition errors (bad syntax)
      */
     public synchronized void parse( String spec ) throws ParseException
     {

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/subtree/SubtreeSpecificationParser.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/subtree/SubtreeSpecificationParser.java?rev=1758788&r1=1758787&r2=1758788&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/subtree/SubtreeSpecificationParser.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/subtree/SubtreeSpecificationParser.java
Thu Sep  1 14:43:44 2016
@@ -54,6 +54,8 @@ public class SubtreeSpecificationParser
 
     /**
      * Creates a subtree specification parser.
+     * 
+     * @param schemaManager The SchemaManager
      */
     public SubtreeSpecificationParser( SchemaManager schemaManager )
     {
@@ -70,6 +72,9 @@ public class SubtreeSpecificationParser
 
     /**
      * Creates a normalizing subtree specification parser.
+     * 
+     * @param resolver The resolver to use
+     * @param schemaManager The SchemaManager
      */
     public SubtreeSpecificationParser( @SuppressWarnings("rawtypes") NormalizerMappingResolver
resolver,
         SchemaManager schemaManager )

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/url/LdapUrl.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/url/LdapUrl.java?rev=1758788&r1=1758787&r2=1758788&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/url/LdapUrl.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/url/LdapUrl.java
Thu Sep  1 14:43:44 2016
@@ -86,7 +86,7 @@ import org.apache.directory.api.util.Uni
  * reg-name    = *( unreserved / pct-encoded / sub-delims )
  * unreserved  = ALPHA / DIGIT / "-" / "." / "_" / "~"
  * pct-encoded = "%" HEXDIG HEXDIG
- * sub-delims  = "!" | "$" | "&" | "'" | "(" | ")" | "*" | "+" | "," | ";" | "="
+ * sub-delims  = "!" | "$" | "&amp;" | "'" | "(" | ")" | "*" | "+" | "," | ";" | "="
  * h16         = 1*4HEXDIG
  * ls32        = ( h16 ":" h16 ) / IPv4address
  * DIGIT       = 0..9
@@ -1521,43 +1521,41 @@ public class LdapUrl
     /**
      * Encode a String to avoid special characters.
      *
-     *
+     * <pre>
      * RFC 4516, section 2.1. (Percent-Encoding)
      *
      * A generated LDAP URL MUST consist only of the restricted set of
      * characters included in one of the following three productions defined
      * in [RFC3986]:
      *
-     *   <reserved>
-     *   <unreserved>
-     *   <pct-encoded>
-     *
+     *   &lt;reserved&gt;
+     *   &lt;unreserved&gt;
+     *   &lt;pct-encoded&gt;
+     * 
      * Implementations SHOULD accept other valid UTF-8 strings [RFC3629] as
      * input.  An octet MUST be encoded using the percent-encoding mechanism
      * described in section 2.1 of [RFC3986] in any of these situations:
-     *
+     * 
      *  The octet is not in the reserved set defined in section 2.2 of
      *  [RFC3986] or in the unreserved set defined in section 2.3 of
      *  [RFC3986].
      *
-     *  It is the single Reserved character '?' and occurs inside a <dn>,
-     *  <filter>, or other element of an LDAP URL.
-     *
-     *  It is a comma character ',' that occurs inside an <exvalue>.
+     *  It is the single Reserved character '?' and occurs inside a &lt;dn&gt;,
+     *  &lt;filter&gt;, or other element of an LDAP URL.
      *
+     *  It is a comma character ',' that occurs inside an &lt;exvalue&gt;.
      *
      * RFC 3986, section 2.2 (Reserved Characters)
-     *
+     * 
      * reserved    = gen-delims / sub-delims
      * gen-delims  = ":" / "/" / "?" / "#" / "[" / "]" / "@"
-     * sub-delims  = "!" / "$" / "&" / "'" / "(" / ")"
+     * sub-delims  = "!" / "$" / "&amp;" / "'" / "(" / ")"
      *              / "*" / "+" / "," / ";" / "="
      *
-     *
      * RFC 3986, section 2.3 (Unreserved Characters)
-     *
+     * 
      * unreserved  = ALPHA / DIGIT / "-" / "." / "_" / "~"
-     *
+     * </pre>
      *
      * @param url The String to encode
      * @param doubleEncode Set if we need to encode the comma



Mime
View raw message