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 2005/06/16 01:31:38 UTC
svn commit: r190833 -
/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/LdapStatesEnum.java
Author: elecharny
Date: Wed Jun 15 16:31:37 2005
New Revision: 190833
URL: http://svn.apache.org/viewcvs?rev=190833&view=rev
Log:
Added the SubstringFilter states
Modified:
directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/LdapStatesEnum.java
Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/LdapStatesEnum.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/LdapStatesEnum.java?rev=190833&r1=190832&r2=190833&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/LdapStatesEnum.java (original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/LdapStatesEnum.java Wed Jun 15 16:31:37 2005
@@ -645,71 +645,71 @@
/** Filter Assertion Value Value */
public static int FILTER_ASSERTION_VALUE_VALUE = 37;
- // Filter -------------------------------------------------------------
- /** Filter Tag */
- //public static int FILTER__TAG = ;
-
- /** Filter Length */
- //public static int FILTER__LENGTH = ;
-
- /** Filter Value */
- //public static int FILTER__VALUE = ;
-
- /** The last state */
- public static int LAST_FILTER_STATE = 38;
-
- //=========================================================================
- // Filter substring grammar states
- //=========================================================================
// Filter Substrings type -------------------------------------------------
/** Filter Substrings Type Tag */
- public static int FILTER_SUBSTRINGS_TYPE_TAG = 0;
+ public static int FILTER_SUBSTRINGS_TYPE_TAG = 38;
/** Filter Substrings Type Length */
- public static int FILTER_SUBSTRINGS_TYPE_LENGTH = 1;
+ public static int FILTER_SUBSTRINGS_TYPE_LENGTH = 39;
/** Filter Substrings Type Value */
- public static int FILTER_SUBSTRINGS_TYPE_VALUE = 2;
+ public static int FILTER_SUBSTRINGS_TYPE_VALUE = 40;
// Filter Substrings Substrings -------------------------------------------
/** Filter Substrings Substrings Tag */
- public static int FILTER_SUBSTRINGS_SUBSTRINGS_TAG = 3;
+ public static int FILTER_SUBSTRINGS_SUBSTRINGS_TAG = 41;
/** Filter Substrings Substrings Length */
- public static int FILTER_SUBSTRINGS_SUBSTRINGS_LENGTH = 4;
+ public static int FILTER_SUBSTRINGS_SUBSTRINGS_LENGTH = 42;
/** Filter Substrings Substrings Value */
- public static int FILTER_SUBSTRINGS_SUBSTRINGS_VALUE = 5;
+ public static int FILTER_SUBSTRINGS_SUBSTRINGS_VALUE = 43;
// Filter Substrings Substrings Initial -----------------------------------
+ /** Filter Substrings Substrings choice Tag */
+ public static int FILTER_SUBSTRINGS_SUBSTRINGS_CHOICE_TAG = 44;
+
/** Filter Substrings Substrings Initial Tag */
- public static int FILTER_SUBSTRINGS_SUBSTRINGS_INITIAL_TAG = 6;
+ public static int FILTER_SUBSTRINGS_SUBSTRINGS_INITIAL_TAG = 45;
/** Filter Substrings Substrings Initial Length */
- public static int FILTER_SUBSTRINGS_SUBSTRINGS_INITIAL_LENGTH = 7;
+ public static int FILTER_SUBSTRINGS_SUBSTRINGS_INITIAL_LENGTH = 46;
/** Filter Substrings Substrings Initial Value */
- public static int FILTER_SUBSTRINGS_SUBSTRINGS_INITIAL_VALUE = 8;
+ public static int FILTER_SUBSTRINGS_SUBSTRINGS_INITIAL_VALUE = 47;
// Filter Substrings Substrings Any ---------------------------------------
/** Filter Substrings Substrings Any Tag */
- public static int FILTER_SUBSTRINGS_SUBSTRINGS_ANY_TAG = 9;
+ public static int FILTER_SUBSTRINGS_SUBSTRINGS_ANY_TAG = 48;
/** Filter Substrings Substrings Any Length */
- public static int FILTER_SUBSTRINGS_SUBSTRINGS_ANY_LENGTH = 10;
+ public static int FILTER_SUBSTRINGS_SUBSTRINGS_ANY_LENGTH = 49;
/** Filter Substrings Substrings Any Value */
- public static int FILTER_SUBSTRINGS_SUBSTRINGS_ANY_VALUE = 11;
+ public static int FILTER_SUBSTRINGS_SUBSTRINGS_ANY_VALUE = 50;
+
+ /** Filter Substrings Substrings Any Value loop*/
+ public static int FILTER_SUBSTRINGS_SUBSTRINGS_ANY_VALUE_LOOP = 51;
// Filter Substrings Substrings Final -------------------------------------
/** Filter Substrings Substrings Final Tag */
- public static int FILTER_SUBSTRINGS_SUBSTRINGS_FINAL_TAG = 12;
+ public static int FILTER_SUBSTRINGS_SUBSTRINGS_FINAL_TAG = 52;
/** Filter Substrings Substrings Final Length */
- public static int FILTER_SUBSTRINGS_SUBSTRINGS_FINAL_LENGTH = 13;
+ public static int FILTER_SUBSTRINGS_SUBSTRINGS_FINAL_LENGTH = 53;
/** Filter Substrings Substrings Final Value */
- public static int FILTER_SUBSTRINGS_SUBSTRINGS_FINAL_VALUE = 14;
+ public static int FILTER_SUBSTRINGS_SUBSTRINGS_FINAL_VALUE = 54;
+
+ /** The last state */
+ public static int LAST_FILTER_STATE = 55;
+
+ //=========================================================================
+ // Filter substring grammar states
+ //=========================================================================
+
+ /** The last state */
+ public static int LAST_FILTER_SUBSTRINGS_STATE = 16;
//=========================================================================
// Grammars declaration.
@@ -828,7 +828,8 @@
"MODIFY_DN_RESPONSE_GRAMMAR_SWITCH",
"SEARCH_RESULT_DONE_GRAMMAR_SWITCH",
"SEARCH_REQUEST_GRAMMAR_SWITCH",
- "FILTER_GRAMMAR_SWITCH"
+ "FILTER_GRAMMAR_SWITCH",
+ "SUBSTRING_FILTER_GRAMMAR_SWITCH"
};
//=========================================================================
@@ -1084,6 +1085,22 @@
"FILTER_ASSERTION_VALUE_TAG",
"FILTER_ASSERTION_VALUE_LENGTH",
"FILTER_ASSERTION_VALUE_VALUE",
+ "FILTER_SUBSTRINGS_TYPE_TAG",
+ "FILTER_SUBSTRINGS_TYPE_LENGTH",
+ "FILTER_SUBSTRINGS_TYPE_VALUE",
+ "FILTER_SUBSTRINGS_SUBSTRINGS_TAG",
+ "FILTER_SUBSTRINGS_SUBSTRINGS_LENGTH",
+ "FILTER_SUBSTRINGS_SUBSTRINGS_VALUE",
+ "FILTER_SUBSTRINGS_SUBSTRINGS_INITIAL_TAG",
+ "FILTER_SUBSTRINGS_SUBSTRINGS_INITIAL_LENGTH",
+ "FILTER_SUBSTRINGS_SUBSTRINGS_INITIAL_VALUE",
+ "FILTER_SUBSTRINGS_SUBSTRINGS_ANY_TAG",
+ "FILTER_SUBSTRINGS_SUBSTRINGS_ANY_LENGTH",
+ "FILTER_SUBSTRINGS_SUBSTRINGS_ANY_VALUE",
+ "FILTER_SUBSTRINGS_SUBSTRINGS_ANY_VALUE_LOOP",
+ "FILTER_SUBSTRINGS_SUBSTRINGS_FINAL_TAG",
+ "FILTER_SUBSTRINGS_SUBSTRINGS_FINAL_LENGTH",
+ "FILTER_SUBSTRINGS_SUBSTRINGS_FINAL_VALUE",
"FILTER_END_STATE"
};
@@ -1277,7 +1294,7 @@
case FILTER_GRAMMAR :
return ( ( state == GRAMMAR_END ) ? "FILTER_END_STATE" : FilterString[state] );
-
+
default :
return "UNKNOWN";
}