You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2006/11/01 21:35:55 UTC
svn commit: r470089 -
/directory/branches/shared/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifReader.java
Author: elecharny
Date: Wed Nov 1 12:35:54 2006
New Revision: 470089
URL: http://svn.apache.org/viewvc?view=rev&rev=470089
Log:
Fixed javadoc
Modified:
directory/branches/shared/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifReader.java
Modified: directory/branches/shared/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifReader.java
URL: http://svn.apache.org/viewvc/directory/branches/shared/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifReader.java?view=diff&rev=470089&r1=470088&r2=470089
==============================================================================
--- directory/branches/shared/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifReader.java (original)
+++ directory/branches/shared/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifReader.java Wed Nov 1 12:35:54 2006
@@ -394,7 +394,7 @@
/**
* Parse a number following the rules :
*
- * <number> ::= <digit> <digits> <digits> ::= <digit> <digits> | e <digit>
+ * <number> ::= <digit> <digits> <digits> ::= <digit> <digits> | e <digit>
* ::= '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9'
*
* Check that the number is in the interval
@@ -673,15 +673,15 @@
}
/**
- * Parse a control. The grammar is : <control> ::= "control:" <fill>
- * <ldap-oid> <critical-e> <value-spec-e> <sep> <critical-e> ::= <spaces>
- * <boolean> | e <boolean> ::= "true" | "false" <value-spec-e> ::=
- * <value-spec> | e <value-spec> ::= ":" <fill> <SAFE-STRING-e> | "::"
- * <fill> <BASE64-STRING> | ":<" <fill> <url>
- *
- * It can be read as : "control:" <fill> <ldap-oid> [ " "+ ( "true" |
- * "false") ] [ ":" <fill> <SAFE-STRING-e> | "::" <fill> <BASE64-STRING> | ":<"
- * <fill> <url> ]
+ * Parse a control. The grammar is : <control> ::= "control:" <fill>
+ * <ldap-oid> <critical-e> <value-spec-e> <sep> <critical-e> ::= <spaces>
+ * <boolean> | e <boolean> ::= "true" | "false" <value-spec-e> ::=
+ * <value-spec> | e <value-spec> ::= ":" <fill> <SAFE-STRING-e> | "::"
+ * <fill> <BASE64-STRING> | ":<" <fill> <url>
+ *
+ * It can be read as : "control:" <fill> <ldap-oid> [ " "+ ( "true" |
+ * "false") ] [ ":" <fill> <SAFE-STRING-e> | "::" <fill> <BASE64-STRING> | ":<"
+ * <fill> <url> ]
*
* @param line
* The line containing the control
@@ -923,13 +923,13 @@
/**
* Parse a modify change type.
*
- * The grammar is : <changerecord> ::= "changetype:" FILL "modify" SEP
- * <mod-spec> <mod-specs-e> <mod-spec> ::= "add:" <mod-val> | "delete:"
- * <mod-val-del> | "replace:" <mod-val> <mod-specs-e> ::= <mod-spec>
- * <mod-specs-e> | e <mod-val> ::= FILL ATTRIBUTE-DESCRIPTION SEP
- * ATTRVAL-SPEC <attrval-specs-e> "-" SEP <mod-val-del> ::= FILL
- * ATTRIBUTE-DESCRIPTION SEP <attrval-specs-e> "-" SEP <attrval-specs-e> ::=
- * ATTRVAL-SPEC <attrval-specs> | e *
+ * The grammar is : <changerecord> ::= "changetype:" FILL "modify" SEP
+ * <mod-spec> <mod-specs-e> <mod-spec> ::= "add:" <mod-val> | "delete:"
+ * <mod-val-del> | "replace:" <mod-val> <mod-specs-e> ::= <mod-spec>
+ * <mod-specs-e> | e <mod-val> ::= FILL ATTRIBUTE-DESCRIPTION SEP
+ * ATTRVAL-SPEC <attrval-specs-e> "-" SEP <mod-val-del> ::= FILL
+ * ATTRIBUTE-DESCRIPTION SEP <attrval-specs-e> "-" SEP <attrval-specs-e> ::=
+ * ATTRVAL-SPEC <attrval-specs> | e *
*
* @param entry
* The entry to feed
@@ -1054,18 +1054,18 @@
* "newrdn:" and a "deleteoldrdn:" 4) ModRDN : the very same, but a
* "newsuperior:" line is expected 5) Modify :
*
- * The grammar is : <changerecord> ::= "changetype:" FILL "add" SEP
- * <attrval-spec> <attrval-specs-e> | "changetype:" FILL "delete" |
- * "changetype:" FILL "modrdn" SEP <newrdn> SEP <deleteoldrdn> SEP | // To
- * be checked "changetype:" FILL "moddn" SEP <newrdn> SEP <deleteoldrdn> SEP
- * <newsuperior> SEP | "changetype:" FILL "modify" SEP <mod-spec>
- * <mod-specs-e> <newrdn> ::= "newrdn:" FILL RDN | "newrdn::" FILL
- * BASE64-RDN <deleteoldrdn> ::= "deleteoldrdn:" FILL "0" | "deleteoldrdn:"
- * FILL "1" <newsuperior> ::= "newsuperior:" FILL DN | "newsuperior::" FILL
- * BASE64-DN <mod-specs-e> ::= <mod-spec> <mod-specs-e> | e <mod-spec> ::=
- * "add:" <mod-val> | "delete:" <mod-val> | "replace:" <mod-val> <mod-val>
- * ::= FILL ATTRIBUTE-DESCRIPTION SEP ATTRVAL-SPEC <attrval-specs-e> "-" SEP
- * <attrval-specs-e> ::= ATTRVAL-SPEC <attrval-specs> | e
+ * The grammar is : <changerecord> ::= "changetype:" FILL "add" SEP
+ * <attrval-spec> <attrval-specs-e> | "changetype:" FILL "delete" |
+ * "changetype:" FILL "modrdn" SEP <newrdn> SEP <deleteoldrdn> SEP | // To
+ * be checked "changetype:" FILL "moddn" SEP <newrdn> SEP <deleteoldrdn> SEP
+ * <newsuperior> SEP | "changetype:" FILL "modify" SEP <mod-spec>
+ * <mod-specs-e> <newrdn> ::= "newrdn:" FILL RDN | "newrdn::" FILL
+ * BASE64-RDN <deleteoldrdn> ::= "deleteoldrdn:" FILL "0" | "deleteoldrdn:"
+ * FILL "1" <newsuperior> ::= "newsuperior:" FILL DN | "newsuperior::" FILL
+ * BASE64-DN <mod-specs-e> ::= <mod-spec> <mod-specs-e> | e <mod-spec> ::=
+ * "add:" <mod-val> | "delete:" <mod-val> | "replace:" <mod-val> <mod-val>
+ * ::= FILL ATTRIBUTE-DESCRIPTION SEP ATTRVAL-SPEC <attrval-specs-e> "-" SEP
+ * <attrval-specs-e> ::= ATTRVAL-SPEC <attrval-specs> | e
*
* @param entry
* The entry to feed
@@ -1152,12 +1152,12 @@
/**
* Parse a ldif file. The following rules are processed :
*
- * <ldif-file> ::= <ldif-attrval-record> <ldif-attrval-records> |
- * <ldif-change-record> <ldif-change-records> <ldif-attrval-record> ::=
- * <dn-spec> <sep> <attrval-spec> <attrval-specs> <ldif-change-record> ::=
- * <dn-spec> <sep> <controls-e> <changerecord> <dn-spec> ::= "dn:" <fill>
- * <distinguishedName> | "dn::" <fill> <base64-distinguishedName>
- * <changerecord> ::= "changetype:" <fill> <change-op>
+ * <ldif-file> ::= <ldif-attrval-record> <ldif-attrval-records> |
+ * <ldif-change-record> <ldif-change-records> <ldif-attrval-record> ::=
+ * <dn-spec> <sep> <attrval-spec> <attrval-specs> <ldif-change-record> ::=
+ * <dn-spec> <sep> <controls-e> <changerecord> <dn-spec> ::= "dn:" <fill>
+ * <distinguishedName> | "dn::" <fill> <base64-distinguishedName>
+ * <changerecord> ::= "changetype:" <fill> <change-op>
*/
private Entry parseEntry() throws NamingException
{