directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r592082 [18/20] - in /directory/sandbox/felixk/studio-ldapbrowser-core: ./ META-INF/ src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/ src/main/java/org/apache/directory/ src/main/java/org/apache/directory/studio/ s...
Date Mon, 05 Nov 2007 16:52:07 GMT
Added: directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaParser.java
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaParser.java?rev=592082&view=auto
==============================================================================
--- directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaParser.java (added)
+++ directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaParser.java Mon Nov  5 08:51:43 2007
@@ -0,0 +1,632 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *  
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *  
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License. 
+ *  
+ */
+
+// $ANTLR 2.7.5 (20050128): "schema.g" -> "SchemaParser.java"$
+package org.apache.directory.studio.ldapbrowser.core.model.schema.parser;
+
+
+import java.io.StringReader;
+
+import org.apache.directory.studio.ldapbrowser.core.model.schema.AttributeTypeDescription;
+import org.apache.directory.studio.ldapbrowser.core.model.schema.LdapSyntaxDescription;
+import org.apache.directory.studio.ldapbrowser.core.model.schema.MatchingRuleDescription;
+import org.apache.directory.studio.ldapbrowser.core.model.schema.MatchingRuleUseDescription;
+import org.apache.directory.studio.ldapbrowser.core.model.schema.ObjectClassDescription;
+
+import antlr.NoViableAltException;
+import antlr.ParserSharedInputState;
+import antlr.RecognitionException;
+import antlr.Token;
+import antlr.TokenBuffer;
+import antlr.TokenStream;
+import antlr.TokenStreamException;
+
+
+public class SchemaParser extends antlr.LLkParser implements SchemaTokenTypes
+{
+
+    public static final void main( String[] args )
+    {
+        try
+        {
+
+            // "( 11.222.333.4444 NAME ( 'test1' 'test2' ) DESC 'a b c'
+            // OBSOLETE SUP top ABSTRACT MUST ( cn ) may ( givenName $ sn)
+            // )"
+            // "( 2.5.4.11 NAME ( 'ou' 'organizationalUnitName' ) DESC
+            // 'RFC2256: organizational unit this object belongs to' SUP
+            // name EQUALITY caseIgnoreMatch SYNTAX 1.2.3.4.5{32} COLLECTIVE
+            // USAGE userApplications )"
+            // "( 2.5.4.11 DESC 'a b c' )"
+            // "( 1.3.6.1.4.1.4203.1.2.1 NAME 'caseExactIA5SubstringsMatch'
+            // SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )"
+            // "( 2.5.13.0 NAME 'objectIdentifierMatch' APPLIES (
+            // supportedApplicationContext $ supportedFeatures $
+            // supportedExtension $ supportedControl ) )"
+            // "( 1.2.840.113548.3.1.4.11110 NAME 'ciscoccnatPAUserPIN' DESC
+            // 'User Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
+            // SINGLE-VALUE X-ORIGIN ( 'Cisco AVVID' 'user defined' ) )"
+            SchemaLexer mainLexer = new SchemaLexer( new StringReader(
+                "( 1.3.6.1.4.1.1466.115.121.1.48 NAME 'Supplier And Consumer'  )" ) );
+
+            SchemaParser parser = new SchemaParser( mainLexer );
+            // ObjectClassDescription d = parser.objectClassDescription();
+            // AttributeTypeDescription d =
+            // parser.attributeTypeDescription();
+            LdapSyntaxDescription d = parser.syntaxDescription();
+            // MatchingRuleDescription d = parser.matchingRuleDescription();
+            // MatchingRuleUseDescription d =
+            // parser.matchingRuleUseDescription();
+            System.out.println( d.toString() );
+        }
+        catch ( Exception e )
+        {
+            System.err.println( "exception: " + e );
+            e.printStackTrace();
+        }
+    }
+
+
+    protected SchemaParser( TokenBuffer tokenBuf, int k )
+    {
+        super( tokenBuf, k );
+        tokenNames = _tokenNames;
+    }
+
+
+    public SchemaParser( TokenBuffer tokenBuf )
+    {
+        this( tokenBuf, 3 );
+    }
+
+
+    protected SchemaParser( TokenStream lexer, int k )
+    {
+        super( lexer, k );
+        tokenNames = _tokenNames;
+    }
+
+
+    public SchemaParser( TokenStream lexer )
+    {
+        this( lexer, 3 );
+    }
+
+
+    public SchemaParser( ParserSharedInputState state )
+    {
+        super( state, 3 );
+        tokenNames = _tokenNames;
+    }
+
+
+    public final ObjectClassDescription objectClassDescription() throws RecognitionException, TokenStreamException
+    {
+        ObjectClassDescription ocd = new ObjectClassDescription();
+
+        Token oid = null;
+        Token name = null;
+        Token desc = null;
+        Token sup = null;
+        Token must = null;
+        Token may = null;
+
+        {
+            oid = LT( 1 );
+            match( STARTNUMERICOID );
+            ocd.setNumericOID( oid.getText() );
+        }
+        {
+            _loop94: do
+            {
+                switch ( LA( 1 ) )
+                {
+                    case NAME:
+                    {
+                        {
+                            name = LT( 1 );
+                            match( NAME );
+                            ocd.setNames( qdescrs( name.getText() ) );
+                        }
+                        break;
+                    }
+                    case DESC:
+                    {
+                        {
+                            desc = LT( 1 );
+                            match( DESC );
+                            ocd.setDesc( qdstring( desc.getText() ) );
+                        }
+                        break;
+                    }
+                    case OBSOLETE:
+                    {
+                        {
+                            match( OBSOLETE );
+                            ocd.setObsolete( true );
+                        }
+                        break;
+                    }
+                    case SUP:
+                    {
+                        {
+                            sup = LT( 1 );
+                            match( SUP );
+                            ocd.setSuperiorObjectClassDescriptionNames( oids( sup.getText() ) );
+                        }
+                        break;
+                    }
+                    case ABSTRACT:
+                    case STRUCTURAL:
+                    case AUXILIARY:
+                    {
+                        {
+                            switch ( LA( 1 ) )
+                            {
+                                case ABSTRACT:
+                                {
+                                    match( ABSTRACT );
+                                    ocd.setAbstract( true );
+                                    break;
+                                }
+                                case STRUCTURAL:
+                                {
+                                    match( STRUCTURAL );
+                                    ocd.setStructural( true );
+                                    break;
+                                }
+                                case AUXILIARY:
+                                {
+                                    match( AUXILIARY );
+                                    ocd.setAuxiliary( true );
+                                    break;
+                                }
+                                default:
+                                {
+                                    throw new NoViableAltException( LT( 1 ), getFilename() );
+                                }
+                            }
+                        }
+                        break;
+                    }
+                    case MUST:
+                    {
+                        {
+                            must = LT( 1 );
+                            match( MUST );
+                            ocd.setMustAttributeTypeDescriptionNames( oids( must.getText() ) );
+                        }
+                        break;
+                    }
+                    case MAY:
+                    {
+                        {
+                            may = LT( 1 );
+                            match( MAY );
+                            ocd.setMayAttributeTypeDescriptionNames( oids( may.getText() ) );
+                        }
+                        break;
+                    }
+                    default:
+                    {
+                        break _loop94;
+                    }
+                }
+            }
+            while ( true );
+        }
+        match( RPAR );
+        return ocd;
+    }
+
+
+    public final AttributeTypeDescription attributeTypeDescription() throws RecognitionException, TokenStreamException
+    {
+        AttributeTypeDescription atd = new AttributeTypeDescription();
+
+        Token oid = null;
+        Token name = null;
+        Token desc = null;
+        Token sup = null;
+        Token equality = null;
+        Token ordering = null;
+        Token substr = null;
+        Token syntax = null;
+        Token usage = null;
+
+        {
+            oid = LT( 1 );
+            match( STARTNUMERICOID );
+            atd.setNumericOID( oid.getText() );
+        }
+        {
+            _loop110: do
+            {
+                switch ( LA( 1 ) )
+                {
+                    case NAME:
+                    {
+                        {
+                            name = LT( 1 );
+                            match( NAME );
+                            atd.setNames( qdescrs( name.getText() ) );
+                        }
+                        break;
+                    }
+                    case DESC:
+                    {
+                        {
+                            desc = LT( 1 );
+                            match( DESC );
+                            atd.setDesc( qdstring( desc.getText() ) );
+                        }
+                        break;
+                    }
+                    case OBSOLETE:
+                    {
+                        {
+                            match( OBSOLETE );
+                            atd.setObsolete( true );
+                        }
+                        break;
+                    }
+                    case SUP:
+                    {
+                        {
+                            sup = LT( 1 );
+                            match( SUP );
+                            atd.setSuperiorAttributeTypeDescriptionName( oid( sup.getText() ) );
+                        }
+                        break;
+                    }
+                    case EQUALITY:
+                    {
+                        {
+                            equality = LT( 1 );
+                            match( EQUALITY );
+                            atd.setEqualityMatchingRuleDescriptionOID( oid( equality.getText() ) );
+                        }
+                        break;
+                    }
+                    case ORDERING:
+                    {
+                        {
+                            ordering = LT( 1 );
+                            match( ORDERING );
+                            atd.setOrderingMatchingRuleDescriptionOID( oid( ordering.getText() ) );
+                        }
+                        break;
+                    }
+                    case SUBSTR:
+                    {
+                        {
+                            substr = LT( 1 );
+                            match( SUBSTR );
+                            atd.setSubstringMatchingRuleDescriptionOID( oid( substr.getText() ) );
+                        }
+                        break;
+                    }
+                    case SYNTAX:
+                    {
+                        {
+                            syntax = LT( 1 );
+                            match( SYNTAX );
+                            atd.setSyntaxDescriptionNumericOIDPlusLength( qdstring( syntax.getText() ) );
+                        }
+                        break;
+                    }
+                    case SINGLE_VALUE:
+                    {
+                        {
+                            match( SINGLE_VALUE );
+                            atd.setSingleValued( true );
+                        }
+                        break;
+                    }
+                    case COLLECTIVE:
+                    {
+                        {
+                            match( COLLECTIVE );
+                            atd.setCollective( true );
+                        }
+                        break;
+                    }
+                    case NO_USER_MODIFICATION:
+                    {
+                        {
+                            match( NO_USER_MODIFICATION );
+                            atd.setNoUserModification( true );
+                        }
+                        break;
+                    }
+                    case USAGE:
+                    {
+                        {
+                            usage = LT( 1 );
+                            match( USAGE );
+                            atd.setUsage( usage.getText() );
+                        }
+                        break;
+                    }
+                    default:
+                    {
+                        break _loop110;
+                    }
+                }
+            }
+            while ( true );
+        }
+        match( RPAR );
+        return atd;
+    }
+
+
+    public final LdapSyntaxDescription syntaxDescription() throws RecognitionException, TokenStreamException
+    {
+        LdapSyntaxDescription lsd = new LdapSyntaxDescription();
+
+        Token oid = null;
+        Token desc = null;
+        Token name = null;
+
+        {
+            oid = LT( 1 );
+            match( STARTNUMERICOID );
+            lsd.setNumericOID( oid.getText() );
+        }
+        {
+            _loop116: do
+            {
+                switch ( LA( 1 ) )
+                {
+                    case DESC:
+                    {
+                        {
+                            desc = LT( 1 );
+                            match( DESC );
+                            lsd.setDesc( qdstring( desc.getText() ) );
+                        }
+                        break;
+                    }
+                    case NAME:
+                    {
+                        {
+                            name = LT( 1 );
+                            match( NAME );
+                            lsd.setDesc( qdstring( name.getText() ) );
+                        }
+                        break;
+                    }
+                    default:
+                    {
+                        break _loop116;
+                    }
+                }
+            }
+            while ( true );
+        }
+        match( RPAR );
+        return lsd;
+    }
+
+
+    public final MatchingRuleDescription matchingRuleDescription() throws RecognitionException, TokenStreamException
+    {
+        MatchingRuleDescription mrd = new MatchingRuleDescription();
+
+        Token oid = null;
+        Token name = null;
+        Token desc = null;
+        Token syntax = null;
+
+        {
+            oid = LT( 1 );
+            match( STARTNUMERICOID );
+            mrd.setNumericOID( oid.getText() );
+        }
+        {
+            _loop124: do
+            {
+                switch ( LA( 1 ) )
+                {
+                    case NAME:
+                    {
+                        {
+                            name = LT( 1 );
+                            match( NAME );
+                            mrd.setNames( qdescrs( name.getText() ) );
+                        }
+                        break;
+                    }
+                    case DESC:
+                    {
+                        {
+                            desc = LT( 1 );
+                            match( DESC );
+                            mrd.setDesc( qdstring( desc.getText() ) );
+                        }
+                        break;
+                    }
+                    case OBSOLETE:
+                    {
+                        {
+                            match( OBSOLETE );
+                            mrd.setObsolete( true );
+                        }
+                        break;
+                    }
+                    case SYNTAX:
+                    {
+                        {
+                            syntax = LT( 1 );
+                            match( SYNTAX );
+                            mrd.setSyntaxDescriptionNumericOID( syntax.getText() );
+                        }
+                        break;
+                    }
+                    default:
+                    {
+                        break _loop124;
+                    }
+                }
+            }
+            while ( true );
+        }
+        match( RPAR );
+        return mrd;
+    }
+
+
+    public final MatchingRuleUseDescription matchingRuleUseDescription() throws RecognitionException,
+        TokenStreamException
+    {
+        MatchingRuleUseDescription mrud = new MatchingRuleUseDescription();
+
+        Token oid = null;
+        Token name = null;
+        Token desc = null;
+        Token applies = null;
+
+        {
+            oid = LT( 1 );
+            match( STARTNUMERICOID );
+            mrud.setNumericOID( oid.getText() );
+        }
+        {
+            _loop132: do
+            {
+                switch ( LA( 1 ) )
+                {
+                    case NAME:
+                    {
+                        {
+                            name = LT( 1 );
+                            match( NAME );
+                            mrud.setNames( qdescrs( name.getText() ) );
+                        }
+                        break;
+                    }
+                    case DESC:
+                    {
+                        {
+                            desc = LT( 1 );
+                            match( DESC );
+                            mrud.setDesc( qdstring( desc.getText() ) );
+                        }
+                        break;
+                    }
+                    case OBSOLETE:
+                    {
+                        {
+                            match( OBSOLETE );
+                            mrud.setObsolete( true );
+                        }
+                        break;
+                    }
+                    case APPLIES:
+                    {
+                        {
+                            applies = LT( 1 );
+                            match( APPLIES );
+                            mrud.setAppliesAttributeTypeDescriptionOIDs( oids( applies.getText() ) );
+                        }
+                        break;
+                    }
+                    default:
+                    {
+                        break _loop132;
+                    }
+                }
+            }
+            while ( true );
+        }
+        match( RPAR );
+        return mrud;
+    }
+
+
+    public final String oid( String s ) throws RecognitionException, TokenStreamException
+    {
+        String oid;
+
+        SchemaValueLexer lexer = new SchemaValueLexer( new StringReader( s ) );
+        SchemaValueParser parser = new SchemaValueParser( lexer );
+        oid = parser.oid();
+
+        return oid;
+    }
+
+
+    public final String[] oids( String s ) throws RecognitionException, TokenStreamException
+    {
+        String[] oids;
+
+        SchemaValueLexer lexer = new SchemaValueLexer( new StringReader( s ) );
+        SchemaValueParser parser = new SchemaValueParser( lexer );
+        oids = parser.oids();
+
+        return oids;
+    }
+
+
+    public final String[] qdescrs( String s ) throws RecognitionException, TokenStreamException
+    {
+        String[] qdescrs;
+
+        SchemaValueLexer lexer = new SchemaValueLexer( new StringReader( s ) );
+        SchemaValueParser parser = new SchemaValueParser( lexer );
+        qdescrs = parser.qdescrs();
+
+        return qdescrs;
+    }
+
+
+    public final String qdstring( String s ) throws RecognitionException, TokenStreamException
+    {
+        String qdstring;
+
+        if ( s == null )
+        {
+            qdstring = null;
+        }
+        else
+        {
+            if ( s.startsWith( "'" ) )
+            {
+                s = s.substring( 1, s.length() );
+            }
+            if ( s.endsWith( "'" ) )
+            {
+                s = s.substring( 0, s.length() - 1 );
+            }
+            qdstring = s;
+        }
+
+        return qdstring;
+    }
+
+    public static final String[] _tokenNames =
+        { "<0>", "EOF", "<2>", "NULL_TREE_LOOKAHEAD", "WHSP", "LPAR", "RPAR", "QUOTE", "DOLLAR", "LBRACKET",
+            "RBRACKET", "LEN", "USAGE_USERAPPLICATIONS", "USAGE_DIRECTORYOPERATION", "USAGE_DISTRIBUTEDOPERATION",
+            "USAGE_DSAOPERATION", "STARTNUMERICOID", "NAME", "DESC", "SUP", "MUST", "MAY", "EQUALITY", "ORDERING",
+            "SUBSTR", "SYNTAX", "USAGE", "APPLIES", "X", "SINGLE_VALUE", "COLLECTIVE", "NO_USER_MODIFICATION",
+            "OBSOLETE", "ABSTRACT", "STRUCTURAL", "AUXILIARY", "VALUES", "VALUE", "UNQUOTED_STRING", "QUOTED_STRING" };
+
+}

Propchange: directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaParser.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaTokenTypes.java
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaTokenTypes.java?rev=592082&view=auto
==============================================================================
--- directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaTokenTypes.java (added)
+++ directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaTokenTypes.java Mon Nov  5 08:51:43 2007
@@ -0,0 +1,104 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *  
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *  
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License. 
+ *  
+ */
+
+// $ANTLR 2.7.5 (20050128): "schema.g" -> "SchemaParser.java"$
+package org.apache.directory.studio.ldapbrowser.core.model.schema.parser;
+
+
+
+
+public interface SchemaTokenTypes
+{
+    int EOF = 1;
+
+    int NULL_TREE_LOOKAHEAD = 3;
+
+    int WHSP = 4;
+
+    int LPAR = 5;
+
+    int RPAR = 6;
+
+    int QUOTE = 7;
+
+    int DOLLAR = 8;
+
+    int LBRACKET = 9;
+
+    int RBRACKET = 10;
+
+    int LEN = 11;
+
+    int USAGE_USERAPPLICATIONS = 12;
+
+    int USAGE_DIRECTORYOPERATION = 13;
+
+    int USAGE_DISTRIBUTEDOPERATION = 14;
+
+    int USAGE_DSAOPERATION = 15;
+
+    int STARTNUMERICOID = 16;
+
+    int NAME = 17;
+
+    int DESC = 18;
+
+    int SUP = 19;
+
+    int MUST = 20;
+
+    int MAY = 21;
+
+    int EQUALITY = 22;
+
+    int ORDERING = 23;
+
+    int SUBSTR = 24;
+
+    int SYNTAX = 25;
+
+    int USAGE = 26;
+
+    int APPLIES = 27;
+
+    int X = 28;
+
+    int SINGLE_VALUE = 29;
+
+    int COLLECTIVE = 30;
+
+    int NO_USER_MODIFICATION = 31;
+
+    int OBSOLETE = 32;
+
+    int ABSTRACT = 33;
+
+    int STRUCTURAL = 34;
+
+    int AUXILIARY = 35;
+
+    int VALUES = 36;
+
+    int VALUE = 37;
+
+    int UNQUOTED_STRING = 38;
+
+    int QUOTED_STRING = 39;
+}

Propchange: directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaTokenTypes.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaTokenTypes.txt
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaTokenTypes.txt?rev=592082&view=auto
==============================================================================
--- directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaTokenTypes.txt (added)
+++ directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaTokenTypes.txt Mon Nov  5 08:51:43 2007
@@ -0,0 +1,38 @@
+// $ANTLR 2.7.5 (20050128): schema.g -> SchemaTokenTypes.txt$
+Schema    // output token vocab name
+WHSP=4
+LPAR=5
+RPAR=6
+QUOTE=7
+DOLLAR=8
+LBRACKET=9
+RBRACKET=10
+LEN=11
+USAGE_USERAPPLICATIONS=12
+USAGE_DIRECTORYOPERATION=13
+USAGE_DISTRIBUTEDOPERATION=14
+USAGE_DSAOPERATION=15
+STARTNUMERICOID=16
+NAME=17
+DESC=18
+SUP=19
+MUST=20
+MAY=21
+EQUALITY=22
+ORDERING=23
+SUBSTR=24
+SYNTAX=25
+USAGE=26
+APPLIES=27
+X=28
+SINGLE_VALUE=29
+COLLECTIVE=30
+NO_USER_MODIFICATION=31
+OBSOLETE=32
+ABSTRACT=33
+STRUCTURAL=34
+AUXILIARY=35
+VALUES=36
+VALUE=37
+UNQUOTED_STRING=38
+QUOTED_STRING=39

Propchange: directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaTokenTypes.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaValueLexer.java
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaValueLexer.java?rev=592082&view=auto
==============================================================================
--- directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaValueLexer.java (added)
+++ directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaValueLexer.java Mon Nov  5 08:51:43 2007
@@ -0,0 +1,611 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *  
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *  
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License. 
+ *  
+ */
+
+// $ANTLR 2.7.5 (20050128): "schemavalue.g" -> "SchemaValueLexer.java"$
+package org.apache.directory.studio.ldapbrowser.core.model.schema.parser;
+
+
+import java.io.InputStream;
+import java.io.Reader;
+import java.util.Hashtable;
+
+import antlr.ByteBuffer;
+import antlr.CharBuffer;
+import antlr.CharStreamException;
+import antlr.CharStreamIOException;
+import antlr.InputBuffer;
+import antlr.LexerSharedInputState;
+import antlr.NoViableAltForCharException;
+import antlr.RecognitionException;
+import antlr.Token;
+import antlr.TokenStream;
+import antlr.TokenStreamException;
+import antlr.TokenStreamIOException;
+import antlr.TokenStreamRecognitionException;
+import antlr.collections.impl.BitSet;
+
+
+public class SchemaValueLexer extends antlr.CharScanner implements SchemaValueTokenTypes, TokenStream
+{
+    public SchemaValueLexer( InputStream in )
+    {
+        this( new ByteBuffer( in ) );
+    }
+
+
+    public SchemaValueLexer( Reader in )
+    {
+        this( new CharBuffer( in ) );
+    }
+
+
+    public SchemaValueLexer( InputBuffer ib )
+    {
+        this( new LexerSharedInputState( ib ) );
+    }
+
+
+    public SchemaValueLexer( LexerSharedInputState state )
+    {
+        super( state );
+        caseSensitiveLiterals = true;
+        setCaseSensitive( false );
+        literals = new Hashtable();
+    }
+
+
+    public Token nextToken() throws TokenStreamException
+    {
+        Token theRetToken = null;
+        tryAgain: for ( ;; )
+        {
+            Token _token = null;
+            int _ttype = Token.INVALID_TYPE;
+            resetText();
+            try
+            { // for char stream error handling
+                try
+                { // for lexical error handling
+                    switch ( LA( 1 ) )
+                    {
+                        case ' ':
+                        {
+                            mWHSP( true );
+                            theRetToken = _returnToken;
+                            break;
+                        }
+                        case '(':
+                        {
+                            mLPAR( true );
+                            theRetToken = _returnToken;
+                            break;
+                        }
+                        case ')':
+                        {
+                            mRPAR( true );
+                            theRetToken = _returnToken;
+                            break;
+                        }
+                        case '\'':
+                        {
+                            mQUOTE( true );
+                            theRetToken = _returnToken;
+                            break;
+                        }
+                        case '$':
+                        {
+                            mDOLLAR( true );
+                            theRetToken = _returnToken;
+                            break;
+                        }
+                        case '}':
+                        {
+                            mRBRACKET( true );
+                            theRetToken = _returnToken;
+                            break;
+                        }
+                        case 'a':
+                        case 'b':
+                        case 'c':
+                        case 'd':
+                        case 'e':
+                        case 'f':
+                        case 'g':
+                        case 'h':
+                        case 'i':
+                        case 'j':
+                        case 'k':
+                        case 'l':
+                        case 'm':
+                        case 'n':
+                        case 'o':
+                        case 'p':
+                        case 'q':
+                        case 'r':
+                        case 's':
+                        case 't':
+                        case 'u':
+                        case 'v':
+                        case 'w':
+                        case 'x':
+                        case 'y':
+                        case 'z':
+                        {
+                            mDESCR( true );
+                            theRetToken = _returnToken;
+                            break;
+                        }
+                        default:
+                            if ( ( LA( 1 ) == '{' ) && ( ( LA( 2 ) >= '0' && LA( 2 ) <= '9' ) ) )
+                            {
+                                mLEN( true );
+                                theRetToken = _returnToken;
+                            }
+                            else if ( ( ( LA( 1 ) >= '0' && LA( 1 ) <= '9' ) ) && ( _tokenSet_0.member( LA( 2 ) ) ) )
+                            {
+                                mNUMERICOID( true );
+                                theRetToken = _returnToken;
+                            }
+                            else if ( ( LA( 1 ) == '{' ) && ( true ) )
+                            {
+                                mLBRACKET( true );
+                                theRetToken = _returnToken;
+                            }
+                            else if ( ( ( LA( 1 ) >= '0' && LA( 1 ) <= '9' ) ) && ( true ) )
+                            {
+                                mDIGIT( true );
+                                theRetToken = _returnToken;
+                            }
+                            else
+                            {
+                                if ( LA( 1 ) == EOF_CHAR )
+                                {
+                                    uponEOF();
+                                    _returnToken = makeToken( Token.EOF_TYPE );
+                                }
+                                else
+                                {
+                                    throw new NoViableAltForCharException( ( char ) LA( 1 ), getFilename(), getLine(),
+                                        getColumn() );
+                                }
+                            }
+                    }
+                    if ( _returnToken == null )
+                        continue tryAgain; // found SKIP token
+                    _ttype = _returnToken.getType();
+                    _ttype = testLiteralsTable( _ttype );
+                    _returnToken.setType( _ttype );
+                    return _returnToken;
+                }
+                catch ( RecognitionException e )
+                {
+                    throw new TokenStreamRecognitionException( e );
+                }
+            }
+            catch ( CharStreamException cse )
+            {
+                if ( cse instanceof CharStreamIOException )
+                {
+                    throw new TokenStreamIOException( ( ( CharStreamIOException ) cse ).io );
+                }
+                else
+                {
+                    throw new TokenStreamException( cse.getMessage() );
+                }
+            }
+        }
+    }
+
+
+    public final void mWHSP( boolean _createToken ) throws RecognitionException, CharStreamException,
+        TokenStreamException
+    {
+        int _ttype;
+        Token _token = null;
+        int _begin = text.length();
+        _ttype = WHSP;
+        int _saveIndex;
+
+        {
+            match( ' ' );
+        }
+        _ttype = Token.SKIP;
+        if ( _createToken && _token == null && _ttype != Token.SKIP )
+        {
+            _token = makeToken( _ttype );
+            _token.setText( new String( text.getBuffer(), _begin, text.length() - _begin ) );
+        }
+        _returnToken = _token;
+    }
+
+
+    public final void mLPAR( boolean _createToken ) throws RecognitionException, CharStreamException,
+        TokenStreamException
+    {
+        int _ttype;
+        Token _token = null;
+        int _begin = text.length();
+        _ttype = LPAR;
+        int _saveIndex;
+
+        match( '(' );
+        if ( _createToken && _token == null && _ttype != Token.SKIP )
+        {
+            _token = makeToken( _ttype );
+            _token.setText( new String( text.getBuffer(), _begin, text.length() - _begin ) );
+        }
+        _returnToken = _token;
+    }
+
+
+    public final void mRPAR( boolean _createToken ) throws RecognitionException, CharStreamException,
+        TokenStreamException
+    {
+        int _ttype;
+        Token _token = null;
+        int _begin = text.length();
+        _ttype = RPAR;
+        int _saveIndex;
+
+        match( ')' );
+        if ( _createToken && _token == null && _ttype != Token.SKIP )
+        {
+            _token = makeToken( _ttype );
+            _token.setText( new String( text.getBuffer(), _begin, text.length() - _begin ) );
+        }
+        _returnToken = _token;
+    }
+
+
+    public final void mQUOTE( boolean _createToken ) throws RecognitionException, CharStreamException,
+        TokenStreamException
+    {
+        int _ttype;
+        Token _token = null;
+        int _begin = text.length();
+        _ttype = QUOTE;
+        int _saveIndex;
+
+        match( '\'' );
+        if ( _createToken && _token == null && _ttype != Token.SKIP )
+        {
+            _token = makeToken( _ttype );
+            _token.setText( new String( text.getBuffer(), _begin, text.length() - _begin ) );
+        }
+        _returnToken = _token;
+    }
+
+
+    public final void mDOLLAR( boolean _createToken ) throws RecognitionException, CharStreamException,
+        TokenStreamException
+    {
+        int _ttype;
+        Token _token = null;
+        int _begin = text.length();
+        _ttype = DOLLAR;
+        int _saveIndex;
+
+        match( '$' );
+        if ( _createToken && _token == null && _ttype != Token.SKIP )
+        {
+            _token = makeToken( _ttype );
+            _token.setText( new String( text.getBuffer(), _begin, text.length() - _begin ) );
+        }
+        _returnToken = _token;
+    }
+
+
+    public final void mLBRACKET( boolean _createToken ) throws RecognitionException, CharStreamException,
+        TokenStreamException
+    {
+        int _ttype;
+        Token _token = null;
+        int _begin = text.length();
+        _ttype = LBRACKET;
+        int _saveIndex;
+
+        match( '{' );
+        if ( _createToken && _token == null && _ttype != Token.SKIP )
+        {
+            _token = makeToken( _ttype );
+            _token.setText( new String( text.getBuffer(), _begin, text.length() - _begin ) );
+        }
+        _returnToken = _token;
+    }
+
+
+    public final void mRBRACKET( boolean _createToken ) throws RecognitionException, CharStreamException,
+        TokenStreamException
+    {
+        int _ttype;
+        Token _token = null;
+        int _begin = text.length();
+        _ttype = RBRACKET;
+        int _saveIndex;
+
+        match( '}' );
+        if ( _createToken && _token == null && _ttype != Token.SKIP )
+        {
+            _token = makeToken( _ttype );
+            _token.setText( new String( text.getBuffer(), _begin, text.length() - _begin ) );
+        }
+        _returnToken = _token;
+    }
+
+
+    public final void mLEN( boolean _createToken ) throws RecognitionException, CharStreamException,
+        TokenStreamException
+    {
+        int _ttype;
+        Token _token = null;
+        int _begin = text.length();
+        _ttype = LEN;
+        int _saveIndex;
+
+        mLBRACKET( false );
+        {
+            int _cnt11 = 0;
+            _loop11: do
+            {
+                if ( ( ( LA( 1 ) >= '0' && LA( 1 ) <= '9' ) ) )
+                {
+                    mDIGIT( false );
+                }
+                else
+                {
+                    if ( _cnt11 >= 1 )
+                    {
+                        break _loop11;
+                    }
+                    else
+                    {
+                        throw new NoViableAltForCharException( ( char ) LA( 1 ), getFilename(), getLine(), getColumn() );
+                    }
+                }
+
+                _cnt11++;
+            }
+            while ( true );
+        }
+        mRBRACKET( false );
+        if ( _createToken && _token == null && _ttype != Token.SKIP )
+        {
+            _token = makeToken( _ttype );
+            _token.setText( new String( text.getBuffer(), _begin, text.length() - _begin ) );
+        }
+        _returnToken = _token;
+    }
+
+
+    public final void mDIGIT( boolean _createToken ) throws RecognitionException, CharStreamException,
+        TokenStreamException
+    {
+        int _ttype;
+        Token _token = null;
+        int _begin = text.length();
+        _ttype = DIGIT;
+        int _saveIndex;
+
+        {
+            matchRange( '0', '9' );
+        }
+        if ( _createToken && _token == null && _ttype != Token.SKIP )
+        {
+            _token = makeToken( _ttype );
+            _token.setText( new String( text.getBuffer(), _begin, text.length() - _begin ) );
+        }
+        _returnToken = _token;
+    }
+
+
+    public final void mNUMERICOID( boolean _createToken ) throws RecognitionException, CharStreamException,
+        TokenStreamException
+    {
+        int _ttype;
+        Token _token = null;
+        int _begin = text.length();
+        _ttype = NUMERICOID;
+        int _saveIndex;
+
+        {
+            int _cnt16 = 0;
+            _loop16: do
+            {
+                if ( ( ( LA( 1 ) >= '0' && LA( 1 ) <= '9' ) ) )
+                {
+                    matchRange( '0', '9' );
+                }
+                else
+                {
+                    if ( _cnt16 >= 1 )
+                    {
+                        break _loop16;
+                    }
+                    else
+                    {
+                        throw new NoViableAltForCharException( ( char ) LA( 1 ), getFilename(), getLine(), getColumn() );
+                    }
+                }
+
+                _cnt16++;
+            }
+            while ( true );
+        }
+        {
+            int _cnt20 = 0;
+            _loop20: do
+            {
+                if ( ( LA( 1 ) == '.' ) )
+                {
+                    match( '.' );
+                    {
+                        int _cnt19 = 0;
+                        _loop19: do
+                        {
+                            if ( ( ( LA( 1 ) >= '0' && LA( 1 ) <= '9' ) ) )
+                            {
+                                matchRange( '0', '9' );
+                            }
+                            else
+                            {
+                                if ( _cnt19 >= 1 )
+                                {
+                                    break _loop19;
+                                }
+                                else
+                                {
+                                    throw new NoViableAltForCharException( ( char ) LA( 1 ), getFilename(), getLine(),
+                                        getColumn() );
+                                }
+                            }
+
+                            _cnt19++;
+                        }
+                        while ( true );
+                    }
+                }
+                else
+                {
+                    if ( _cnt20 >= 1 )
+                    {
+                        break _loop20;
+                    }
+                    else
+                    {
+                        throw new NoViableAltForCharException( ( char ) LA( 1 ), getFilename(), getLine(), getColumn() );
+                    }
+                }
+
+                _cnt20++;
+            }
+            while ( true );
+        }
+        if ( _createToken && _token == null && _ttype != Token.SKIP )
+        {
+            _token = makeToken( _ttype );
+            _token.setText( new String( text.getBuffer(), _begin, text.length() - _begin ) );
+        }
+        _returnToken = _token;
+    }
+
+
+    public final void mDESCR( boolean _createToken ) throws RecognitionException, CharStreamException,
+        TokenStreamException
+    {
+        int _ttype;
+        Token _token = null;
+        int _begin = text.length();
+        _ttype = DESCR;
+        int _saveIndex;
+
+        {
+            matchRange( 'a', 'z' );
+        }
+        {
+            _loop24: do
+            {
+                switch ( LA( 1 ) )
+                {
+                    case 'a':
+                    case 'b':
+                    case 'c':
+                    case 'd':
+                    case 'e':
+                    case 'f':
+                    case 'g':
+                    case 'h':
+                    case 'i':
+                    case 'j':
+                    case 'k':
+                    case 'l':
+                    case 'm':
+                    case 'n':
+                    case 'o':
+                    case 'p':
+                    case 'q':
+                    case 'r':
+                    case 's':
+                    case 't':
+                    case 'u':
+                    case 'v':
+                    case 'w':
+                    case 'x':
+                    case 'y':
+                    case 'z':
+                    {
+                        matchRange( 'a', 'z' );
+                        break;
+                    }
+                    case '0':
+                    case '1':
+                    case '2':
+                    case '3':
+                    case '4':
+                    case '5':
+                    case '6':
+                    case '7':
+                    case '8':
+                    case '9':
+                    {
+                        matchRange( '0', '9' );
+                        break;
+                    }
+                    case '-':
+                    {
+                        match( '-' );
+                        break;
+                    }
+                    case ';':
+                    {
+                        match( ';' );
+                        break;
+                    }
+                    case '.':
+                    {
+                        match( '.' );
+                        break;
+                    }
+                    default:
+                    {
+                        break _loop24;
+                    }
+                }
+            }
+            while ( true );
+        }
+        if ( _createToken && _token == null && _ttype != Token.SKIP )
+        {
+            _token = makeToken( _ttype );
+            _token.setText( new String( text.getBuffer(), _begin, text.length() - _begin ) );
+        }
+        _returnToken = _token;
+    }
+
+
+    private static final long[] mk_tokenSet_0()
+    {
+        long[] data =
+            { 288019269919178752L, 0L, 0L, 0L, 0L };
+        return data;
+    }
+
+    public static final BitSet _tokenSet_0 = new BitSet( mk_tokenSet_0() );
+
+}

Propchange: directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaValueLexer.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaValueParser.java
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaValueParser.java?rev=592082&view=auto
==============================================================================
--- directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaValueParser.java (added)
+++ directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaValueParser.java Mon Nov  5 08:51:43 2007
@@ -0,0 +1,245 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *  
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *  
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License. 
+ *  
+ */
+
+// $ANTLR 2.7.5 (20050128): "schemavalue.g" -> "SchemaValueParser.java"$
+package org.apache.directory.studio.ldapbrowser.core.model.schema.parser;
+
+
+import java.util.ArrayList;
+import java.util.List;
+
+import antlr.NoViableAltException;
+import antlr.ParserSharedInputState;
+import antlr.RecognitionException;
+import antlr.Token;
+import antlr.TokenBuffer;
+import antlr.TokenStream;
+import antlr.TokenStreamException;
+
+
+public class SchemaValueParser extends antlr.LLkParser implements SchemaValueTokenTypes
+{
+
+    protected SchemaValueParser( TokenBuffer tokenBuf, int k )
+    {
+        super( tokenBuf, k );
+        tokenNames = _tokenNames;
+    }
+
+
+    public SchemaValueParser( TokenBuffer tokenBuf )
+    {
+        this( tokenBuf, 3 );
+    }
+
+
+    protected SchemaValueParser( TokenStream lexer, int k )
+    {
+        super( lexer, k );
+        tokenNames = _tokenNames;
+    }
+
+
+    public SchemaValueParser( TokenStream lexer )
+    {
+        this( lexer, 3 );
+    }
+
+
+    public SchemaValueParser( ParserSharedInputState state )
+    {
+        super( state, 3 );
+        tokenNames = _tokenNames;
+    }
+
+
+    public final String[] oids() throws RecognitionException, TokenStreamException
+    {
+        String[] oids;
+
+        oids = new String[0];
+        List oidList = new ArrayList();
+        String oid = null;
+
+        {
+            switch ( LA( 1 ) )
+            {
+                case NUMERICOID:
+                case DESCR:
+                {
+                    {
+                        oid = oid();
+                        oidList.add( oid );
+                    }
+                    break;
+                }
+                case LPAR:
+                {
+                    {
+                        match( LPAR );
+                        oid = oid();
+                        oidList.add( oid );
+                        {
+                            _loop30: do
+                            {
+                                if ( ( LA( 1 ) == DOLLAR ) )
+                                {
+                                    match( DOLLAR );
+                                    oid = oid();
+                                    oidList.add( oid );
+                                }
+                                else
+                                {
+                                    break _loop30;
+                                }
+
+                            }
+                            while ( true );
+                        }
+                        match( RPAR );
+                    }
+                    break;
+                }
+                default:
+                {
+                    throw new NoViableAltException( LT( 1 ), getFilename() );
+                }
+            }
+        }
+
+        oids = ( String[] ) oidList.toArray( new String[oidList.size()] );
+
+        return oids;
+    }
+
+
+    public final String oid() throws RecognitionException, TokenStreamException
+    {
+        String oid = null;
+
+        Token n = null;
+        Token d = null;
+
+        {
+            switch ( LA( 1 ) )
+            {
+                case NUMERICOID:
+                {
+                    n = LT( 1 );
+                    match( NUMERICOID );
+                    oid = n.getText();
+                    break;
+                }
+                case DESCR:
+                {
+                    d = LT( 1 );
+                    match( DESCR );
+                    oid = d.getText();
+                    break;
+                }
+                default:
+                {
+                    throw new NoViableAltException( LT( 1 ), getFilename() );
+                }
+            }
+        }
+        return oid;
+    }
+
+
+    public final String[] qdescrs() throws RecognitionException, TokenStreamException
+    {
+        String[] qdescrs;
+
+        qdescrs = new String[0];
+        List qdescrList = new ArrayList();
+        String qdescr = null;
+
+        {
+            switch ( LA( 1 ) )
+            {
+                case QUOTE:
+                {
+                    {
+                        qdescr = qdescr();
+                        qdescrList.add( qdescr );
+                    }
+                    break;
+                }
+                case LPAR:
+                {
+                    {
+                        match( LPAR );
+                        qdescr = qdescr();
+                        qdescrList.add( qdescr );
+                        {
+                            _loop38: do
+                            {
+                                if ( ( LA( 1 ) == QUOTE ) )
+                                {
+                                    qdescr = qdescr();
+                                    qdescrList.add( qdescr );
+                                }
+                                else
+                                {
+                                    break _loop38;
+                                }
+
+                            }
+                            while ( true );
+                        }
+                        match( RPAR );
+                    }
+                    break;
+                }
+                default:
+                {
+                    throw new NoViableAltException( LT( 1 ), getFilename() );
+                }
+            }
+        }
+
+        qdescrs = ( String[] ) qdescrList.toArray( new String[qdescrList.size()] );
+
+        return qdescrs;
+    }
+
+
+    public final String qdescr() throws RecognitionException, TokenStreamException
+    {
+        String qdescr = null;
+
+        Token d = null;
+
+        {
+            match( QUOTE );
+            d = LT( 1 );
+            match( DESCR );
+            qdescr = d.getText();
+            match( QUOTE );
+        }
+        return qdescr;
+    }
+
+    public static final String[] _tokenNames =
+        { "<0>", "EOF", "<2>", "NULL_TREE_LOOKAHEAD", "WHSP", "LPAR", "RPAR", "QUOTE", "DOLLAR", "LBRACKET",
+            "RBRACKET", "LEN", "DIGIT", "NUMERICOID", "DESCR" };
+
+}

Propchange: directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaValueParser.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaValueTokenTypes.java
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaValueTokenTypes.java?rev=592082&view=auto
==============================================================================
--- directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaValueTokenTypes.java (added)
+++ directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaValueTokenTypes.java Mon Nov  5 08:51:43 2007
@@ -0,0 +1,54 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *  
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *  
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License. 
+ *  
+ */
+
+// $ANTLR 2.7.5 (20050128): "schemavalue.g" -> "SchemaValueLexer.java"$
+package org.apache.directory.studio.ldapbrowser.core.model.schema.parser;
+
+
+
+
+public interface SchemaValueTokenTypes
+{
+    int EOF = 1;
+
+    int NULL_TREE_LOOKAHEAD = 3;
+
+    int WHSP = 4;
+
+    int LPAR = 5;
+
+    int RPAR = 6;
+
+    int QUOTE = 7;
+
+    int DOLLAR = 8;
+
+    int LBRACKET = 9;
+
+    int RBRACKET = 10;
+
+    int LEN = 11;
+
+    int DIGIT = 12;
+
+    int NUMERICOID = 13;
+
+    int DESCR = 14;
+}

Propchange: directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaValueTokenTypes.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaValueTokenTypes.txt
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaValueTokenTypes.txt?rev=592082&view=auto
==============================================================================
--- directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaValueTokenTypes.txt (added)
+++ directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaValueTokenTypes.txt Mon Nov  5 08:51:43 2007
@@ -0,0 +1,13 @@
+// $ANTLR 2.7.5 (20050128): schemavalue.g -> SchemaValueTokenTypes.txt$
+SchemaValue    // output token vocab name
+WHSP=4
+LPAR=5
+RPAR=6
+QUOTE=7
+DOLLAR=8
+LBRACKET=9
+RBRACKET=10
+LEN=11
+DIGIT=12
+NUMERICOID=13
+DESCR=14

Propchange: directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaValueTokenTypes.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/schema.g
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/schema.g?rev=592082&view=auto
==============================================================================
--- directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/schema.g (added)
+++ directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/schema.g Mon Nov  5 08:51:43 2007
@@ -0,0 +1,273 @@
+header {
+package org.apache.directory.studio.ldapbrowser.core.model.schema.parser;
+
+import java.io.* ;
+import java.util.* ;
+import org.apache.directory.studio.ldapbrowser.core.model.schema.*;
+
+}
+
+// ----------------------------------------------------------------------------
+// Main Lexer
+// ----------------------------------------------------------------------------
+
+class SchemaLexer extends Lexer;
+
+options    {
+    k = 5 ;
+    //importVocab=NonQuote ;
+    exportVocab=Schema ;
+    charVocabulary = '\3'..'\377' ;
+    caseSensitive = false ;
+    //testLiterals = true ;
+    defaultErrorHandler = false ;
+}
+
+WHSP : (options{greedy=true;}: ' ' )+ {$setType(Token.SKIP);} ;
+
+LPAR : '(' ;
+RPAR : ')' ;
+QUOTE : '\'' ;
+DOLLAR : '$' ;
+LBRACKET : '{' ;
+RBRACKET : '}' ;
+
+LEN : LBRACKET ('0'..'9')+ RBRACKET ;
+
+USAGE_USERAPPLICATIONS : "userapplications" ;
+USAGE_DIRECTORYOPERATION : "directoryoperation" ;
+USAGE_DISTRIBUTEDOPERATION : "distributedoperation" ;
+USAGE_DSAOPERATION : "dsaoperation" ;
+
+STARTNUMERICOID : ( LPAR ( numericoid:VALUE ) ) { setText(numericoid.getText().trim()); } ;
+//NAME : ( "name" WHSP qdescrs:QDESCRS (WHSP)? ) { setText(qdescrs.getText()); } ; // use QDSTRINGS to allow apache-ds ldapsyntaxes
+NAME : ( "name" WHSP qdstrings:VALUES ) { setText(qdstrings.getText().trim()); } ;
+DESC : ( "desc" WHSP qdstring:VALUES ) { setText(qdstring.getText().trim()); } ;
+SUP : ( "sup" WHSP sup:VALUES ) { setText(sup.getText().trim()); } ;
+MUST : ( "must" WHSP must:VALUES ) { setText(must.getText().trim()); } ;
+MAY : ( "may" WHSP may:VALUES ) { setText(may.getText()); } ;
+EQUALITY : ( "equality" WHSP equality:VALUES ) { setText(equality.getText().trim()); } ;
+ORDERING : ( "ordering" WHSP ordering:VALUES ) { setText(ordering.getText().trim()); } ;
+SUBSTR : ( "substr" WHSP substr:VALUES ) { setText(substr.getText().trim()); } ;
+SYNTAX : ( "syntax" WHSP syntax:VALUES (len:LEN)? ) { setText(syntax.getText().trim() + (len!=null?len.getText().trim():"")); } ;
+//USAGE : ( "usage" WHSP ( USAGE_USERAPPLICATIONS | USAGE_DIRECTORYOPERATION | USAGE_DISTRIBUTEDOPERATION | USAGE_DSAOPERATION ) (WHSP)? ) ;
+USAGE : ( "usage" WHSP op:VALUES ) { setText(op.getText().trim()); } ;
+APPLIES : ( "applies" WHSP applies:VALUES ) { setText(applies.getText().trim()); } ;
+
+X : ( "x-" ( 'a'..'z' | '0'..'9' | '-' | '_' )+ WHSP VALUES ) {$setType(Token.SKIP);} ; 
+
+SINGLE_VALUE : ( "single-value" (WHSP)? ) ;
+COLLECTIVE : ( "collective" (WHSP)? ) ;
+NO_USER_MODIFICATION : ( "no-user-modification" (WHSP)? ) ;
+OBSOLETE : ( "obsolete" (WHSP)? ) ;
+ABSTRACT : ( "abstract" (WHSP)? ) ;
+STRUCTURAL : ( "structural" (WHSP)? ) ;
+AUXILIARY : ( "auxiliary" (WHSP)? ) ;
+
+//APACHE_SYNTAX_NAME : ( "name" WHSP qdstring:QDSTRING (WHSP)? ) { setText(qdstring.getText()); } ;
+
+
+
+protected VALUES : ( VALUE | LPAR  VALUE ( (DOLLAR)? VALUE )* RPAR ) ;
+protected VALUE : (WHSP)? ( QUOTED_STRING | UNQUOTED_STRING ) (options {greedy=true;}: WHSP)? ;
+//protected UNQUOTED_STRING : ( ~('\''|' '|'('|')'|'{'|'}'|'$') (options{greedy=true;}: ~' ')* ) ;
+protected UNQUOTED_STRING : (options{greedy=true;}: 'a'..'z' | '0'..'9' | '-' | ';' | '.' )+ ;
+protected QUOTED_STRING : ( QUOTE (~'\'')* QUOTE ) ;
+
+
+
+//protected QDESCRS : ( QDESCR | ( LPAR (WHSP)? ( QDESCR (WHSP)? )+ RPAR ) ) ;
+//protected QDESCR : ( QUOTE DESCR QUOTE ) ;
+//protected DESCR : ( 'a'..'z') ( 'a'..'z' | '0'..'9' | '-' | ';' )* ;
+//protected QDSTRINGS : ( QDESCR | ( LPAR (WHSP)? QDESCR (options{greedy=true;}: (WHSP)? QDESCR )* (WHSP)? RPAR ) ) ;
+//protected QDSTRING : ( QUOTE DESCR QUOTE ) ;
+//protected NONQUOTE : (~'\'')* ;
+//protected OIDS : ( OID | ( LPAR (WHSP)? OID (options{greedy=true;}: (WHSP)? DOLLAR (WHSP)? OID )* (WHSP)? RPAR ) ) ;
+//protected OID : ( NUMERICOID | DESCR ) ;
+//protected NUMERICOID : ( ('0'..'9')+ ( '.' ('0'..'9')+ )+ ) ;    
+
+
+
+
+class SchemaParser extends Parser;
+options    {
+    k = 3 ;
+    defaultErrorHandler = false ;
+    //buildAST=true ;
+}
+
+{
+	public static final void main(String[] args) {
+       try {
+        	
+        	//"( 11.222.333.4444 NAME ( 'test1' 'test2' ) DESC 'a b c' OBSOLETE SUP top ABSTRACT MUST ( cn ) may ( givenName $ sn) )"
+        	//"( 2.5.4.11 NAME ( 'ou' 'organizationalUnitName' ) DESC 'RFC2256: organizational unit this object belongs to' SUP name EQUALITY caseIgnoreMatch SYNTAX 1.2.3.4.5{32} COLLECTIVE USAGE userApplications )"
+        	//"( 2.5.4.11 DESC 'a b c' )"
+        	//"( 1.3.6.1.4.1.4203.1.2.1 NAME 'caseExactIA5SubstringsMatch' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )"
+        	//"( 2.5.13.0 NAME 'objectIdentifierMatch' APPLIES ( supportedApplicationContext $ supportedFeatures $ supportedExtension $ supportedControl ) )"
+        	//"( 1.2.840.113548.3.1.4.11110 NAME 'ciscoccnatPAUserPIN' DESC 'User Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN ( 'Cisco AVVID' 'user defined' ) )"
+            SchemaLexer mainLexer = new SchemaLexer(new StringReader(
+"( 1.3.6.1.4.1.1466.115.121.1.48 NAME 'Supplier And Consumer'  )"
+            		));
+
+            SchemaParser parser = new SchemaParser(mainLexer);
+            //ObjectClassDescription d = parser.objectClassDescription();
+            //AttributeTypeDescription d = parser.attributeTypeDescription();
+            LdapSyntaxDescription d = parser.syntaxDescription();
+            //MatchingRuleDescription d = parser.matchingRuleDescription();
+            //MatchingRuleUseDescription d = parser.matchingRuleUseDescription();
+            System.out.println(d.toString());
+        } catch(Exception e) {
+            System.err.println("exception: "+e);
+            e.printStackTrace();
+        }		
+	}
+	
+}
+
+
+objectClassDescription returns [ObjectClassDescription ocd = new ObjectClassDescription()]
+    :
+    ( oid:STARTNUMERICOID { ocd.setNumericOID(oid.getText()); } )
+    (
+        ( name:NAME { ocd.setNames(qdescrs(name.getText())); } )
+        |
+        ( desc:DESC { ocd.setDesc(qdstring(desc.getText())); } )
+        |
+        ( OBSOLETE { ocd.setObsolete( true ); } )
+        |
+        ( sup:SUP { ocd.setSuperiorObjectClassDescriptionNames(oids(sup.getText())); } )
+        |
+        ( ABSTRACT { ocd.setAbstract( true ); }
+          |
+          STRUCTURAL { ocd.setStructural( true ); }
+          |
+          AUXILIARY { ocd.setAuxiliary( true ); } 
+        )  
+        |
+        ( must:MUST { ocd.setMustAttributeTypeDescriptionNames(oids(must.getText())); } )
+        |
+        ( may:MAY { ocd.setMayAttributeTypeDescriptionNames(oids(may.getText())); } )
+    )*
+    RPAR
+    ;
+
+attributeTypeDescription returns [AttributeTypeDescription atd = new AttributeTypeDescription()]
+    :
+    ( oid:STARTNUMERICOID { atd.setNumericOID(oid.getText()); } )
+    (
+        ( name:NAME { atd.setNames(qdescrs(name.getText())); } )
+        |
+        ( desc:DESC { atd.setDesc(qdstring(desc.getText())); } )
+        |
+        ( OBSOLETE { atd.setObsolete( true ); } )
+        |
+        ( sup:SUP { atd.setSuperiorAttributeTypeDescriptionName(oid(sup.getText())); } )
+        |
+        ( equality:EQUALITY { atd.setEqualityMatchingRuleDescriptionOID(oid(equality.getText())); } )
+        |
+        ( ordering:ORDERING { atd.setOrderingMatchingRuleDescriptionOID(oid(ordering.getText())); } )
+        |
+        ( substr:SUBSTR { atd.setSubstringMatchingRuleDescriptionOID(oid(substr.getText())); } )
+        |
+        ( syntax:SYNTAX { atd.setSyntaxDescriptionNumericOIDPlusLength(qdstring(syntax.getText())); } )
+        |
+        ( SINGLE_VALUE { atd.setSingleValued( true ); } )
+        |
+        ( COLLECTIVE { atd.setCollective( true ); } )
+        |
+        ( NO_USER_MODIFICATION { atd.setNoUserModification( true ); } )
+        |
+        ( usage:USAGE { atd.setUsage(usage.getText()); } )
+    )*
+    RPAR
+    ;
+
+syntaxDescription returns [LdapSyntaxDescription lsd = new LdapSyntaxDescription()]
+    :
+    ( oid:STARTNUMERICOID { lsd.setNumericOID(oid.getText()); } )
+    (
+        ( desc:DESC { lsd.setDesc(qdstring(desc.getText())); } )
+        |
+        ( name:NAME { lsd.setDesc(qdstring(name.getText())); } )
+    )*
+    RPAR
+    ;
+
+matchingRuleDescription returns [MatchingRuleDescription mrd = new MatchingRuleDescription()]
+    :
+    ( oid:STARTNUMERICOID { mrd.setNumericOID(oid.getText()); } )
+    (
+        ( name:NAME { mrd.setNames(qdescrs(name.getText())); } )
+        |
+        ( desc:DESC { mrd.setDesc(qdstring(desc.getText())); } )
+        |
+        ( OBSOLETE { mrd.setObsolete( true ); } )    
+        |
+        ( syntax:SYNTAX { mrd.setSyntaxDescriptionNumericOID(syntax.getText()); } )
+    )*
+    RPAR
+    ;
+            
+matchingRuleUseDescription returns [MatchingRuleUseDescription mrud = new MatchingRuleUseDescription()]
+    :
+    ( oid:STARTNUMERICOID { mrud.setNumericOID(oid.getText()); } )
+    (
+        ( name:NAME { mrud.setNames(qdescrs(name.getText())); } )
+        |
+        ( desc:DESC { mrud.setDesc(qdstring(desc.getText())); } )
+        |
+        ( OBSOLETE { mrud.setObsolete( true ); } )    
+        |
+        ( applies:APPLIES { mrud.setAppliesAttributeTypeDescriptionOIDs(oids(applies.getText())); } )
+    )*
+    RPAR
+    ;
+  
+    
+
+oid [String s] returns [String oid]
+    {
+    	SchemaValueLexer lexer = new SchemaValueLexer(new StringReader(s));
+        SchemaValueParser parser = new SchemaValueParser(lexer);
+        oid = parser.oid();
+    }
+    :
+    ;
+
+oids [String s] returns [String[] oids]
+    {
+    	SchemaValueLexer lexer = new SchemaValueLexer(new StringReader(s));
+        SchemaValueParser parser = new SchemaValueParser(lexer);
+        oids = parser.oids();
+    }
+    :
+    ;
+
+qdescrs [String s] returns [String[] qdescrs]
+    {
+    	SchemaValueLexer lexer = new SchemaValueLexer(new StringReader(s));
+        SchemaValueParser parser = new SchemaValueParser(lexer);
+        qdescrs = parser.qdescrs();
+    }
+    :
+    ;
+
+qdstring [String s] returns [String qdstring]
+    {
+    	if(s == null) {
+	        qdstring = null;
+    	}
+    	else {
+    		if(s.startsWith("'")) {
+    			s = s.substring(1, s.length());
+    		}
+    		if(s.endsWith("'")) {
+    			s = s.substring(0, s.length()-1);
+    		}
+    		qdstring = s;
+    	}
+    }
+    :
+    ;
+    
\ No newline at end of file

Propchange: directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/schema.g
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/schemavalue.g
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/schemavalue.g?rev=592082&view=auto
==============================================================================
--- directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/schemavalue.g (added)
+++ directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/schemavalue.g Mon Nov  5 08:51:43 2007
@@ -0,0 +1,97 @@
+header {
+package org.apache.directory.studio.ldapbrowser.core.model.schema.parser;
+
+import java.util.* ;
+
+}
+
+class SchemaValueLexer extends Lexer;
+
+options    {
+    k = 2 ;
+    //importVocab=NonQuote ;
+    exportVocab=SchemaValue ;
+    charVocabulary = '\3'..'\377' ;
+    caseSensitive = false ;
+    //testLiterals = true ;
+    defaultErrorHandler = false ;
+}
+
+WHSP : ( ' ' ) {$setType(Token.SKIP);} ;
+
+LPAR : '(' ;
+RPAR : ')' ;
+
+QUOTE : '\'' ;
+DOLLAR : '$' ;
+LBRACKET : '{' ;
+RBRACKET : '}' ;
+LEN : LBRACKET (DIGIT)+ RBRACKET ;
+DIGIT : ('0'..'9') ; 
+NUMERICOID : ('0'..'9')+ ( '.' ('0'..'9')+ )+ ;
+DESCR : ( 'a'..'z') ( 'a'..'z' | '0'..'9' | '-' | ';' | '.' )* ;
+
+
+
+class SchemaValueParser extends Parser;
+options    {
+    k = 3 ;
+    defaultErrorHandler = false ;
+    //buildAST=true ;
+}
+
+
+oids returns [String[] oids]
+    {
+        oids = new String[0];
+        List oidList = new ArrayList();
+        String oid = null;
+    }
+    :
+    (
+        ( oid=oid { oidList.add(oid); } )
+    |
+        ( LPAR oid=oid { oidList.add(oid); } ( DOLLAR oid=oid { oidList.add(oid); } )* RPAR )
+    )
+    { 
+        oids = (String[])oidList.toArray(new String[oidList.size()]); 
+    }
+    ;
+
+
+oid returns [String oid=null]
+    : 
+    (
+        n:NUMERICOID { oid = n.getText(); }
+    | 
+        d:DESCR { oid = d.getText(); }
+    )
+    ;
+
+
+qdescrs returns [String[] qdescrs]
+    {
+    	qdescrs = new String[0];
+        List qdescrList = new ArrayList();
+        String qdescr = null;
+    }
+    :
+    (
+        ( qdescr=qdescr { qdescrList.add(qdescr); } )
+    |
+        ( LPAR qdescr=qdescr { qdescrList.add(qdescr); } ( qdescr=qdescr { qdescrList.add(qdescr); } )* RPAR )
+    )
+    { 
+        qdescrs = (String[])qdescrList.toArray(new String[qdescrList.size()]); 
+    }
+    ;
+    
+qdescr returns [String qdescr=null]
+    : 
+    ( 
+        QUOTE d:DESCR { qdescr = d.getText(); } QUOTE
+    )
+    ;    
+
+
+

Propchange: directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/schemavalue.g
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/propertypageproviders/AttributePropertyPageProvider.java
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/propertypageproviders/AttributePropertyPageProvider.java?rev=592082&view=auto
==============================================================================
--- directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/propertypageproviders/AttributePropertyPageProvider.java (added)
+++ directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/propertypageproviders/AttributePropertyPageProvider.java Mon Nov  5 08:51:43 2007
@@ -0,0 +1,27 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *  
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *  
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License. 
+ *  
+ */
+
+package org.apache.directory.studio.ldapbrowser.core.propertypageproviders;
+
+
+public interface AttributePropertyPageProvider
+{
+
+}

Propchange: directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/propertypageproviders/AttributePropertyPageProvider.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/propertypageproviders/BookmarkPropertyPageProvider.java
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/propertypageproviders/BookmarkPropertyPageProvider.java?rev=592082&view=auto
==============================================================================
--- directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/propertypageproviders/BookmarkPropertyPageProvider.java (added)
+++ directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/propertypageproviders/BookmarkPropertyPageProvider.java Mon Nov  5 08:51:43 2007
@@ -0,0 +1,27 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *  
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *  
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License. 
+ *  
+ */
+
+package org.apache.directory.studio.ldapbrowser.core.propertypageproviders;
+
+
+public interface BookmarkPropertyPageProvider
+{
+
+}

Propchange: directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/propertypageproviders/BookmarkPropertyPageProvider.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/propertypageproviders/EntryPropertyPageProvider.java
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/propertypageproviders/EntryPropertyPageProvider.java?rev=592082&view=auto
==============================================================================
--- directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/propertypageproviders/EntryPropertyPageProvider.java (added)
+++ directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/propertypageproviders/EntryPropertyPageProvider.java Mon Nov  5 08:51:43 2007
@@ -0,0 +1,27 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *  
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *  
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License. 
+ *  
+ */
+
+package org.apache.directory.studio.ldapbrowser.core.propertypageproviders;
+
+
+public interface EntryPropertyPageProvider
+{
+
+}

Propchange: directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/propertypageproviders/EntryPropertyPageProvider.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/propertypageproviders/SearchPropertyPageProvider.java
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/propertypageproviders/SearchPropertyPageProvider.java?rev=592082&view=auto
==============================================================================
--- directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/propertypageproviders/SearchPropertyPageProvider.java (added)
+++ directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/propertypageproviders/SearchPropertyPageProvider.java Mon Nov  5 08:51:43 2007
@@ -0,0 +1,27 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *  
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *  
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License. 
+ *  
+ */
+
+package org.apache.directory.studio.ldapbrowser.core.propertypageproviders;
+
+
+public interface SearchPropertyPageProvider
+{
+
+}

Propchange: directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/propertypageproviders/SearchPropertyPageProvider.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/propertypageproviders/ValuePropertyPageProvider.java
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/propertypageproviders/ValuePropertyPageProvider.java?rev=592082&view=auto
==============================================================================
--- directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/propertypageproviders/ValuePropertyPageProvider.java (added)
+++ directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/propertypageproviders/ValuePropertyPageProvider.java Mon Nov  5 08:51:43 2007
@@ -0,0 +1,27 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *  
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *  
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License. 
+ *  
+ */
+
+package org.apache.directory.studio.ldapbrowser.core.propertypageproviders;
+
+
+public interface ValuePropertyPageProvider
+{
+
+}

Propchange: directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/propertypageproviders/ValuePropertyPageProvider.java
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message