directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r279972 [2/2] - in /directory/sandbox/trunk/stub-compiler: ./ src/ src/antlr/ src/docbook/ src/images/ src/java/ src/java/org/ src/java/org/apache/ src/java/org/apache/snickers/ src/java/org/apache/snickers/asn1/ src/java/org/apache/snicker...
Date Sat, 10 Sep 2005 08:40:23 GMT
Added: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/Constraint.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/Constraint.java?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/Constraint.java (added)
+++ directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/Constraint.java Sat Sep 10 01:39:28 2005
@@ -0,0 +1,35 @@
+/**
+ *
+ * Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed 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.snickers.asn1.stages.parser.x680;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class Constraint
+{
+    private ConstraintSpec constraintSpec;
+
+    public ConstraintSpec getConstraintSpec()
+    {
+        return constraintSpec;
+    }
+
+    public void setConstraintSpec( ConstraintSpec constraintSpec )
+    {
+        this.constraintSpec = constraintSpec;
+    }
+}

Propchange: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/Constraint.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ConstraintSpec.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ConstraintSpec.java?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ConstraintSpec.java (added)
+++ directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ConstraintSpec.java Sat Sep 10 01:39:28 2005
@@ -0,0 +1,24 @@
+/**
+ *
+ * Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed 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.snickers.asn1.stages.parser.x680;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class ConstraintSpec
+{
+}

Propchange: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ConstraintSpec.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/DefinedType.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/DefinedType.java?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/DefinedType.java (added)
+++ directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/DefinedType.java Sat Sep 10 01:39:28 2005
@@ -0,0 +1,35 @@
+/**
+ *
+ * Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed 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.snickers.asn1.stages.parser.x680;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class DefinedType
+{
+    private Object definition;
+
+    public Object getDefinition()
+    {
+        return definition;
+    }
+
+    public void setDefinition( Object definition )
+    {
+        this.definition = definition;
+    }
+}

Propchange: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/DefinedType.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/DefinitiveIdentifier.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/DefinitiveIdentifier.java?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/DefinitiveIdentifier.java (added)
+++ directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/DefinitiveIdentifier.java Sat Sep 10 01:39:28 2005
@@ -0,0 +1,24 @@
+/**
+ *
+ * Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed 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.snickers.asn1.stages.parser.x680;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class DefinitiveIdentifier extends ObjectIdentifier
+{
+}

Propchange: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/DefinitiveIdentifier.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/IntegerType.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/IntegerType.java?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/IntegerType.java (added)
+++ directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/IntegerType.java Sat Sep 10 01:39:28 2005
@@ -0,0 +1,37 @@
+/**
+ *
+ * Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed 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.snickers.asn1.stages.parser.x680;
+
+import org.apache.snickers.asn1.stages.parser.TokenBase;
+
+/**
+ * @version $Revision: 154412 $ $Date: $
+ */
+public class IntegerType extends TokenBase implements Type
+{
+    private Tag tag;
+
+    public Tag getTag()
+    {
+        return tag;
+    }
+
+    public void setTag( Tag tag )
+    {
+        this.tag = tag;
+    }
+}

Propchange: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/IntegerType.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/Module.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/Module.java?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/Module.java (added)
+++ directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/Module.java Sat Sep 10 01:39:28 2005
@@ -0,0 +1,84 @@
+/**
+ *
+ * Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed 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.snickers.asn1.stages.parser.x680;
+
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.Map;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class Module
+{
+    private ModuleIdentifier id;
+    private TagDefaultEnum tagDefault = TagDefaultEnum.EXPLICIT;
+    private boolean extensibilityImplied = false;
+    private Map assignments = new HashMap();
+    private Map typeAssignments = new HashMap();
+
+    public ModuleIdentifier getModuleIdentifier()
+    {
+        return id;
+    }
+
+    public void setModuleIdentifier( ModuleIdentifier id )
+    {
+        this.id = id;
+    }
+
+    public TagDefaultEnum getTagDefault()
+    {
+        return tagDefault;
+    }
+
+    public void setTagDefault( TagDefaultEnum tagDefault )
+    {
+        this.tagDefault = tagDefault;
+    }
+
+    public boolean isExtensibilityImplied()
+    {
+        return extensibilityImplied;
+    }
+
+    public void setExtensibilityImplied( boolean extensibilityImplied )
+    {
+        this.extensibilityImplied = extensibilityImplied;
+    }
+
+    public void addTypeAssignment( TypeAssignment assignment )
+    {
+        assignments.put( assignment.getTypeReference(), assignment );
+        typeAssignments.put( assignment.getTypeReference(), assignment );
+    }
+
+    public void addValueAssignment( ValueAssignment assignment )
+    {
+        assignments.put( assignment.getValueReference(), assignment );
+    }
+
+    public Map getTypeAssignments()
+    {
+        return typeAssignments;
+    }
+
+    public Map getAssignments()
+    {
+        return assignments;
+    }
+}

Propchange: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/Module.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ModuleIdentifier.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ModuleIdentifier.java?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ModuleIdentifier.java (added)
+++ directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ModuleIdentifier.java Sat Sep 10 01:39:28 2005
@@ -0,0 +1,48 @@
+/**
+ *
+ * Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed 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.snickers.asn1.stages.parser.x680;
+
+import org.apache.snickers.asn1.stages.parser.x680.DefinitiveIdentifier;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class ModuleIdentifier
+{
+    private ModuleReference name;
+    private DefinitiveIdentifier id;
+
+    public ModuleReference getModuleReference()
+    {
+        return name;
+    }
+
+    public void setModuleReference( ModuleReference name )
+    {
+        this.name = name;
+    }
+
+    public DefinitiveIdentifier getDefinitiveIdentifier()
+    {
+        return id;
+    }
+
+    public void setDefinitiveIdentifier( DefinitiveIdentifier id )
+    {
+        this.id = id;
+    }
+}

Propchange: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ModuleIdentifier.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ModuleReference.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ModuleReference.java?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ModuleReference.java (added)
+++ directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ModuleReference.java Sat Sep 10 01:39:28 2005
@@ -0,0 +1,26 @@
+/**
+ *
+ * Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed 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.snickers.asn1.stages.parser.x680;
+
+import org.apache.snickers.asn1.stages.parser.TokenBase;
+
+/**
+ * @version $Revision: 154412 $ $Date: $
+ */
+public class ModuleReference extends TokenBase
+{
+}

Propchange: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ModuleReference.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/NamedType.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/NamedType.java?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/NamedType.java (added)
+++ directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/NamedType.java Sat Sep 10 01:39:28 2005
@@ -0,0 +1,59 @@
+/**
+ *
+ * Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed 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.snickers.asn1.stages.parser.x680;
+
+import antlr.Token;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class NamedType implements Type
+{
+    private Tag tag;
+    private Token name;
+    private Type type;
+
+    public Tag getTag()
+    {
+        return tag;
+    }
+
+    public void setTag( Tag tag )
+    {
+        this.tag = tag;
+    }
+
+    public Token getName()
+    {
+        return name;
+    }
+
+    public void setName( Token name )
+    {
+        this.name = name;
+    }
+
+    public Type getType()
+    {
+        return type;
+    }
+
+    public void setType( Type type )
+    {
+        this.type = type;
+    }
+}

Propchange: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/NamedType.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ObjectIdentifier.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ObjectIdentifier.java?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ObjectIdentifier.java (added)
+++ directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ObjectIdentifier.java Sat Sep 10 01:39:28 2005
@@ -0,0 +1,74 @@
+/**
+ *
+ * Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed 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.snickers.asn1.stages.parser.x680;
+
+import java.util.ArrayList;
+import antlr.Token;
+
+import org.apache.snickers.asn1.stages.parser.primitive.IntegerPrimitive;
+import org.apache.snickers.asn1.stages.parser.primitive.IntegerPrimitive;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class ObjectIdentifier
+{
+    private ArrayList list = new ArrayList();
+
+    public void addNameForm( Token name )
+    {
+        list.add( name );
+    }
+
+    public void addNumberForm( IntegerPrimitive number )
+    {
+        list.add( number );
+    }
+
+    public void addNameAndNumberForm( Token name, IntegerPrimitive number )
+    {
+        list.add( new NameAndNumber( name, number ) );
+    }
+
+    private class NameAndNumber
+    {
+        private Token name;
+        private IntegerPrimitive number;
+
+        NameAndNumber( Token name, IntegerPrimitive number )
+        {
+            this.name = name;
+            this.number = number;
+        }
+
+        public String toString()
+        {
+            return name.getText() + "(" + number + ")";
+        }
+
+        public boolean equals( Object object )
+        {
+            if ( object instanceof NameAndNumber )
+            {
+                NameAndNumber other = (NameAndNumber) object;
+                return name.getText().equals( other.name.getText() ) && number.equals( other.number );
+            }
+            else
+                return false;
+        }
+    }
+}

Propchange: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ObjectIdentifier.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/OctetStringType.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/OctetStringType.java?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/OctetStringType.java (added)
+++ directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/OctetStringType.java Sat Sep 10 01:39:28 2005
@@ -0,0 +1,37 @@
+/**
+ *
+ * Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed 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.snickers.asn1.stages.parser.x680;
+
+import org.apache.snickers.asn1.stages.parser.TokenBase;
+
+/**
+ * @version $Revision: 154412 $ $Date: $
+ */
+public class OctetStringType extends TokenBase implements Type
+{
+    private Tag tag;
+
+    public Tag getTag()
+    {
+        return tag;
+    }
+
+    public void setTag( Tag tag )
+    {
+        this.tag = tag;
+    }
+}

Propchange: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/OctetStringType.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ReferencedType.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ReferencedType.java?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ReferencedType.java (added)
+++ directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ReferencedType.java Sat Sep 10 01:39:28 2005
@@ -0,0 +1,46 @@
+/**
+ *
+ * Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed 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.snickers.asn1.stages.parser.x680;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class ReferencedType implements Type
+{
+    private Tag tag;
+    private Object Reference;
+
+    public Tag getTag()
+    {
+        return tag;
+    }
+
+    public void setTag( Tag tag )
+    {
+        this.tag = tag;
+    }
+
+    public Object getReference()
+    {
+        return Reference;
+    }
+
+    public void setReference( Object reference )
+    {
+        this.Reference = reference;
+    }
+}

Propchange: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ReferencedType.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/SequenceOfType.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/SequenceOfType.java?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/SequenceOfType.java (added)
+++ directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/SequenceOfType.java Sat Sep 10 01:39:28 2005
@@ -0,0 +1,47 @@
+/**
+ *
+ * Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed 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.snickers.asn1.stages.parser.x680;
+
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class SequenceOfType implements Type
+{
+    private Tag tag;
+    private Type type;
+
+    public Tag getTag()
+    {
+        return tag;
+    }
+
+    public void setTag( Tag tag )
+    {
+        this.tag = tag;
+    }
+
+    public Type getType()
+    {
+        return type;
+    }
+
+    public void setType( Type type )
+    {
+        this.type = type;
+    }
+}

Propchange: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/SequenceOfType.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/SequenceType.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/SequenceType.java?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/SequenceType.java (added)
+++ directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/SequenceType.java Sat Sep 10 01:39:28 2005
@@ -0,0 +1,49 @@
+/**
+ *
+ * Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed 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.snickers.asn1.stages.parser.x680;
+
+import org.apache.snickers.asn1.stages.parser.x680.ComponentTypeLists;
+
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class SequenceType implements Type
+{
+    private Tag tag;
+    private ComponentTypeLists componentTypeLists;
+
+    public Tag getTag()
+    {
+        return tag;
+    }
+
+    public void setTag( Tag tag )
+    {
+        this.tag = tag;
+    }
+
+    public ComponentTypeLists getComponentTypeLists()
+    {
+        return componentTypeLists;
+    }
+
+    public void setComponentTypeLists( ComponentTypeLists componentTypeLists )
+    {
+        this.componentTypeLists = componentTypeLists;
+    }
+}

Propchange: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/SequenceType.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/SubtypeConstraintSpec.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/SubtypeConstraintSpec.java?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/SubtypeConstraintSpec.java (added)
+++ directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/SubtypeConstraintSpec.java Sat Sep 10 01:39:28 2005
@@ -0,0 +1,38 @@
+/**
+ *
+ * Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed 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.snickers.asn1.stages.parser.x680;
+
+import org.apache.snickers.asn1.stages.parser.x680.element.ElementSetSpec;
+import org.apache.snickers.asn1.stages.parser.x680.ConstraintSpec;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class SubtypeConstraintSpec extends ConstraintSpec
+{
+    private ElementSetSpec ElementSetSpec;
+
+    public ElementSetSpec getElementSetSpec()
+    {
+        return ElementSetSpec;
+    }
+
+    public void setElementSetSpec( ElementSetSpec elementSetSpec )
+    {
+        ElementSetSpec = elementSetSpec;
+    }
+}

Propchange: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/SubtypeConstraintSpec.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/Tag.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/Tag.java?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/Tag.java (added)
+++ directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/Tag.java Sat Sep 10 01:39:28 2005
@@ -0,0 +1,44 @@
+/**
+ *
+ * Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed 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.snickers.asn1.stages.parser.x680;
+
+import org.apache.snickers.asn1.stages.parser.primitive.IntegerPrimitive;
+import org.apache.snickers.asn1.stages.parser.primitive.IntegerPrimitive;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class Tag
+{
+    private int id;
+    private IntegerPrimitive integerPrimitive;
+
+    public Tag( IntegerPrimitive integerPrimitive )
+    {
+        this.integerPrimitive = integerPrimitive;
+    }
+
+    public int getId()
+    {
+        return id;
+    }
+
+    public void setId( int id )
+    {
+        this.id = id;
+    }
+}

Propchange: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/Tag.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/TagDefaultEnum.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/TagDefaultEnum.java?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/TagDefaultEnum.java (added)
+++ directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/TagDefaultEnum.java Sat Sep 10 01:39:28 2005
@@ -0,0 +1,34 @@
+/**
+ *
+ * Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed 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.snickers.asn1.stages.parser.x680;
+
+import org.apache.commons.lang.enum.ValuedEnum;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class TagDefaultEnum extends ValuedEnum
+{
+    public static final TagDefaultEnum EXPLICIT = new TagDefaultEnum( "EXPLICIT", 0 );
+    public static final TagDefaultEnum IMPLICIT = new TagDefaultEnum( "IMPLICIT", 1 );
+    public static final TagDefaultEnum AUTOMATIC = new TagDefaultEnum( "AUTOMATIC", 2 );
+
+    public TagDefaultEnum( String s, int i )
+    {
+        super( s, i );
+    }
+}

Propchange: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/TagDefaultEnum.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/Type.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/Type.java?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/Type.java (added)
+++ directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/Type.java Sat Sep 10 01:39:28 2005
@@ -0,0 +1,30 @@
+/**
+ *
+ * Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed 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.snickers.asn1.stages.parser.x680;
+
+
+import org.apache.snickers.asn1.stages.parser.x680.Tag;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public interface Type
+{
+    public Tag getTag();
+
+    public void setTag( Tag tag );
+}

Propchange: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/Type.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/TypeAssignment.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/TypeAssignment.java?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/TypeAssignment.java (added)
+++ directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/TypeAssignment.java Sat Sep 10 01:39:28 2005
@@ -0,0 +1,48 @@
+/**
+ *
+ * Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed 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.snickers.asn1.stages.parser.x680;
+
+import org.apache.snickers.asn1.stages.parser.x680.Type;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class TypeAssignment
+{
+    private TypeReference typeReference;
+    private Type type;
+
+    public TypeReference getTypeReference()
+    {
+        return typeReference;
+    }
+
+    public void setTypeReference( TypeReference typeReference )
+    {
+        this.typeReference = typeReference;
+    }
+
+    public Type getType()
+    {
+        return type;
+    }
+
+    public void setType( Type type )
+    {
+        this.type = type;
+    }
+}

Propchange: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/TypeAssignment.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/TypeReference.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/TypeReference.java?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/TypeReference.java (added)
+++ directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/TypeReference.java Sat Sep 10 01:39:28 2005
@@ -0,0 +1,32 @@
+/**
+ *
+ * Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed 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.snickers.asn1.stages.parser.x680;
+
+import antlr.Token;
+
+import org.apache.snickers.asn1.stages.parser.TokenBase;
+
+/**
+ * @version $Revision: 154412 $ $Date: $
+ */
+public class TypeReference extends TokenBase
+{
+    public TypeReference( Token token )
+    {
+        super( token );
+    }
+}

Propchange: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/TypeReference.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/Value.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/Value.java?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/Value.java (added)
+++ directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/Value.java Sat Sep 10 01:39:28 2005
@@ -0,0 +1,42 @@
+/**
+ *
+ * Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed 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.snickers.asn1.stages.parser.x680;
+
+import antlr.Token;
+
+import org.apache.snickers.asn1.stages.parser.TokenBase;
+
+/**
+ * @version $Revision: 154412 $ $Date: $
+ */
+public class Value extends TokenBase
+{
+    public Value()
+    {
+        super();
+    }
+
+    public Value( Value value )
+    {
+        super( value.getToken() );
+    }
+
+    public Value( Token token )
+    {
+        super( token );
+    }
+}

Propchange: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/Value.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ValueAssignment.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ValueAssignment.java?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ValueAssignment.java (added)
+++ directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ValueAssignment.java Sat Sep 10 01:39:28 2005
@@ -0,0 +1,60 @@
+/**
+ *
+ * Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed 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.snickers.asn1.stages.parser.x680;
+
+import org.apache.snickers.asn1.stages.parser.x680.Type;
+import org.apache.snickers.asn1.stages.parser.x680.Value;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class ValueAssignment
+{
+    private ValueReference valueReference;
+    private Type type;
+    private Value value;
+
+    public ValueReference getValueReference()
+    {
+        return valueReference;
+    }
+
+    public void setValueReference( ValueReference valueReference )
+    {
+        this.valueReference = valueReference;
+    }
+
+    public Type getType()
+    {
+        return type;
+    }
+
+    public void setType( Type type )
+    {
+        this.type = type;
+    }
+
+    public Value getValue()
+    {
+        return value;
+    }
+
+    public void setValue( Value value )
+    {
+        this.value = value;
+    }
+}

Propchange: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ValueAssignment.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ValueReference.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ValueReference.java?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ValueReference.java (added)
+++ directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ValueReference.java Sat Sep 10 01:39:28 2005
@@ -0,0 +1,32 @@
+/**
+ *
+ * Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed 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.snickers.asn1.stages.parser.x680;
+
+import antlr.Token;
+
+import org.apache.snickers.asn1.stages.parser.TokenBase;
+
+/**
+ * @version $Revision: 154412 $ $Date: $
+ */
+public class ValueReference extends TokenBase
+{
+    public ValueReference( Token token )
+    {
+        super( token );
+    }
+}

Propchange: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/ValueReference.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/Element.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/Element.java?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/Element.java (added)
+++ directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/Element.java Sat Sep 10 01:39:28 2005
@@ -0,0 +1,24 @@
+/**
+ *
+ * Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed 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.snickers.asn1.stages.parser.x680.element;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class Element
+{
+}

Propchange: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/Element.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/ElementSetSpec.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/ElementSetSpec.java?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/ElementSetSpec.java (added)
+++ directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/ElementSetSpec.java Sat Sep 10 01:39:28 2005
@@ -0,0 +1,24 @@
+/**
+ *
+ * Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed 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.snickers.asn1.stages.parser.x680.element;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class ElementSetSpec
+{
+}

Propchange: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/ElementSetSpec.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/Intersection.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/Intersection.java?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/Intersection.java (added)
+++ directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/Intersection.java Sat Sep 10 01:39:28 2005
@@ -0,0 +1,35 @@
+/**
+ *
+ * Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed 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.snickers.asn1.stages.parser.x680.element;
+
+import java.util.ArrayList;
+
+import org.apache.snickers.asn1.stages.parser.x680.element.Element;
+import org.apache.snickers.asn1.stages.parser.x680.element.ElementSetSpec;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class Intersection extends ElementSetSpec
+{
+    private ArrayList elements = new ArrayList();
+
+    public void addElement( Element element )
+    {
+        elements.add( element );
+    }
+}

Propchange: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/Intersection.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/LowerEndpoint.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/LowerEndpoint.java?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/LowerEndpoint.java (added)
+++ directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/LowerEndpoint.java Sat Sep 10 01:39:28 2005
@@ -0,0 +1,59 @@
+/**
+ *
+ * Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed 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.snickers.asn1.stages.parser.x680.element;
+
+import org.apache.snickers.asn1.stages.parser.x680.Value;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class LowerEndpoint
+{
+    private Value value;
+    private boolean min;
+    private boolean open;
+
+    public Value getValue()
+    {
+        return value;
+    }
+
+    public void setValue( Value value )
+    {
+        this.value = value;
+    }
+
+    public boolean isMin()
+    {
+        return min;
+    }
+
+    public void setMin( boolean min )
+    {
+        this.min = min;
+    }
+
+    public boolean isOpen()
+    {
+        return open;
+    }
+
+    public void setOpen( boolean open )
+    {
+        this.open = open;
+    }
+}

Propchange: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/LowerEndpoint.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/Union.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/Union.java?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/Union.java (added)
+++ directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/Union.java Sat Sep 10 01:39:28 2005
@@ -0,0 +1,35 @@
+/**
+ *
+ * Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed 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.snickers.asn1.stages.parser.x680.element;
+
+import java.util.ArrayList;
+
+import org.apache.snickers.asn1.stages.parser.x680.element.ElementSetSpec;
+import org.apache.snickers.asn1.stages.parser.x680.element.Intersection;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class Union extends ElementSetSpec
+{
+    private ArrayList intersections = new ArrayList();
+
+    public void addIntersection( Intersection intersection )
+    {
+        intersections.add( intersection );
+    }
+}

Propchange: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/Union.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/UpperEndpoint.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/UpperEndpoint.java?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/UpperEndpoint.java (added)
+++ directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/UpperEndpoint.java Sat Sep 10 01:39:28 2005
@@ -0,0 +1,60 @@
+/**
+ *
+ * Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed 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.snickers.asn1.stages.parser.x680.element;
+
+import org.apache.snickers.asn1.stages.parser.x680.Value;
+import org.apache.snickers.asn1.stages.parser.x680.Value;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class UpperEndpoint extends Value
+{
+    private Value value;
+    private boolean max;
+    private boolean open;
+
+    public Value getValue()
+    {
+        return value;
+    }
+
+    public void setValue( Value value )
+    {
+        this.value = value;
+    }
+
+    public boolean isMax()
+    {
+        return max;
+    }
+
+    public void setMax( boolean max )
+    {
+        this.max = max;
+    }
+
+    public boolean isOpen()
+    {
+        return open;
+    }
+
+    public void setOpen( boolean open )
+    {
+        this.open = open;
+    }
+}

Propchange: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/UpperEndpoint.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/ValueRange.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/ValueRange.java?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/ValueRange.java (added)
+++ directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/ValueRange.java Sat Sep 10 01:39:28 2005
@@ -0,0 +1,51 @@
+/**
+ *
+ * Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed 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.snickers.asn1.stages.parser.x680.element;
+
+import org.apache.snickers.asn1.stages.parser.x680.element.Element;
+import org.apache.snickers.asn1.stages.parser.x680.element.LowerEndpoint;
+import org.apache.snickers.asn1.stages.parser.x680.element.UpperEndpoint;
+
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class ValueRange extends Element
+{
+    private LowerEndpoint lowerEndpoint;
+    private UpperEndpoint upperEndpoint;
+
+    public LowerEndpoint getLowerEndpoint()
+    {
+        return lowerEndpoint;
+    }
+
+    public void setLowerEndpoint( LowerEndpoint lowerEndpoint )
+    {
+        this.lowerEndpoint = lowerEndpoint;
+    }
+
+    public UpperEndpoint getUpperEndpoint()
+    {
+        return upperEndpoint;
+    }
+
+    public void setUpperEndpoint( UpperEndpoint upperEndpoint )
+    {
+        this.upperEndpoint = upperEndpoint;
+    }
+}

Propchange: directory/sandbox/trunk/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/x680/element/ValueRange.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/src/test-data/ldap.asn1
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/test-data/ldap.asn1?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/test-data/ldap.asn1 (added)
+++ directory/sandbox/trunk/stub-compiler/src/test-data/ldap.asn1 Sat Sep 10 01:39:28 2005
@@ -0,0 +1,29 @@
+-- foo --
+
+    Lightweight-Directory-Access-Protocol-V3 DEFINITIONS
+    IMPLICIT TAGS ::= --pragma {packagePrefix: "ldapd.common.ber"}
+
+    BEGIN
+
+        LDAPMessage ::= SEQUENCE {
+            messageID       MessageID,
+ --           protocolOp      CHOICE {
+ --               bindRequest     BindRequest  },
+            controls       [0] Controls OPTIONAL
+        }
+
+        MessageID ::= INTEGER (0 .. maxInt)
+
+        maxInt INTEGER ::= 2147483647 -- (2^^31 - 1) --
+
+        LDAPOID ::= OCTET STRING
+
+        Controls ::= SEQUENCE OF Control
+
+        Control ::= SEQUENCE {
+            controlType     LDAPOID,
+            criticality     BOOLEAN DEFAULT FALSE,
+            controlValue    OCTET STRING OPTIONAL
+        }
+
+    END

Propchange: directory/sandbox/trunk/stub-compiler/src/test-data/ldap.asn1
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/src/test/org/apache/snickers/asn1/CompilerTest.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/test/org/apache/snickers/asn1/CompilerTest.java?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/test/org/apache/snickers/asn1/CompilerTest.java (added)
+++ directory/sandbox/trunk/stub-compiler/src/test/org/apache/snickers/asn1/CompilerTest.java Sat Sep 10 01:39:28 2005
@@ -0,0 +1,43 @@
+/**
+ *
+ * Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed 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.snickers.asn1;
+
+import java.util.HashMap;
+import java.util.Map;
+import junit.framework.TestCase;
+
+import org.apache.snickers.asn1.stages.parser.ParseStage;
+import org.apache.snickers.asn1.stages.codegen.CodeGeneratorStage;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class CompilerTest extends TestCase
+{
+
+    public void testCompiler() throws Exception
+    {
+        Compiler compiler = new Compiler();
+        Map environment = new HashMap();
+
+        environment.put( ParseStage.SRC_URI, "file:./src/test-data/ldap.asn1" );
+        environment.put( CodeGeneratorStage.ROOT_PACKAGE, "org.apache.ldap.asn1" );
+        environment.put( CodeGeneratorStage.DESTINATION_PATH, "./target/test-code" );
+
+        compiler.compile( environment );
+    }
+}
\ No newline at end of file

Propchange: directory/sandbox/trunk/stub-compiler/src/test/org/apache/snickers/asn1/CompilerTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/src/test/org/apache/snickers/asn1/stages/parser/ASN1SyntaxTest.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/test/org/apache/snickers/asn1/stages/parser/ASN1SyntaxTest.java?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/test/org/apache/snickers/asn1/stages/parser/ASN1SyntaxTest.java (added)
+++ directory/sandbox/trunk/stub-compiler/src/test/org/apache/snickers/asn1/stages/parser/ASN1SyntaxTest.java Sat Sep 10 01:39:28 2005
@@ -0,0 +1,88 @@
+/**
+ *
+ * Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed 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.snickers.asn1.stages.parser;
+
+import java.io.File;
+import java.io.FileReader;
+import java.io.StringReader;
+import junit.framework.TestCase;
+
+import org.apache.snickers.asn1.parser.ASN1Lexer;
+import org.apache.snickers.asn1.parser.ASN1Parser;
+import org.apache.snickers.asn1.stages.parser.Environment;
+
+
+/**
+ * @version $Revision: 154412 $ $Date: $
+ */
+public class ASN1SyntaxTest extends TestCase
+{
+
+    public void testModules() throws Exception
+    {
+        Environment env = getParser( "FOOBAR DEFINITIONS ::= BEGIN BSTRING ::= BIT STRING END" ).compile();
+        getParser( "FOOBAR { dOOBAR dd(2) 2 } DEFINITIONS ::= BEGIN BSTRING ::= BIT STRING END" ).module_definition();
+        getParser( "FOOBAR { dOOBAR dd(2) 2 } DEFINITIONS AUTOMATIC TAGS ::= BEGIN BSTRING ::= BIT STRING END" ).module_definition();
+        getParser( "FOOBAR { dOOBAR dd(2) 2 } DEFINITIONS AUTOMATIC TAGS EXTENSIBILITY IMPLIED ::= BEGIN BSTRING ::= BIT STRING END" ).module_definition();
+
+
+        env = getParser( new File( "./src/test-data/ldap.asn1" ) ).compile();
+    }
+
+    public void testTypeAssignment() throws Exception
+    {
+        getParser( "BSTRING ::= BIT STRING" ).type_assignment_test();
+        getParser( "BSTRING ::= BIT STRING {a(1), b(2)}" ).type_assignment_test();
+        getParser( "BSTRING ::= BOOLEAN" ).type_assignment_test();
+    }
+
+    public void testModuleReference() throws Exception
+    {
+        getParser( "FOOBAR" ).module_reference();
+        getParser( "D" ).module_reference();
+        getParser( "D-C" ).module_reference();
+    }
+
+    public void testNumber() throws Exception
+    {
+        getParser( "1.0" ).number();
+        getParser( "1" ).number();
+        getParser( "0" ).number();
+        getParser( "0.123" ).number();
+        getParser( "0.123e-123" ).number();
+        getParser( "0.123e123" ).number();
+        getParser( "0.123E123" ).number();
+        getParser( "''B" ).number();
+        getParser( "'101010'B" ).number();
+        getParser( "'1010 1011 1101 0001'B" ).number();
+        getParser( "''H" ).number();
+        getParser( "'CAFEBABE'H" ).number();
+        getParser( "'CAFE BABE'H" ).number();
+    }
+
+    private ASN1Parser getParser( String src )
+    {
+        ASN1Lexer lexer = new ASN1Lexer( new StringReader( src ) );
+        return new ASN1Parser( lexer );
+    }
+
+    private ASN1Parser getParser( File src ) throws Exception
+    {
+        ASN1Lexer lexer = new ASN1Lexer( new FileReader( src ) );
+        return new ASN1Parser( lexer );
+    }
+}

Propchange: directory/sandbox/trunk/stub-compiler/src/test/org/apache/snickers/asn1/stages/parser/ASN1SyntaxTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/src/vm/class.vm
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/vm/class.vm?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/vm/class.vm (added)
+++ directory/sandbox/trunk/stub-compiler/src/vm/class.vm Sat Sep 10 01:39:28 2005
@@ -0,0 +1,16 @@
+package $package;
+
+import org.apache.snickers.as1.runtime.*;
+
+public class $class extends Type
+{
+#foreach( $field in $fieldList )
+    int $field.getName();
+#end
+
+    public $class() { }
+    
+    public $class($class other)
+    {
+    }
+}

Propchange: directory/sandbox/trunk/stub-compiler/src/vm/class.vm
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/src/vm/copyright.vm
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/src/vm/copyright.vm?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/src/vm/copyright.vm (added)
+++ directory/sandbox/trunk/stub-compiler/src/vm/copyright.vm Sat Sep 10 01:39:28 2005
@@ -0,0 +1,16 @@
+/**
+ *
+ * Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed 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.
+ */

Propchange: directory/sandbox/trunk/stub-compiler/src/vm/copyright.vm
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/velocity.log
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/velocity.log?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/velocity.log (added)
+++ directory/sandbox/trunk/stub-compiler/velocity.log Sat Sep 10 01:39:28 2005
@@ -0,0 +1,41 @@
+Sat Sep 10 01:19:29 CEST 2005  [debug] AvalonLogSystem initialized using logfile 'velocity.log'
+Sat Sep 10 01:19:29 CEST 2005   [info] ************************************************************** 
+Sat Sep 10 01:19:29 CEST 2005   [info] Starting Jakarta Velocity v1.4
+Sat Sep 10 01:19:29 CEST 2005   [info] RuntimeInstance initializing.
+Sat Sep 10 01:19:29 CEST 2005   [info] Default Properties File: org/apache/velocity/runtime/defaults/velocity.properties
+Sat Sep 10 01:19:29 CEST 2005   [info] Trying to use logger class org.apache.velocity.runtime.log.AvalonLogSystem
+Sat Sep 10 01:19:29 CEST 2005   [info] Using logger class org.apache.velocity.runtime.log.AvalonLogSystem
+Sat Sep 10 01:19:29 CEST 2005   [info] Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
+Sat Sep 10 01:19:29 CEST 2005   [info] Resource Loader Instantiated: org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
+Sat Sep 10 01:19:29 CEST 2005   [info] ClasspathResourceLoader : initialization starting.
+Sat Sep 10 01:19:29 CEST 2005   [info] ClasspathResourceLoader : initialization complete.
+Sat Sep 10 01:19:29 CEST 2005   [info] ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
+Sat Sep 10 01:19:29 CEST 2005   [info] Default ResourceManager initialization complete.
+Sat Sep 10 01:19:29 CEST 2005   [info] Loaded System Directive: org.apache.velocity.runtime.directive.Literal
+Sat Sep 10 01:19:29 CEST 2005   [info] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
+Sat Sep 10 01:19:29 CEST 2005   [info] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
+Sat Sep 10 01:19:29 CEST 2005   [info] Loaded System Directive: org.apache.velocity.runtime.directive.Include
+Sat Sep 10 01:19:29 CEST 2005   [info] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
+Sat Sep 10 01:19:30 CEST 2005   [info] Created: 20 parsers.
+Sat Sep 10 01:19:30 CEST 2005   [info] Velocimacro : initialization starting.
+Sat Sep 10 01:19:30 CEST 2005   [info] Velocimacro : adding VMs from VM library template : VM_global_library.vm
+Sat Sep 10 01:19:30 CEST 2005  [error] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader.
+Sat Sep 10 01:19:30 CEST 2005   [info] Velocimacro : error using  VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'VM_global_library.vm'
+Sat Sep 10 01:19:30 CEST 2005   [info] Velocimacro :  VM library template macro registration complete.
+Sat Sep 10 01:19:30 CEST 2005   [info] Velocimacro : allowInline = true : VMs can be defined inline in templates
+Sat Sep 10 01:19:30 CEST 2005   [info] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
+Sat Sep 10 01:19:30 CEST 2005   [info] Velocimacro : allowInlineLocal = false : VMs defined inline will be  global in scope if allowed.
+Sat Sep 10 01:19:30 CEST 2005   [info] Velocimacro : messages on  : VM system will output logging messages
+Sat Sep 10 01:19:30 CEST 2005   [info] Velocimacro : autoload off  : VM system will not automatically reload global library macros
+Sat Sep 10 01:19:30 CEST 2005   [info] Velocimacro : initialization complete.
+Sat Sep 10 01:19:30 CEST 2005   [info] Velocity successfully started.
+Sat Sep 10 01:19:30 CEST 2005   [info] ResourceManager : found copyright.vm with loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
+Sat Sep 10 01:19:30 CEST 2005   [info] ResourceManager : found class.vm with loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
+Sat Sep 10 01:19:30 CEST 2005   [info] ResourceManager : found copyright.vm with loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
+Sat Sep 10 01:19:30 CEST 2005   [info] ResourceManager : found class.vm with loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
+Sat Sep 10 01:19:30 CEST 2005   [info] ResourceManager : found copyright.vm with loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
+Sat Sep 10 01:19:30 CEST 2005   [info] ResourceManager : found class.vm with loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
+Sat Sep 10 01:19:30 CEST 2005   [info] ResourceManager : found copyright.vm with loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
+Sat Sep 10 01:19:30 CEST 2005   [info] ResourceManager : found class.vm with loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
+Sat Sep 10 01:19:30 CEST 2005   [info] ResourceManager : found copyright.vm with loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
+Sat Sep 10 01:19:30 CEST 2005   [info] ResourceManager : found class.vm with loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader

Propchange: directory/sandbox/trunk/stub-compiler/velocity.log
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/trunk/stub-compiler/xdocs/index.xml
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/stub-compiler/xdocs/index.xml?rev=279972&view=auto
==============================================================================
--- directory/sandbox/trunk/stub-compiler/xdocs/index.xml (added)
+++ directory/sandbox/trunk/stub-compiler/xdocs/index.xml Sat Sep 10 01:39:28 2005
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document>
+  <properties>
+    <author email="akarasulu@apache.org">Alex Karasulu</author>
+    <title>Snickers ASN.1 Java Stub Compiler</title>
+  </properties>
+  <body>
+    <section name="Coming soon ...">
+      <p>
+        Wonderful things are coming soon ...
+      </p>
+    </section>
+  </body>
+</document>

Propchange: directory/sandbox/trunk/stub-compiler/xdocs/index.xml
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message