incubator-imperius-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ke...@apache.org
Subject svn commit: r611261 [8/43] - in /incubator/imperius/trunk: ./ imperius-javaspl/ imperius-javaspl/src/main/java/org/apache/imperius/javaspl/ imperius-splcore/ imperius-splcore/src/main/antlr/org/apache/imperius/spl/parser/compiler/ imperius-splcore/src/...
Date Fri, 11 Jan 2008 18:57:14 GMT
Modified: incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/InvalidAssociationException.java
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/InvalidAssociationException.java?rev=611261&r1=611260&r2=611261&view=diff
==============================================================================
--- incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/InvalidAssociationException.java (original)
+++ incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/InvalidAssociationException.java Fri Jan 11 10:56:30 2008
@@ -1,39 +1,39 @@
-/*
- * 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.
- */
-//
-
-/**
- * @author Prashant Baliga <prabalig@in.ibm.com>
- *
- */
-
-package org.apache.imperius.spl.parser.exceptions;
-
-
-
-public class InvalidAssociationException extends SPLException
-{
-    
-    /**
-	 * 
-	 */
-	private static final long serialVersionUID = 1L;
-
-	public InvalidAssociationException(String s)
-    {
-        super(s);
-        // TODO Auto-generated constructor stub
-    }
-    
-}
+/*
+ * 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.
+ */
+//
+
+/**
+ * @author Prashant Baliga <prabalig@in.ibm.com>
+ *
+ */
+
+package org.apache.imperius.spl.parser.exceptions;
+
+
+
+public class InvalidAssociationException extends SPLException
+{
+    
+    /**
+	 * 
+	 */
+	private static final long serialVersionUID = 1L;
+
+	public InvalidAssociationException(String s)
+    {
+        super(s);
+        // TODO Auto-generated constructor stub
+    }
+    
+}

Propchange: incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/InvalidAssociationException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/InvalidCIMParameterException.java
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/InvalidCIMParameterException.java?rev=611261&r1=611260&r2=611261&view=diff
==============================================================================
--- incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/InvalidCIMParameterException.java (original)
+++ incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/InvalidCIMParameterException.java Fri Jan 11 10:56:30 2008
@@ -1,39 +1,39 @@
-/*
- * 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.
- */
-//
-
-/**
- * @author Prashant Baliga <prabalig@in.ibm.com>
- *
- */
-
-package org.apache.imperius.spl.parser.exceptions;
-
-
-
-public class InvalidCIMParameterException extends SPLException
-{
-    
-    /**
-	 * 
-	 */
-	private static final long serialVersionUID = 1L;
-
-	public InvalidCIMParameterException(String s)
-    {
-        super(s);
-        // TODO Auto-generated constructor stub
-    }
-    
-}
+/*
+ * 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.
+ */
+//
+
+/**
+ * @author Prashant Baliga <prabalig@in.ibm.com>
+ *
+ */
+
+package org.apache.imperius.spl.parser.exceptions;
+
+
+
+public class InvalidCIMParameterException extends SPLException
+{
+    
+    /**
+	 * 
+	 */
+	private static final long serialVersionUID = 1L;
+
+	public InvalidCIMParameterException(String s)
+    {
+        super(s);
+        // TODO Auto-generated constructor stub
+    }
+    
+}

Propchange: incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/InvalidCIMParameterException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/InvalidPolicyParameterException.java
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/InvalidPolicyParameterException.java?rev=611261&r1=611260&r2=611261&view=diff
==============================================================================
--- incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/InvalidPolicyParameterException.java (original)
+++ incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/InvalidPolicyParameterException.java Fri Jan 11 10:56:30 2008
@@ -1,39 +1,39 @@
-/*
- * 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.
- */
-//
-
-/**
- * @author Prashant Baliga <prabalig@in.ibm.com>
- *
- */
-
-package org.apache.imperius.spl.parser.exceptions;
-
-
-
-public class InvalidPolicyParameterException extends SPLException
-{
-    
-    /**
-	 * 
-	 */
-	private static final long serialVersionUID = 1L;
-
-	public InvalidPolicyParameterException(String s)
-    {
-        super(s);
-        // TODO Auto-generated constructor stub
-    }
-    
-}
+/*
+ * 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.
+ */
+//
+
+/**
+ * @author Prashant Baliga <prabalig@in.ibm.com>
+ *
+ */
+
+package org.apache.imperius.spl.parser.exceptions;
+
+
+
+public class InvalidPolicyParameterException extends SPLException
+{
+    
+    /**
+	 * 
+	 */
+	private static final long serialVersionUID = 1L;
+
+	public InvalidPolicyParameterException(String s)
+    {
+        super(s);
+        // TODO Auto-generated constructor stub
+    }
+    
+}

Propchange: incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/InvalidPolicyParameterException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/MissingParameterException.java
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/MissingParameterException.java?rev=611261&r1=611260&r2=611261&view=diff
==============================================================================
--- incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/MissingParameterException.java (original)
+++ incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/MissingParameterException.java Fri Jan 11 10:56:30 2008
@@ -1,37 +1,37 @@
-/*
- * 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.
- */
-//
-
-/**
- * @author Neeraj Joshi <jneeraj@us.ibm.com>
- *
- */
-
-package org.apache.imperius.spl.parser.exceptions;
-
-
-
-public class MissingParameterException extends SPLException
-{
-    /**
-	 * 
-	 */
-	private static final long serialVersionUID = 1L;
-
-	public MissingParameterException(String s)
-    {
-        super(s);
-    }
-    
-}
+/*
+ * 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.
+ */
+//
+
+/**
+ * @author Neeraj Joshi <jneeraj@us.ibm.com>
+ *
+ */
+
+package org.apache.imperius.spl.parser.exceptions;
+
+
+
+public class MissingParameterException extends SPLException
+{
+    /**
+	 * 
+	 */
+	private static final long serialVersionUID = 1L;
+
+	public MissingParameterException(String s)
+    {
+        super(s);
+    }
+    
+}

Propchange: incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/MissingParameterException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/NonExistentSymbolException.java
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/NonExistentSymbolException.java?rev=611261&r1=611260&r2=611261&view=diff
==============================================================================
--- incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/NonExistentSymbolException.java (original)
+++ incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/NonExistentSymbolException.java Fri Jan 11 10:56:30 2008
@@ -1,37 +1,37 @@
-/*
- * 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.
- */
-//
-
-/**
- * @author Neeraj Joshi <jneeraj@us.ibm.com>
- *
- */
-
-package org.apache.imperius.spl.parser.exceptions;
-
-
-
-public class NonExistentSymbolException extends SPLException
-{
-    /**
-	 * 
-	 */
-	private static final long serialVersionUID = 1L;
-
-	public NonExistentSymbolException(String x)
-    {
-        super(x);
-    }
-    
-}
+/*
+ * 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.
+ */
+//
+
+/**
+ * @author Neeraj Joshi <jneeraj@us.ibm.com>
+ *
+ */
+
+package org.apache.imperius.spl.parser.exceptions;
+
+
+
+public class NonExistentSymbolException extends SPLException
+{
+    /**
+	 * 
+	 */
+	private static final long serialVersionUID = 1L;
+
+	public NonExistentSymbolException(String x)
+    {
+        super(x);
+    }
+    
+}

Propchange: incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/NonExistentSymbolException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/PolicyAlreadyExistsInRepositoryException.java
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/PolicyAlreadyExistsInRepositoryException.java?rev=611261&r1=611260&r2=611261&view=diff
==============================================================================
--- incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/PolicyAlreadyExistsInRepositoryException.java (original)
+++ incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/PolicyAlreadyExistsInRepositoryException.java Fri Jan 11 10:56:30 2008
@@ -1,39 +1,39 @@
-/*
- * 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.
- */
-//
-
-/**
- * @author Prashant Baliga <prabalig@in.ibm.com>
- *
- */
-
-package org.apache.imperius.spl.parser.exceptions;
-
-
-
-public class PolicyAlreadyExistsInRepositoryException extends SPLException
-{
-    
-    /**
-	 * 
-	 */
-	private static final long serialVersionUID = 1L;
-
-	public PolicyAlreadyExistsInRepositoryException(String s)
-    {
-        super(s);
-        // TODO Auto-generated constructor stub
-    }
-    
-}
+/*
+ * 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.
+ */
+//
+
+/**
+ * @author Prashant Baliga <prabalig@in.ibm.com>
+ *
+ */
+
+package org.apache.imperius.spl.parser.exceptions;
+
+
+
+public class PolicyAlreadyExistsInRepositoryException extends SPLException
+{
+    
+    /**
+	 * 
+	 */
+	private static final long serialVersionUID = 1L;
+
+	public PolicyAlreadyExistsInRepositoryException(String s)
+    {
+        super(s);
+        // TODO Auto-generated constructor stub
+    }
+    
+}

Propchange: incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/PolicyAlreadyExistsInRepositoryException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/PolicyDoesNotExistException.java
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/PolicyDoesNotExistException.java?rev=611261&r1=611260&r2=611261&view=diff
==============================================================================
--- incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/PolicyDoesNotExistException.java (original)
+++ incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/PolicyDoesNotExistException.java Fri Jan 11 10:56:30 2008
@@ -1,39 +1,39 @@
-/*
- * 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.
- */
-//
-
-/**
- * @author Neeraj Joshi <jneeraj@us.ibm.com>
- *
- */
-
-package org.apache.imperius.spl.parser.exceptions;
-
-
-
-public class PolicyDoesNotExistException extends SPLException
-{
-    
-    /**
-	 * 
-	 */
-	private static final long serialVersionUID = 1L;
-
-	public PolicyDoesNotExistException(String s)
-    {
-        super(s);
-        // TODO Auto-generated constructor stub
-    }
-    
-}
+/*
+ * 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.
+ */
+//
+
+/**
+ * @author Neeraj Joshi <jneeraj@us.ibm.com>
+ *
+ */
+
+package org.apache.imperius.spl.parser.exceptions;
+
+
+
+public class PolicyDoesNotExistException extends SPLException
+{
+    
+    /**
+	 * 
+	 */
+	private static final long serialVersionUID = 1L;
+
+	public PolicyDoesNotExistException(String s)
+    {
+        super(s);
+        // TODO Auto-generated constructor stub
+    }
+    
+}

Propchange: incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/PolicyDoesNotExistException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/ReferenceDoesNotExistException.java
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/ReferenceDoesNotExistException.java?rev=611261&r1=611260&r2=611261&view=diff
==============================================================================
--- incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/ReferenceDoesNotExistException.java (original)
+++ incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/ReferenceDoesNotExistException.java Fri Jan 11 10:56:30 2008
@@ -1,39 +1,39 @@
-/*
- * 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.
- */
-//
-
-/**
- * @author Prashant Baliga <prabalig@in.ibm.com>
- *
- */
-
-package org.apache.imperius.spl.parser.exceptions;
-
-
-
-public class ReferenceDoesNotExistException extends SPLException
-{
-    
-    /**
-	 * 
-	 */
-	private static final long serialVersionUID = 1L;
-
-	public ReferenceDoesNotExistException(String s)
-    {
-        super(s);
-        // TODO Auto-generated constructor stub
-    }
-    
-}
+/*
+ * 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.
+ */
+//
+
+/**
+ * @author Prashant Baliga <prabalig@in.ibm.com>
+ *
+ */
+
+package org.apache.imperius.spl.parser.exceptions;
+
+
+
+public class ReferenceDoesNotExistException extends SPLException
+{
+    
+    /**
+	 * 
+	 */
+	private static final long serialVersionUID = 1L;
+
+	public ReferenceDoesNotExistException(String s)
+    {
+        super(s);
+        // TODO Auto-generated constructor stub
+    }
+    
+}

Propchange: incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/ReferenceDoesNotExistException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/SPLException.java
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/SPLException.java?rev=611261&r1=611260&r2=611261&view=diff
==============================================================================
--- incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/SPLException.java (original)
+++ incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/SPLException.java Fri Jan 11 10:56:30 2008
@@ -1,38 +1,38 @@
-/*
- * 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.
- */
-//
-
-/**
- * @author Neeraj Joshi <jneeraj@us.ibm.com>
- *
- */
-
-package org.apache.imperius.spl.parser.exceptions;
-
-
-
-public class SPLException extends Exception
-{
-    
-    
-    /**
-	 * 
-	 */
-	private static final long serialVersionUID = 1L;
-
-	public SPLException(String s)
-    {
-        super(s);
-    }
-}
+/*
+ * 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.
+ */
+//
+
+/**
+ * @author Neeraj Joshi <jneeraj@us.ibm.com>
+ *
+ */
+
+package org.apache.imperius.spl.parser.exceptions;
+
+
+
+public class SPLException extends Exception
+{
+    
+    
+    /**
+	 * 
+	 */
+	private static final long serialVersionUID = 1L;
+
+	public SPLException(String s)
+    {
+        super(s);
+    }
+}

Propchange: incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/SPLException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/SymbolAlreadyDefinedException.java
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/SymbolAlreadyDefinedException.java?rev=611261&r1=611260&r2=611261&view=diff
==============================================================================
--- incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/SymbolAlreadyDefinedException.java (original)
+++ incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/SymbolAlreadyDefinedException.java Fri Jan 11 10:56:30 2008
@@ -1,39 +1,39 @@
-/*
- * 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.
- */
-//
-
-/**
- * @author Neeraj Joshi <jneeraj@us.ibm.com>
- *
- */
-
-package org.apache.imperius.spl.parser.exceptions;
-
-
-
-public class SymbolAlreadyDefinedException extends SPLException
-{
-    
-    /**
-	 * 
-	 */
-	private static final long serialVersionUID = 1L;
-
-	public SymbolAlreadyDefinedException(String s)
-    {
-        super(s);
-        // TODO Auto-generated constructor stub
-    }
-    
-}
+/*
+ * 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.
+ */
+//
+
+/**
+ * @author Neeraj Joshi <jneeraj@us.ibm.com>
+ *
+ */
+
+package org.apache.imperius.spl.parser.exceptions;
+
+
+
+public class SymbolAlreadyDefinedException extends SPLException
+{
+    
+    /**
+	 * 
+	 */
+	private static final long serialVersionUID = 1L;
+
+	public SymbolAlreadyDefinedException(String s)
+    {
+        super(s);
+        // TODO Auto-generated constructor stub
+    }
+    
+}

Propchange: incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/SymbolAlreadyDefinedException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/TypeMismatchException.java
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/TypeMismatchException.java?rev=611261&r1=611260&r2=611261&view=diff
==============================================================================
--- incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/TypeMismatchException.java (original)
+++ incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/TypeMismatchException.java Fri Jan 11 10:56:30 2008
@@ -1,39 +1,39 @@
-/*
- * 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.
- */
-//
-
-/**
- * @author Neeraj Joshi <jneeraj@us.ibm.com>
- *
- */
-
-package org.apache.imperius.spl.parser.exceptions;
-
-
-
-public class TypeMismatchException extends SPLException
-{
-    
-    /**
-	 * 
-	 */
-	private static final long serialVersionUID = 1L;
-
-	public TypeMismatchException(String s)
-    {
-        super(s);
-        // TODO Auto-generated constructor stub
-    }
-    
-}
+/*
+ * 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.
+ */
+//
+
+/**
+ * @author Neeraj Joshi <jneeraj@us.ibm.com>
+ *
+ */
+
+package org.apache.imperius.spl.parser.exceptions;
+
+
+
+public class TypeMismatchException extends SPLException
+{
+    
+    /**
+	 * 
+	 */
+	private static final long serialVersionUID = 1L;
+
+	public TypeMismatchException(String s)
+    {
+        super(s);
+        // TODO Auto-generated constructor stub
+    }
+    
+}

Propchange: incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/TypeMismatchException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/TypesNotAssignableException.java
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/TypesNotAssignableException.java?rev=611261&r1=611260&r2=611261&view=diff
==============================================================================
--- incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/TypesNotAssignableException.java (original)
+++ incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/TypesNotAssignableException.java Fri Jan 11 10:56:30 2008
@@ -1,39 +1,39 @@
-/*
- * 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.
- */
-//
-
-/**
- * @author Neeraj Joshi <jneeraj@us.ibm.com>
- *
- */
-
-package org.apache.imperius.spl.parser.exceptions;
-
-
-
-public class TypesNotAssignableException extends SPLException
-{
-    
-    /**
-	 * 
-	 */
-	private static final long serialVersionUID = 1L;
-
-	public TypesNotAssignableException(String s)
-    {
-        super(s);
-        // TODO Auto-generated constructor stub
-    }
-    
-}
+/*
+ * 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.
+ */
+//
+
+/**
+ * @author Neeraj Joshi <jneeraj@us.ibm.com>
+ *
+ */
+
+package org.apache.imperius.spl.parser.exceptions;
+
+
+
+public class TypesNotAssignableException extends SPLException
+{
+    
+    /**
+	 * 
+	 */
+	private static final long serialVersionUID = 1L;
+
+	public TypesNotAssignableException(String s)
+    {
+        super(s);
+        // TODO Auto-generated constructor stub
+    }
+    
+}

Propchange: incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/exceptions/TypesNotAssignableException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/expression/primary/BasicCollectionExpression.java
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/expression/primary/BasicCollectionExpression.java?rev=611261&r1=611260&r2=611261&view=diff
==============================================================================
--- incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/expression/primary/BasicCollectionExpression.java (original)
+++ incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/expression/primary/BasicCollectionExpression.java Fri Jan 11 10:56:30 2008
@@ -1,260 +1,260 @@
-/*
- * 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.
- */
-//
-
-/**
- * @author Prashant Baliga <prabalig@in.ibm.com>
- *
- */
-
-
-
-package org.apache.imperius.spl.parser.expression.primary;
-
-import java.security.InvalidParameterException;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-import java.util.logging.Logger;
-
-import org.apache.imperius.spl.external.Expression;
-import org.apache.imperius.spl.parser.compiler.symboltable.SPLSymbolTable;
-import org.apache.imperius.spl.parser.exceptions.IllegalParameterTypeException;
-import org.apache.imperius.spl.parser.exceptions.SPLException;
-import org.apache.imperius.spl.parser.util.TypeInfo;
-import org.apache.imperius.spl.parser.util.TypeResolver;
-import org.apache.imperius.util.SPLLogger;
-
-
-public class BasicCollectionExpression  implements Expression 
-{
-	private List _elements = null;
-	private static Logger logger = SPLLogger.getSPLLogger().getLogger();
-	private static final String sourceClass="BasicCollectionExpression";
-	
-	private int _size=0;
-	private TypeInfo _collectionType=null;
-	//private int expressionType=TypeConstants.basicCollectionType;
-	
-	private String _referenceTypeName="";
-	
-
-
-	public BasicCollectionExpression(List pList, SPLSymbolTable sTab) 
-	{
-		logger.entering(sourceClass,Thread.currentThread().getName()+" "+ "BasicCollectionExpression");
-		
-		//System.out.println("creating BasicCollectionExpression");
-		if(pList.isEmpty()) 
-		{
-			
-            logger.severe(Thread.currentThread().getName()+" "+
-            		"No of parameters for Basic collection has to be greater than zero ");
-			
-			throw new InvalidParameterException("No of parameters for Basic collection has to be greater than zero "); 
-		}
-
-		_elements=pList;
-		try
-		{
-			if(!validate())
-			{
-
-                logger.severe(Thread.currentThread().getName()+" "+
-                		"No of parameters for Basic collection has to be greater than zero ");
-                throw new IllegalParameterTypeException("Validation of BasicCollectionExpression Failed");
-			}
-			
-	
-		}
-		catch(SPLException e)
-		{
-			e.printStackTrace();
-		}
-		
-		_size = _elements.size();
-		
-		//System.out.println("size "+this._size+"  isArray"+ this.getType().getIsArray());
-		logger.exiting(sourceClass,Thread.currentThread().getName()+" "+ "BasicCollectionExpression");
-		
-
-	}
-
-
-
-
-	public Object evaluate() throws SPLException 
-	{
-		logger.entering(sourceClass,Thread.currentThread().getName()+" "+ "evaluate");
-		
-		//System.out.println("evaluate  ");
-		ArrayList resultCollection=new ArrayList();
-		Iterator ExpIt = _elements.iterator();
-		while(ExpIt.hasNext())
-		{
-			Expression exp = (Expression)ExpIt.next();
-			Object resultElement = exp.evaluate();
-			
-			//contained expression is not of type collection, just add it to the result Array
-						
-			resultCollection.add(resultElement);
-			
-			
-		}
-		//System.out.println("returning resultCollection");
-		logger.exiting(sourceClass,Thread.currentThread().getName()+" "+ "evaluate");
-		
-		return resultCollection;
-	}
-
-
-
-	public boolean validate() throws SPLException 
-	{
-		logger.entering(sourceClass,Thread.currentThread().getName()+" "+ "validate");
-		
-		//System.out.println("validate BasicCollectionExpression");
-		Iterator paramListIterator = _elements.iterator();
-		while(paramListIterator.hasNext())
-		{
-			Expression expression=(Expression)paramListIterator.next();
-			if(_collectionType == null)
-			{
-				_collectionType = new TypeInfo(expression.getType());
-				_collectionType.setIsArray(true);
-				
-				//System.out.println("setting collectionType to "+_collectionType.getType()+" "+_collectionType.getIsArray());
-				if(TypeResolver.isReference(_collectionType))
-				{
-					_collectionType.setReferenceTypeName(expression.getReferenceTypeName());
-					_referenceTypeName = expression.getReferenceTypeName();
-				}
-				
-			}
-			else if (_collectionType.getType() != expression.getType().getType())
-			{
-				
-
-				logger.exiting(sourceClass,Thread.currentThread().getName()+" "+ "validate");
-				return false;
-			}
-			_collectionType.setIsArray(true);
-			
-		}
-
-		logger.exiting(sourceClass,Thread.currentThread().getName()+" "+ "validate");
-		return true;
-	}
-	public List getCollectionElements() 
-	{
-		logger.entering(sourceClass,Thread.currentThread().getName()+" "+ "getCollectionElements");
-		
-
-		logger.exiting(sourceClass,Thread.currentThread().getName()+" "+ "getCollectionElements");
-		
-		return _elements;
-	}
-	public int getCollectionSize() 
-	{
-		logger.entering(sourceClass,Thread.currentThread().getName()+" "+ "getCollectionSize");
-		
-
-		logger.exiting(sourceClass,Thread.currentThread().getName()+" "+ "getCollectionSize");
-		
-		return _size;
-	}
-
-	public boolean isArray() 
-	{
-				//System.out.println("Basic Collect returning this.getType().getIsArray()"+this.getType().getIsArray());
-		return this.getType().getIsArray();
-	}
-
-	/*public void setElements(List elements) 
-	{
-		logger.entering(sourceClass,Thread.currentThread().getName()+" "+ "setElements");
-		
-		_elements = elements;
-		logger.exiting(sourceClass,Thread.currentThread().getName()+" "+ "setElements");
-		
-	}*/
-
-	/*public void setSize(int size) 
-	{
-		logger.entering(sourceClass,Thread.currentThread().getName()+" "+ "setSize");
-		
-		this.size = size;
-		logger.exiting(sourceClass,Thread.currentThread().getName()+" "+ "setSize");
-		
-	}*/
-
-	
-
-
-	public TypeInfo getType() 
-	{
-		
-		
-		return _collectionType;
-	}
-
-
-
-
-	/*public void setType(int expressionType) {
-		logger.entering(sourceClass,Thread.currentThread().getName()+" "+ "setType");
-		
-		this.collectionType = expressionType;
-		logger.exiting(sourceClass,Thread.currentThread().getName()+" "+ "setType");
-		
-	}*/
-    
-    public String toString()
-    {
-        logger.entering(sourceClass,Thread.currentThread().getName()+" "+ "toString");
-        
-        
-        String str="[ ";
-        
-        Iterator ExpIt = _elements.iterator();
-        while(ExpIt.hasNext())
-        {
-            Expression exp=(Expression)ExpIt.next();
-            if(exp!=null)
-            {
-                
-            	String expstr=exp.toString();
-            	str+=expstr + " , ";
-            }
-            
-        }
-        str=str.substring(0, str.length()-3);
-        str+=" ]";
-        
-        logger.exiting(sourceClass,Thread.currentThread().getName()+" "+ "toString");
-       
-        return str;
-    }
-
-
-
-
-	public String getReferenceTypeName() throws SPLException 
-	{
-	
-		return _referenceTypeName;
-	}
-    
-
+/*
+ * 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.
+ */
+//
+
+/**
+ * @author Prashant Baliga <prabalig@in.ibm.com>
+ *
+ */
+
+
+
+package org.apache.imperius.spl.parser.expression.primary;
+
+import java.security.InvalidParameterException;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+import java.util.logging.Logger;
+
+import org.apache.imperius.spl.external.Expression;
+import org.apache.imperius.spl.parser.compiler.symboltable.SPLSymbolTable;
+import org.apache.imperius.spl.parser.exceptions.IllegalParameterTypeException;
+import org.apache.imperius.spl.parser.exceptions.SPLException;
+import org.apache.imperius.spl.parser.util.TypeInfo;
+import org.apache.imperius.spl.parser.util.TypeResolver;
+import org.apache.imperius.util.SPLLogger;
+
+
+public class BasicCollectionExpression  implements Expression 
+{
+	private List _elements = null;
+	private static Logger logger = SPLLogger.getSPLLogger().getLogger();
+	private static final String sourceClass="BasicCollectionExpression";
+	
+	private int _size=0;
+	private TypeInfo _collectionType=null;
+	//private int expressionType=TypeConstants.basicCollectionType;
+	
+	private String _referenceTypeName="";
+	
+
+
+	public BasicCollectionExpression(List pList, SPLSymbolTable sTab) 
+	{
+		logger.entering(sourceClass,Thread.currentThread().getName()+" "+ "BasicCollectionExpression");
+		
+		//System.out.println("creating BasicCollectionExpression");
+		if(pList.isEmpty()) 
+		{
+			
+            logger.severe(Thread.currentThread().getName()+" "+
+            		"No of parameters for Basic collection has to be greater than zero ");
+			
+			throw new InvalidParameterException("No of parameters for Basic collection has to be greater than zero "); 
+		}
+
+		_elements=pList;
+		try
+		{
+			if(!validate())
+			{
+
+                logger.severe(Thread.currentThread().getName()+" "+
+                		"No of parameters for Basic collection has to be greater than zero ");
+                throw new IllegalParameterTypeException("Validation of BasicCollectionExpression Failed");
+			}
+			
+	
+		}
+		catch(SPLException e)
+		{
+			e.printStackTrace();
+		}
+		
+		_size = _elements.size();
+		
+		//System.out.println("size "+this._size+"  isArray"+ this.getType().getIsArray());
+		logger.exiting(sourceClass,Thread.currentThread().getName()+" "+ "BasicCollectionExpression");
+		
+
+	}
+
+
+
+
+	public Object evaluate() throws SPLException 
+	{
+		logger.entering(sourceClass,Thread.currentThread().getName()+" "+ "evaluate");
+		
+		//System.out.println("evaluate  ");
+		ArrayList resultCollection=new ArrayList();
+		Iterator ExpIt = _elements.iterator();
+		while(ExpIt.hasNext())
+		{
+			Expression exp = (Expression)ExpIt.next();
+			Object resultElement = exp.evaluate();
+			
+			//contained expression is not of type collection, just add it to the result Array
+						
+			resultCollection.add(resultElement);
+			
+			
+		}
+		//System.out.println("returning resultCollection");
+		logger.exiting(sourceClass,Thread.currentThread().getName()+" "+ "evaluate");
+		
+		return resultCollection;
+	}
+
+
+
+	public boolean validate() throws SPLException 
+	{
+		logger.entering(sourceClass,Thread.currentThread().getName()+" "+ "validate");
+		
+		//System.out.println("validate BasicCollectionExpression");
+		Iterator paramListIterator = _elements.iterator();
+		while(paramListIterator.hasNext())
+		{
+			Expression expression=(Expression)paramListIterator.next();
+			if(_collectionType == null)
+			{
+				_collectionType = new TypeInfo(expression.getType());
+				_collectionType.setIsArray(true);
+				
+				//System.out.println("setting collectionType to "+_collectionType.getType()+" "+_collectionType.getIsArray());
+				if(TypeResolver.isReference(_collectionType))
+				{
+					_collectionType.setReferenceTypeName(expression.getReferenceTypeName());
+					_referenceTypeName = expression.getReferenceTypeName();
+				}
+				
+			}
+			else if (_collectionType.getType() != expression.getType().getType())
+			{
+				
+
+				logger.exiting(sourceClass,Thread.currentThread().getName()+" "+ "validate");
+				return false;
+			}
+			_collectionType.setIsArray(true);
+			
+		}
+
+		logger.exiting(sourceClass,Thread.currentThread().getName()+" "+ "validate");
+		return true;
+	}
+	public List getCollectionElements() 
+	{
+		logger.entering(sourceClass,Thread.currentThread().getName()+" "+ "getCollectionElements");
+		
+
+		logger.exiting(sourceClass,Thread.currentThread().getName()+" "+ "getCollectionElements");
+		
+		return _elements;
+	}
+	public int getCollectionSize() 
+	{
+		logger.entering(sourceClass,Thread.currentThread().getName()+" "+ "getCollectionSize");
+		
+
+		logger.exiting(sourceClass,Thread.currentThread().getName()+" "+ "getCollectionSize");
+		
+		return _size;
+	}
+
+	public boolean isArray() 
+	{
+				//System.out.println("Basic Collect returning this.getType().getIsArray()"+this.getType().getIsArray());
+		return this.getType().getIsArray();
+	}
+
+	/*public void setElements(List elements) 
+	{
+		logger.entering(sourceClass,Thread.currentThread().getName()+" "+ "setElements");
+		
+		_elements = elements;
+		logger.exiting(sourceClass,Thread.currentThread().getName()+" "+ "setElements");
+		
+	}*/
+
+	/*public void setSize(int size) 
+	{
+		logger.entering(sourceClass,Thread.currentThread().getName()+" "+ "setSize");
+		
+		this.size = size;
+		logger.exiting(sourceClass,Thread.currentThread().getName()+" "+ "setSize");
+		
+	}*/
+
+	
+
+
+	public TypeInfo getType() 
+	{
+		
+		
+		return _collectionType;
+	}
+
+
+
+
+	/*public void setType(int expressionType) {
+		logger.entering(sourceClass,Thread.currentThread().getName()+" "+ "setType");
+		
+		this.collectionType = expressionType;
+		logger.exiting(sourceClass,Thread.currentThread().getName()+" "+ "setType");
+		
+	}*/
+    
+    public String toString()
+    {
+        logger.entering(sourceClass,Thread.currentThread().getName()+" "+ "toString");
+        
+        
+        String str="[ ";
+        
+        Iterator ExpIt = _elements.iterator();
+        while(ExpIt.hasNext())
+        {
+            Expression exp=(Expression)ExpIt.next();
+            if(exp!=null)
+            {
+                
+            	String expstr=exp.toString();
+            	str+=expstr + " , ";
+            }
+            
+        }
+        str=str.substring(0, str.length()-3);
+        str+=" ]";
+        
+        logger.exiting(sourceClass,Thread.currentThread().getName()+" "+ "toString");
+       
+        return str;
+    }
+
+
+
+
+	public String getReferenceTypeName() throws SPLException 
+	{
+	
+		return _referenceTypeName;
+	}
+    
+
 }

Propchange: incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/expression/primary/BasicCollectionExpression.java
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message