http://git-wip-us.apache.org/repos/asf/oodt/blob/098cc4fa/xmlps/src/test/resources/test-required-tables-ps.xml
----------------------------------------------------------------------
diff --git a/xmlps/src/test/resources/test-required-tables-ps.xml 
b/xmlps/src/test/resources/test-required-tables-ps.xml
deleted file mode 100644
index 53d706b..0000000
--- a/xmlps/src/test/resources/test-required-tables-ps.xml
+++ /dev/null
@@ -1,71 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
--->
-<!-- Example XML mapping configuration file -->
-<oodt:xmlps xmlns:oodt="http://incubator.apache.org/oodt/0.1-incubating";
-  name="Example Query Handler" id="project:subproject:exampleps">
-  <tables default="defaultTable">
-    <table name="joinToDefault" join="id" tofld="id" />
-    <table name="joinToExtraDefault" join="id" to="extraDefault" tofld="id" />
-    <table name="joinToExtraJoin" join="id" to="joinToExtraDefault" 
tofld="id"/>
-    <table name="joinToExtraOther" join="id" to="extraOther" tofld="id"/>
-    <table name="extraDefault" join="id" tofld="id"/>
-    <table name="extraOther" join="id" to="other" tofld="id"/>
-    <table name="other" join="id" tofld="id" />
-    <table name="another" join="id" tofld="id" />
-  </tables>
-  <!-- 
-    field:
-    
-    type (required):   dynamic or constant. If you choose dynamic, then the 
field
-    value is read from the row in the ResultSet returned
-    from the database. If constant, then each returned row
-    from the ResultSet is annotated with the value specified
-    in the 'value' attribute.
-    
-    name (required):   the name of the attribute that you want returned
-    in the product server.
-    
-    string (optional): whether or not the internal db representation at the 
local
-    site for this field is a STRING, or something else (e.g., a number, etc.). 
Possible 
-    values for this attribute are "true", to indicate that the field is a 
string, or
-    "false", to indicate that it is something else. If this attribute is 
omitted, a value
-    of "false" is assumed, and the attribute will not be quoted in the where 
clause of
-    the underlying SQL statement generated.
-    
-    dbname (optional): the name of the field within the underlying db. If not
-    specified, then assumed to be name
-    
-    table (optional):  if provided, then the attribute a is selected as
-    'table'.'a',and then returned. If omitted, the attribute
-    is assumed to come from the default table returned from the
-    PS query.
-    
-    value (optional):  is necessary to provide if type='constant' is selected.
-    
-    scope (optional):  limits the scope of a field's existence: acceptable 
values
-    are &quot;query&quot;, which signifies that the field is only applicable 
when
-    translating queries: and &quot;return&quot;, which signifies the field is 
only
-    applicable as a return field when converting database results into 
CDEResults.
-    
-  -->
-  <field type="dynamic" name="id" dbname="id" table="defaultTable"/>
-  <field type="dynamic" name="id_1" dbname="id" table="joinToDefault"/>
-  <field type="dynamic" name="id_2" dbname="id" table="joinToExtraDefault"/>
-  <field type="dynamic" name="id_3" dbname="id" table="joinToExtraJoin"/>
-  <field type="dynamic" name="id_4" dbname="id" table="joinToExtraOther"/>
-</oodt:xmlps>

http://git-wip-us.apache.org/repos/asf/oodt/blob/098cc4fa/xmlps/src/test/resources/test-same-col-name-ps.xml
----------------------------------------------------------------------
diff --git a/xmlps/src/test/resources/test-same-col-name-ps.xml 
b/xmlps/src/test/resources/test-same-col-name-ps.xml
deleted file mode 100644
index 87d2dcb..0000000
--- a/xmlps/src/test/resources/test-same-col-name-ps.xml
+++ /dev/null
@@ -1,63 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
--->
-<!-- Example XML mapping configuration file -->
-<oodt:xmlps xmlns:oodt="http://incubator.apache.org/oodt/0.1-incubating";
-  name="Example Query Handler" id="project:subproject:exampleps">
-  <tables default="defaultTable">
-    <table name="joinTable" join="id" tofld="id" />
-  </tables>
-  <!-- 
-    field:
-    
-    type (required):   dynamic or constant. If you choose dynamic, then the 
field
-    value is read from the row in the ResultSet returned
-    from the database. If constant, then each returned row
-    from the ResultSet is annotated with the value specified
-    in the 'value' attribute.
-    
-    name (required):   the name of the attribute that you want returned
-    in the product server.
-    
-    string (optional): whether or not the internal db representation at the 
local
-    site for this field is a STRING, or something else (e.g., a number, etc.). 
Possible 
-    values for this attribute are "true", to indicate that the field is a 
string, or
-    "false", to indicate that it is something else. If this attribute is 
omitted, a value
-    of "false" is assumed, and the attribute will not be quoted in the where 
clause of
-    the underlying SQL statement generated.
-    
-    dbname (optional): the name of the field within the underlying db. If not
-    specified, then assumed to be name
-    
-    table (optional):  if provided, then the attribute a is selected as
-    'table'.'a',and then returned. If omitted, the attribute
-    is assumed to come from the default table returned from the
-    PS query.
-    
-    value (optional):  is necessary to provide if type='constant' is selected.
-    
-    scope (optional):  limits the scope of a field's existence: acceptable 
values
-    are &quot;query&quot;, which signifies that the field is only applicable 
when
-    translating queries: and &quot;return&quot;, which signifies the field is 
only
-    applicable as a return field when converting database results into 
CDEResults.
-    
-  -->
-  <field type="dynamic" name="id_xmlps" dbname="id" table="defaultTable"/>
-  <field type="dynamic" name="field_only"/>
-  <field type="dynamic" name="field_with_table" dbname="field_db" 
table="anotherTable"/>
-  <field type="dynamic" name="field_use_default" dbname="field_db"/>
-</oodt:xmlps>

http://git-wip-us.apache.org/repos/asf/oodt/blob/098cc4fa/xmlquery/.gitignore
----------------------------------------------------------------------
diff --git a/xmlquery/.gitignore b/xmlquery/.gitignore
deleted file mode 100644
index b54523f..0000000
--- a/xmlquery/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/maven-eclipse.xml

http://git-wip-us.apache.org/repos/asf/oodt/blob/098cc4fa/xmlquery/pom.xml
----------------------------------------------------------------------
diff --git a/xmlquery/pom.xml b/xmlquery/pom.xml
deleted file mode 100644
index f227b81..0000000
--- a/xmlquery/pom.xml
+++ /dev/null
@@ -1,128 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.oodt</groupId>
-    <artifactId>oodt-core</artifactId>
-    <version>1.1-SNAPSHOT</version>
-    <relativePath>../core/pom.xml</relativePath>
-  </parent>
-  <artifactId>oodt-xmlquery</artifactId>
-  <packaging>jar</packaging>
-  <name>Query Expression</name>
-  <description>This component provides a way to express queries in a generic
-    manner.  Its centerpiece is a class called XMLQuery that uses
-    boolean postfix expressions to capture the domain, range, and
-    constraint of a query, regardless of the source of the query (SQL,
-    keyword query, etc.).  It can also encapsulate the results of a
-    query.  It's used by many other components as the standard way to
-    pass a query and its results between servers, clients, nodes, and
-    other components.</description>
-  <!-- All dependencies should be listed in core/pom.xml and be ordered 
alphabetically by package and artifact.
-     Once the dependency is in the core pom, it can then be used in other 
modules without the version tags.
-     For example, within core/pom.xml:
-
-      <dependency>
-      <groupId>com.amazonaws</groupId>
-      <artifactId>aws-java-sdk</artifactId>
-      <version>1.7.4</version>
-    </dependency>
-
-     Elsewhere in the platform:
-     <dependency>
-      <groupId>com.amazonaws</groupId>
-      <artifactId>aws-java-sdk</artifactId>
-    </dependency>
-
-     Where possible the same dependency version should be used across the 
whole platform but if required the version
-     can be overridden in a specific pom and should have a comment explaing 
why the version has been overridden
-  -->
-  <dependencies>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>3.8.2</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.oodt</groupId>
-      <artifactId>oodt-commons</artifactId>
-      <version>${project.parent.version}</version>
-    </dependency>
-  </dependencies>
-  <build>
-    <resources>
-      <resource>
-        <targetPath>org/apache/oodt/xmlquery</targetPath>
-        <directory>${basedir}/src/main/conf</directory>
-        <includes>
-          <include>mime.properties</include>
-        </includes>
-      </resource>
-      <resource>
-        <directory>${basedir}/src/main/dtd</directory>
-      </resource>
-    </resources>
-    <plugins>
-      <plugin>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <configuration>
-          <excludes>
-            <exclude>org/apache/oodt/xmlquery/CodecTest.java</exclude>
-          </excludes>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-  <scm>
-    
<!--<connection>scm:svn:https://svn.apache.org/repos/asf/oodt/trunk/xmlquery</connection>
-    
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/oodt/trunk/xmlquery</developerConnection>
-    <url>http://svn.apache.org/viewvc/oodt/trunk/xmlquery</url>-->
-    <tag>0.13-SNAPSHOT</tag>
-  </scm>
-  <profiles>
-    <profile>
-      <id>audit</id>
-      <activation>
-        <activeByDefault>false</activeByDefault>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.codehaus.mojo</groupId>
-            <artifactId>rat-maven-plugin</artifactId>
-            <configuration>
-              <excludes>
-                <exclude>**/oodt/xmlquery/package.html</exclude>
-              </excludes>
-            </configuration>
-            <executions>
-              <execution>
-                <goals>
-                  <goal>check</goal>
-                </goals>
-                <phase>verify</phase>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
-</project>

http://git-wip-us.apache.org/repos/asf/oodt/blob/098cc4fa/xmlquery/src/main/conf/mime.properties
----------------------------------------------------------------------
diff --git a/xmlquery/src/main/conf/mime.properties 
b/xmlquery/src/main/conf/mime.properties
deleted file mode 100755
index af95ada..0000000
--- a/xmlquery/src/main/conf/mime.properties
+++ /dev/null
@@ -1,407 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one or more
-#  contributor license agreements.  See the NOTICE file distributed with
-#  this work for additional information regarding copyright ownership.
-#  The ASF licenses this file to You under the Apache License, Version 2.0
-#  (the "License"); you may not use this file except in compliance with
-#  the License.  You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-#  Unless required by applicable law or agreed to in writing, software
-#  distributed under the License is distributed on an "AS IS" BASIS,
-#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#  See the License for the specific language governing permissions and
-#  limitations under the License.
-
-
-# Internet media types supported by OODT
-#
-# $Id: mime.properties,v 1.1.1.1 2004-03-02 19:37:13 kelly Exp $
-
-# These types aren't in the official list at IANA, but are listed
-# here for internal OODT use:
-
-application/vnd.jpl.large-product:                             
org.apache.oodt.xmlquery.StringCodec
-
-# These types aren't in the official list at IANA, but are supported
-# in various environments:
-
-application/x-java-serialized-object                           
org.apache.oodt.xmlquery.ObjectCodec
-application/java-vm                                            
org.apache.oodt.xmlquery.ObjectCodec
-
-# This types are translated from the Internet media type registry at
-# ftp://ftp.iana.org/in-notes/iana/assignments/media-types/media-types
-
-text/plain:                                                    
org.apache.oodt.xmlquery.StringCodec
-text/richtext:                                                 
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-text/enriched:                                                 
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-text/tab-separated-values:                                     
org.apache.oodt.xmlquery.StringCodec
-text/html:                                                     
org.apache.oodt.xmlquery.CompressedStringCodec
-text/sgml:                                                     
org.apache.oodt.xmlquery.CompressedStringCodec
-text/vnd.latex-z:                                              
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-text/vnd.fmi.flexstor:                                         
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-text/uri-list:                                                 
org.apache.oodt.xmlquery.StringCodec
-text/vnd.abc:                                                  
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-text/rfc822-headers:                                           
org.apache.oodt.xmlquery.StringCodec
-text/vnd.in3d.3dml:                                            
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-text/prs.lines.tag:                                            
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-text/vnd.in3d.spot:                                            
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-text/css:                                                      
org.apache.oodt.xmlquery.CompressedStringCodec
-text/xml:                                                      
org.apache.oodt.xmlquery.StringCodec
-text/rtf:                                                      
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-text/directory:                                                        
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-text/calendar:                                                 
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-text/vnd.wap.wml:                                              
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-text/vnd.wap.wmlscript:                                                
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-text/vnd.motorola.reflex:                                      
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-text/vnd.fly:                                                  
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-text/vnd.wap.sl:                                               
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-text/vnd.wap.si:                                               
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-text/t140:                                                     
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-text/vnd.ms-mediapackage:                                      
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-text/vnd.IPTC.NewsML:                                          
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-text/vnd.IPTC.NITF:                                            
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-text/vnd.curl:                                                 
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-text/vnd.DMClientScript:                                       
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-text/parityfec:                                                        
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-multipart/mixed:                                               
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-multipart/alternative:                                         
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-multipart/digest:                                              
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-multipart/parallel:                                            
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-multipart/appledouble:                                         
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-multipart/header-set:                                          
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-multipart/form-data:                                           
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-multipart/related:                                             
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-multipart/report:                                              
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-multipart/voice-message:                                       
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-multipart/signed:                                              
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-multipart/encrypted:                                           
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-multipart/byteranges:                                          
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-message/rfc822:                                                        
org.apache.oodt.xmlquery.CompressedStringCodec
-message/partial:                                               
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-message/external-body:                                         
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-message/news:                                                  
org.apache.oodt.xmlquery.CompressedStringCodec
-message/http:                                                  
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-message/delivery-status:                                       
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-message/disposition-notification:                              
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-message/s-http:                                                        
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/octet-stream:                                      
org.apache.oodt.xmlquery.ByteArrayCodec
-application/postscript:                                                
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/oda:                                               
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/atomicmail:                                                
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/andrew-inset:                                      
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/slate:                                             
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/wita:                                              
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/dec-dx:                                            
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/dca-rft:                                           
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/activemessage:                                     
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/rtf:                                               
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/applefile:                                         
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/mac-binhex40:                                      
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/news-message-id:                                   
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/news-transmission:                                 
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/wordperfect5.1:                                    
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/pdf:                                               
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/zip:                                               
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/macwriteii:                                                
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/msword:                                            
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/remote-printing:                                   
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/mathematica:                                       
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/cybercash:                                         
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/commonground:                                      
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/iges:                                              
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/riscos:                                            
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/eshop:                                             
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/x400-bp:                                           
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/sgml:                                              
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/cals-1840:                                         
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/pgp-encrypted:                                     
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/pgp-signature:                                     
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/pgp-keys:                                          
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.framemaker:                                    
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.mif:                                           
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.ms-excel:                                      
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.ms-powerpoint:                                 
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.ms-project:                                    
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.ms-works:                                      
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.ms-tnef:                                       
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.svd:                                           
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.music-niff:                                    
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.ms-artgalry:                                   
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.truedoc:                                       
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.koan:                                          
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.street-stream:                                 
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.fdf:                                           
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/set-payment-initiation:                            
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/set-payment:                                       
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/set-registration-initiation:                       
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/set-registration:                                  
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.seemail:                                       
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.businessobjects:                               
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.meridian-slingshot:                            
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.xara:                                          
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/sgml-open-catalog:                                 
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.rapid:                                         
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.enliven:                                       
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.japannet-registration-wakeup:                  
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.japannet-verification-wakeup:                  
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.japannet-payment-wakeup:                       
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.japannet-directory-service:                    
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.intertrust.digibox:                            
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.intertrust.nncp:                               
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/prs.alvestrand.titrax-sheet:                       
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.noblenet-web:                                  
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.noblenet-sealer:                               
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.noblenet-directory:                            
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/prs.nprend:                                                
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.webturbo:                                      
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/hyperstudio:                                       
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.shana.informed.formtemplate:                   
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.shana.informed.formdata:                       
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.shana.informed.package:                                
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.shana.informed.interchange:                    
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.$commerce_battelle:                            
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.osa.netdeploy:                                 
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.ibm.MiniPay:                                   
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.japannet-jpnstore-wakeup:                      
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.japannet-setstore-wakeup:                      
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.japannet-verification:                         
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.japannet-registration:                         
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.hp-HPGL:                                       
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.hp-PCL:                                                
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.hp-PCLXL:                                      
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.musician:                                      
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.FloGraphIt:                                    
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.intercon.formnet:                              
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vemmi:                                             
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.ms-asf:                                                
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.ecdis-update:                                  
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.powerbuilder6:                                 
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.powerbuilder6-s:                               
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.lotus-wordpro:                                 
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.lotus-approach:                                        
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.lotus-1-2-3:                                   
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.lotus-organizer:                               
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.lotus-screencam:                               
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.lotus-freelance:                               
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.fujitsu.oasys:                                 
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.fujitsu.oasys2:                                        
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.swiftview-ics:                                 
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.dna:                                           
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/prs.cww:                                           
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.wt.stf:                                                
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.dxr:                                           
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.mitsubishi.misty-guard.trustweb:               
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.ibm.modcap:                                    
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.acucobol:                                      
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.fujitsu.oasys3:                                        
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/marc:                                              
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.fujitsu.oasysprs:                              
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.fujitsu.oasysgp:                               
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.visio:                                         
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.netfpx:                                                
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.audiograph:                                    
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.epson.salt:                                    
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.3M.Post-it-Notes:                              
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.novadigm.EDX:                                  
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.novadigm.EXT:                                  
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.novadigm.EDM:                                  
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.claymore:                                      
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.comsocaller:                                   
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/pkcs7-mime:                                                
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/pkcs7-signature:                                   
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/pkcs10:                                            
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.yellowriver-custom-menu:                       
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.ecowin.chart:                                  
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.ecowin.series:                                 
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.ecowin.filerequest:                            
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.ecowin.fileupdate:                             
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.ecowin.seriesrequest:                          
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.ecowin.seriesupdate:                           
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/EDIFACT:                                           
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/EDI-X12:                                           
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/EDI-Consent:                                       
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.wrq-hp3000-labelled:                           
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.minisoft-hp3000-save:                          
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.ffsns:                                         
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.hp-hps:                                                
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.fujixerox.docuworks:                           
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/xml:                                               
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.anser-web-funds-transfer-initiation:           
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.anser-web-certificate-issue-initiation:                
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.is-xpr:                                                
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.intu.qbo:                                      
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.publishare-delta-tree:                         
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.cybank:                                                
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/batch-SMTP:                                                
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.uplanet.alert:                                 
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.uplanet.cacheop:                               
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.uplanet.list:                                  
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.uplanet.listcmd:                               
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.uplanet.channel:                               
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.uplanet.bearer-choice:                         
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.uplanet.signal:                                        
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.uplanet.alert-wbxml:                           
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.uplanet.cacheop-wbmxl:                         
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.uplanet.list-wbxml:                            
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.uplanet.listcmd-wbxml:                         
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.uplanet.channel-wbxml:                         
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.uplanet.bearer-choice-wbxml:                   
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.epson.quickanime:                              
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.commonspace:                                   
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.fut-misnet:                                    
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.xfdl:                                          
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.intu.qfx:                                      
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.epson.ssf:                                     
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.epson.msf:                                     
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.powerbuilder7:                                 
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.powerbuilder7-s:                               
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.lotus-notes:                                   
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/pkixcmp:                                           
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.wap.wmlc:                                      
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.wap.wmlscriptc:                                        
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.motorola.flexsuite:                            
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.wap.wbxml:                                     
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.motorola.flexsuite.wem:                                
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.motorola.flexsuite.kmr:                                
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.motorola.flexsuite.adsi:                       
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.motorola.flexsuite.fis:                                
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.motorola.flexsuite.gotap:                      
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.motorola.flexsuite.ttc:                                
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.ufdl:                                          
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.accpac.simply.imp:                             
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.accpac.simply.aso:                             
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.vcx:                                           
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/ipp:                                               
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/ocsp-request:                                      
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/ocsp-response:                                     
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.previewsystems.box:                            
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.mediastation.cdkey:                            
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.pg.format:                                     
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.pg.osasli:                                     
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.hp-hpid:                                       
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/pkix-cert:                                         
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/pkix-crl:                                          
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.Mobius.TXF:                                    
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.Mobius.PLC:                                    
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.Mobius.DIS:                                    
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.Mobius.DAF:                                    
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.Mobius.MSL:                                    
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.cups-raster:                                   
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.cups-postscript:                               
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.cups-raw:                                      
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/index:                                             
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/index.cmd:                                         
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/index.response:                                    
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/index.obj:                                         
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/index.vnd:                                         
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.triscape.mxs:                                  
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.powerbuilder75:                                        
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.powerbuilder75-s:                              
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.dpgraph:                                       
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/http:                                              
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/sdp:                                               
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.eudora.data:                                   
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.fujixerox.docuworks.binder:                    
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.vectorworks:                                   
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.grafeq:                                                
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.bmi:                                           
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.ericsson.quickcall:                            
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.hzn-3d-crossword:                              
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.wap.slc:                                       
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.wap.sic:                                       
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.groove-injector:                               
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.fujixerox.ddd:                                 
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.groove-account:                                        
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.groove-identity-message:                       
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.groove-tool-message:                           
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.groove-tool-template:                          
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.groove-vcard:                                  
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.ctc-posml:                                     
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.canon-lips:                                    
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.canon-cpdl:                                    
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.trueapp:                                       
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.s3sms:                                         
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/iotp:                                              
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.mcd:                                           
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.httphone:                                      
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.informix-visionary:                            
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.msign:                                         
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.ms-lrm:                                                
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.contact.cmsg:                                  
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.epson.esf:                                     
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/whoispp-query:                                     
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/whoispp-response:                                  
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.mozilla.xul+xml:                               
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/parityfec:                                         
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.palm:                                          
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.fsc.weblaunch:                                 
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/vnd.tve-trigger:                                   
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/dvcs:                                              
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-application/sieve:                                             
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-image/jpeg:                                                    
org.apache.oodt.xmlquery.ByteArrayCodec
-image/gif:                                                     
org.apache.oodt.xmlquery.ByteArrayCodec
-image/ief:                                                     
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-image/g3fax:                                                   
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-image/tiff:                                                    
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-image/cgm:                                                     
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-image/naplps:                                                  
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-image/vnd.dwg:                                                 
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-image/vnd.svf:                                                 
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-image/vnd.dxf:                                                 
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-image/png:                                                     
org.apache.oodt.xmlquery.ByteArrayCodec
-image/vnd.fpx:                                                 
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-image/vnd.net-fpx:                                             
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-image/vnd.xiff:                                                        
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-image/prs.btif:                                                        
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-image/vnd.fastbidsheet:                                                
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-image/vnd.wap.wbmp:                                            
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-image/prs.pti:                                                 
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-image/vnd.cns.inf2:                                            
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-image/vnd.mix:                                                 
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-image/vnd.fujixerox.edmics-rlc:                                        
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-image/vnd.fujixerox.edmics-mmr:                                        
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-image/vnd.fst:                                                 
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-audio/basic:                                                   
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-audio/32kadpcm:                                                        
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-audio/vnd.qcelp:                                               
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-audio/vnd.digital-winds:                                       
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-audio/vnd.lucent.voice:                                                
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-audio/vnd.octel.sbc:                                           
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-audio/vnd.rhetorex.32kadpcm:                                   
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-audio/vnd.vmx.cvsd:                                            
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-audio/vnd.nortel.vbk:                                          
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-audio/vnd.cns.anp1:                                            
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-audio/vnd.cns.inf1:                                            
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-audio/L16:                                                     
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-audio/vnd.everad.plj:                                          
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-audio/telephone-event:                                         
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-audio/tone:                                                    
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-audio/prs.sid:                                                 
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-audio/vnd.nuera.ecelp4800:                                     
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-audio/vnd.nuera.ecelp7470:                                     
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-audio/mpeg:                                                    
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-audio/parityfec:                                               
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-audio/MP4A-LATM:                                               
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-video/mpeg:                                                    
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-video/quicktime:                                               
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-video/vnd.vivo:                                                        
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-video/vnd.motorola.video:                                      
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-video/vnd.motorola.videop:                                     
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-video/vnd.fvt:                                                 
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-video/pointer:                                                 
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-video/parityfec:                                               
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-video/vnd.mpegurl:                                             
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-video/MP4V-ES:                                                 
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-model/iges:                                                    
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-model/vrml:                                                    
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-model/mesh:                                                    
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-model/vnd.dwf:                                                 
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-model/vnd.gtw:                                                 
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-model/vnd.flatland.3dml:                                       
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-model/vnd.vtu:                                                 
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-model/vnd.mts:                                                 
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-model/vnd.gdl:                                                 
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-model/vnd.gs-gdl:                                              
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-model/vnd.parasolid.transmit.text:                             
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec
-model/vnd.parasolid.transmit.binary:                           
org.apache.oodt.xmlquery.UnsupportedMimeTypeCodec

http://git-wip-us.apache.org/repos/asf/oodt/blob/098cc4fa/xmlquery/src/main/dtd/query.dtd
----------------------------------------------------------------------
diff --git a/xmlquery/src/main/dtd/query.dtd b/xmlquery/src/main/dtd/query.dtd
deleted file mode 100755
index 0cf3401..0000000
--- a/xmlquery/src/main/dtd/query.dtd
+++ /dev/null
@@ -1,100 +0,0 @@
-<?xml encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-
-  <!ELEMENT query
-       (queryAttributes,
-         queryResultModeId,
-         queryPropogationType,
-        queryPropogationLevels,
-         queryMimeAccept*,
-         queryMaxResults,
-         queryResults,
-         queryKWQString,
-        queryStatistics?,
-         querySelectSet,
-         queryFromSet,
-        queryWhereSet,
-        queryResultSet)>
-
-    <!ELEMENT queryAttributes
-      (queryId, queryTitle*, queryDesc*, queryType*,
-       queryStatusId*, querySecurityType*, 
-       queryParentId*, queryChildId*,
-       queryRevisionNote*,
-       queryDataDictId*)>
-
-    <!ELEMENT queryStatistics (statistic*)>
-
-    <!ELEMENT querySelectSet
-       (queryElement*)>
-
-    <!ELEMENT queryFromSet
-       (queryElement*)>
-
-    <!ELEMENT queryWhereSet
-       (queryElement*)>
-
-      <!ELEMENT queryElement
-        (tokenRole*, tokenValue*)>
-
-    <!ELEMENT statistic (url, time)>
-
-    <!ELEMENT queryResultSet
-       (resultElement*)>
-
-      <!ELEMENT resultElement
-        (resultId*, resultMimeType*,
-         profId*, identifier*, resultHeader,
-         resultValue*)>
-      <!ATTLIST resultElement classified (true|false) 'false'>
-      <!ATTLIST resultElement validity CDATA #IMPLIED>
-
-    <!ELEMENT resultHeader (headerElement*)>
-    <!ELEMENT headerElement (elemName, elemType?, elemUnit?)>
-
-    <!ELEMENT queryId (#PCDATA)>
-    <!ELEMENT queryTitle (#PCDATA)>
-    <!ELEMENT queryType (#PCDATA)>
-    <!ELEMENT queryDesc (#PCDATA)>
-    <!ELEMENT queryParentId (#PCDATA)>
-    <!ELEMENT queryChildId (#PCDATA)>
-    <!ELEMENT queryStatusId (#PCDATA)>
-    <!ELEMENT querySecurityType (#PCDATA)>
-    <!ELEMENT queryRevisionNote (#PCDATA)>
-    <!ELEMENT queryDataDictId (#PCDATA)>
-    <!ELEMENT queryResultModeId (#PCDATA)>
-    <!ELEMENT queryPropogationType (#PCDATA)>
-    <!ELEMENT queryPropogationLevels (#PCDATA)>
-    <!ELEMENT queryMimeAccept (#PCDATA)>
-    <!ELEMENT queryMaxResults (#PCDATA)>
-    <!ELEMENT queryResults (#PCDATA)>
-    <!ELEMENT queryKWQString (#PCDATA)>
-    <!ELEMENT url (#PCDATA)>
-    <!ELEMENT time (#PCDATA)>
-    <!ELEMENT elemName (#PCDATA)>
-    <!ELEMENT elemType (#PCDATA)>
-    <!ELEMENT elemUnit (#PCDATA)>
-    <!ELEMENT elemValue (#PCDATA)>
-    <!ELEMENT resultId (#PCDATA)>
-    <!ELEMENT resultMimeType (#PCDATA)>
-    <!ELEMENT resultValue (#PCDATA)>
-    <!ATTLIST resultValue xml:space (default|preserve) 'default'>
-    <!ELEMENT profId (#PCDATA)>
-    <!ELEMENT identifier (#PCDATA)>
-    <!ELEMENT tokenRole (#PCDATA)>
-    <!ELEMENT tokenValue (#PCDATA)>

http://git-wip-us.apache.org/repos/asf/oodt/blob/098cc4fa/xmlquery/src/main/java/org/apache/oodt/product/HttpRedirectException.java
----------------------------------------------------------------------
diff --git 
a/xmlquery/src/main/java/org/apache/oodt/product/HttpRedirectException.java 
b/xmlquery/src/main/java/org/apache/oodt/product/HttpRedirectException.java
deleted file mode 100644
index ce9711a..0000000
--- a/xmlquery/src/main/java/org/apache/oodt/product/HttpRedirectException.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.oodt.product;
-
-import org.apache.oodt.product.ProductException;
-
-/**
- * A class 
- * 
- * @author mcayanan
- *
- */
-public class HttpRedirectException extends ProductException {
-  private static final long serialVersionUID = 4680689951141346403L;
-  private String location;
-
-  public HttpRedirectException(String location) {
-    super();
-    this.location = location;
-  }
-
-  public String getLocation() {
-    return location;
-  }
-}

http://git-wip-us.apache.org/repos/asf/oodt/blob/098cc4fa/xmlquery/src/main/java/org/apache/oodt/product/ProductException.java
----------------------------------------------------------------------
diff --git 
a/xmlquery/src/main/java/org/apache/oodt/product/ProductException.java 
b/xmlquery/src/main/java/org/apache/oodt/product/ProductException.java
deleted file mode 100755
index 83686a3..0000000
--- a/xmlquery/src/main/java/org/apache/oodt/product/ProductException.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-package org.apache.oodt.product;
-
-/**
- * Checked exception to indicate a product fault.
- *
- * @author Kelly
- */
-public class ProductException extends Exception {
-       /**
-        * Construct a product exception with no detail message.
-        */
-       public ProductException() {}
-
-       /**
-        * Construct a product exception with the given detail message.
-        *
-        * @param msg Detail message.
-        */
-       public ProductException(String msg) {
-               super(msg);
-       }
-
-       /**
-        * Creates a new <code>ProductException</code> instance.
-        *
-        * @param cause a <code>Throwable</code> value.
-        */
-       public ProductException(Throwable cause) {
-               super(cause);
-       }
-
-       /**
-        * Creates a new <code>ProductException</code> instance.
-        *
-        * @param msg a <code>String</code> value.
-        * @param cause a <code>Throwable</code> value.
-        */
-       public ProductException(String msg, Throwable cause) {
-               super(msg, cause);
-       }
-
-       /** Serial version unique ID. */
-       static final long serialVersionUID = 8240102969482071451L;
-}

http://git-wip-us.apache.org/repos/asf/oodt/blob/098cc4fa/xmlquery/src/main/java/org/apache/oodt/product/Retriever.java
----------------------------------------------------------------------
diff --git a/xmlquery/src/main/java/org/apache/oodt/product/Retriever.java 
b/xmlquery/src/main/java/org/apache/oodt/product/Retriever.java
deleted file mode 100755
index a7b4ea2..0000000
--- a/xmlquery/src/main/java/org/apache/oodt/product/Retriever.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-package org.apache.oodt.product;
-
-/**
- * Retrievers retrieve products.
- *
- * @author Kelly
- * @version $Revision: 1.1.1.1 $
- */
-public interface Retriever {
-       /**
-        * Retrieve a chunk from a large product.
-        *
-        * @param productID Product ID.
-        * @param offset Where in the product to retrieve the data.
-        * @param length How much data to get.
-        * @return The data.
-        * @throws ProductException if an error occurs.
-        */
-       byte[] retrieveChunk(String productID, long offset, int length) throws 
ProductException;
-
-       /**
-        * Close off a large product.
-        *
-        * @param productID Product ID.
-        * @throws ProductException if an error occurs.
-        */
-       void close(String productID);
-}

http://git-wip-us.apache.org/repos/asf/oodt/blob/098cc4fa/xmlquery/src/main/java/org/apache/oodt/xmlquery/ByteArrayCodec.java
----------------------------------------------------------------------
diff --git 
a/xmlquery/src/main/java/org/apache/oodt/xmlquery/ByteArrayCodec.java 
b/xmlquery/src/main/java/org/apache/oodt/xmlquery/ByteArrayCodec.java
deleted file mode 100755
index 356b468..0000000
--- a/xmlquery/src/main/java/org/apache/oodt/xmlquery/ByteArrayCodec.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-package org.apache.oodt.xmlquery;
-
-import java.io.ByteArrayInputStream;
-import java.io.InputStream;
-import org.apache.oodt.commons.util.Base64;
-import org.apache.oodt.commons.util.XML;
-import org.w3c.dom.DOMException;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-
-/** A result encoder/decoder for byte arrays.
- *
- * This codec uses base-64 encoding for byte arrays.
- *
- * @author Kelly
- */
-class ByteArrayCodec implements Codec {
-       public Node encode(Object object, Document doc) throws DOMException {
-               Element value = doc.createElement("resultValue");
-               value.appendChild(doc.createCDATASection(new 
String(Base64.encode((byte[]) object))));
-               return value;
-       }
-
-       public Object decode(Node node) {
-               String encodedValue;
-               if (node.getFirstChild() != null && 
node.getFirstChild().getNodeType() == Node.CDATA_SECTION_NODE) {
-                 encodedValue = node.getFirstChild().getNodeValue();
-               } else {
-                 encodedValue = XML.text(node);
-               }
-               if (encodedValue.length() <= 0) {
-                 return new byte[0];
-               }
-               return Base64.decode(encodedValue.getBytes());
-       }
-
-       public InputStream getInputStream(Object value) {
-               return new ByteArrayInputStream((byte[]) value);
-       }
-
-       public long sizeOf(Object object) {
-               return ((byte[]) object).length;
-       }
-}

http://git-wip-us.apache.org/repos/asf/oodt/blob/098cc4fa/xmlquery/src/main/java/org/apache/oodt/xmlquery/Codec.java
----------------------------------------------------------------------
diff --git a/xmlquery/src/main/java/org/apache/oodt/xmlquery/Codec.java 
b/xmlquery/src/main/java/org/apache/oodt/xmlquery/Codec.java
deleted file mode 100755
index febcbba..0000000
--- a/xmlquery/src/main/java/org/apache/oodt/xmlquery/Codec.java
+++ /dev/null
@@ -1,85 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-package org.apache.oodt.xmlquery;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InvalidClassException;
-import java.io.OptionalDataException;
-import java.io.StreamCorruptedException;
-import org.w3c.dom.DOMException;
-import org.w3c.dom.Document;
-import org.w3c.dom.Node;
-
-/** Result encoder/decoder.
- *
- * Classes that implement this interface encode and decode query results to 
and from XML
- * format.
- *
- * @author Kelly
- */
-interface Codec {
-       /** Encode the given object into XML format.
-        *
-        * The encoding takes the object, encodes into a DOM structure, and 
returns a
-        * &lt;resultValue&gt; element.
-        *
-        * @param object Object to encode.
-        * @param doc What document will own the created XML nodes.
-        * @return A &lt;resultValue&gt; element encoding the <var>object</var>.
-        * @throws DOMException If an error occurs while encoding the object.
-        */
-       Node encode(Object object, Document doc) throws DOMException;
-
-       /** Decode the given XML representation into its object.
-        *
-        * The decoding takes the &lt;resultValue&gt; node, and decodes it into 
the object
-        * it represents.
-        *
-        * @param node The &lt;resultValue&gt; node.
-        * @return The object that the <var>node</var> represents.
-        * @throws ClassNotFoundException If the class of the object in 
<var>node</var> can't be found.
-        * @throws InvalidClassException If something is wrong with the class 
encoded in <var>node</var>.
-        * @throws StreamCorruptedException When control information in 
<var>node</var> is inconsistent.
-        * @throws OptionalDataException If primitive datatypes instead of an 
object was found encoded in the <var>node</var>.
-        */
-       Object decode(Node node) throws ClassNotFoundException, 
InvalidClassException, StreamCorruptedException,
-               OptionalDataException;
-
-       /**
-        * Compute the size of the given object.
-        *
-        * @param object Object.
-        * @return Size of <var>object</var> in bytes.
-        */
-       long sizeOf(Object object);
-
-       /**
-        * Yield the given object as a stream.
-        *
-        * This method takes the given object and yields a stream version of it
-        * appropriate concrete codec type.  For example, {@link 
ByteArrayCodec}s may
-        * yield simple {@link ByteArrayInputStream}s for their objects.
-        *
-        * @param object The object to be streamed.
-        * @return An <code>InputStream</code> of <var>object</var>.
-        * @throws IOException if an error occurs.
-        */
-       InputStream getInputStream(Object object) throws IOException;
-}

http://git-wip-us.apache.org/repos/asf/oodt/blob/098cc4fa/xmlquery/src/main/java/org/apache/oodt/xmlquery/CodecFactory.java
----------------------------------------------------------------------
diff --git a/xmlquery/src/main/java/org/apache/oodt/xmlquery/CodecFactory.java 
b/xmlquery/src/main/java/org/apache/oodt/xmlquery/CodecFactory.java
deleted file mode 100755
index 658617c..0000000
--- a/xmlquery/src/main/java/org/apache/oodt/xmlquery/CodecFactory.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-package org.apache.oodt.xmlquery;
-
-import java.util.Map;
-import java.util.concurrent.ConcurrentHashMap;
-
-/** A factory for codecs.
- *
- * The codec factory creates and maintains codec objects.
- *
- * @author Kelly
- */
-class CodecFactory {
-       /** Create a codec.
-        *
-        * If the codec with the given class name already exists, it's returned.
-        * Otherwise, the factory creates a new instance of the codec and 
returns it.  Any
-        * to instantiate the codec results in a runtime exception.
-        *
-        * @param className Name of the codec class to create.
-        * @return The codec object of the class with the given 
<var>className</var>.
-        */
-       public static Codec createCodec(String className) {
-               Codec codec = (Codec) codecs.get(className);
-               if (codec == null) {
-                 try {
-                       Class clazz = Class.forName(className);
-                       codec = (Codec) clazz.newInstance();
-                       codecs.put(className, codec);
-                 } catch (ClassNotFoundException ex) {
-                       throw new RuntimeException("Class \"" + className + "\" 
not found");
-                 } catch (InstantiationException ex) {
-                       throw new RuntimeException("Class \"" + className + "\" 
is abstract or is an interface");
-                 } catch (IllegalAccessException ex) {
-                       throw new RuntimeException("Class \"" + className + "\" 
doesn't have public no-args constructor");
-                 }
-               }
-               return codec;
-       }
-
-       /** Cachec codecs; the mapping is from {@link String} class name to 
{@link Codec} object. */
-       private static Map codecs = new ConcurrentHashMap();
-}

http://git-wip-us.apache.org/repos/asf/oodt/blob/098cc4fa/xmlquery/src/main/java/org/apache/oodt/xmlquery/CompressedObjectCodec.java
----------------------------------------------------------------------
diff --git 
a/xmlquery/src/main/java/org/apache/oodt/xmlquery/CompressedObjectCodec.java 
b/xmlquery/src/main/java/org/apache/oodt/xmlquery/CompressedObjectCodec.java
deleted file mode 100755
index 2563890..0000000
--- a/xmlquery/src/main/java/org/apache/oodt/xmlquery/CompressedObjectCodec.java
+++ /dev/null
@@ -1,110 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-package org.apache.oodt.xmlquery;
-
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InvalidClassException;
-import java.io.ObjectInputStream;
-import java.io.ObjectOutputStream;
-import java.io.OptionalDataException;
-import java.io.StreamCorruptedException;
-import java.util.zip.GZIPInputStream;
-import java.util.zip.GZIPOutputStream;
-import org.apache.oodt.commons.io.Base64DecodingInputStream;
-import org.apache.oodt.commons.io.Base64EncodingOutputStream;
-import org.apache.oodt.commons.io.NullOutputStream;
-import org.apache.oodt.commons.util.XML;
-import org.apache.oodt.commons.io.CountingOutputStream;
-import org.w3c.dom.DOMException;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-
-/** A result encoder/decoder for compressed, serialized objects.
- *
- * This codec uses a GZIP compressed serialized object format for objects.
- *
- * @author Kelly
- */
-class CompressedObjectCodec implements Codec {
-       public Node encode(Object object, Document doc) throws DOMException {
-               ByteArrayOutputStream byteArray = new ByteArrayOutputStream();
-               try {
-                       Base64EncodingOutputStream base64 = new 
Base64EncodingOutputStream(byteArray);
-                       GZIPOutputStream gzip = new GZIPOutputStream(base64);
-                       ObjectOutputStream objStream = new 
ObjectOutputStream(gzip);
-                       objStream.writeObject(object);
-                       objStream.close();
-               } catch (IOException ignored) {}
-               Element value = doc.createElement("resultValue");
-               value.appendChild(doc.createCDATASection(byteArray.toString()));
-               return value;
-       }
-
-       public Object decode(Node node) throws ClassNotFoundException, 
InvalidClassException, StreamCorruptedException,
-               OptionalDataException {
-               String encodedValue;
-               if (node.getFirstChild().getNodeType() == 
Node.CDATA_SECTION_NODE) {
-                 encodedValue = node.getFirstChild().getNodeValue();
-               } else {
-                 encodedValue = XML.text(node);
-               }
-               Object rc = null;
-               try {
-                       ByteArrayInputStream byteArray = new 
ByteArrayInputStream(encodedValue.getBytes());
-                       Base64DecodingInputStream base64 = new 
Base64DecodingInputStream(byteArray);
-                       GZIPInputStream gzip = new GZIPInputStream(base64);
-                       ObjectInputStream objStream = new 
ObjectInputStream(gzip);
-                       rc = objStream.readObject();
-                       objStream.close();
-               } catch (InvalidClassException ex) {
-                       throw ex;
-               } catch (StreamCorruptedException ex) {
-                       throw ex;
-               } catch (OptionalDataException ex) {
-                       throw ex;
-               } catch (IOException ignored) {}
-               return rc;
-       }
-
-       public InputStream getInputStream(Object value) throws IOException {
-               ByteArrayOutputStream baos = new ByteArrayOutputStream();
-               ObjectOutputStream oos = new ObjectOutputStream(baos);
-               oos.writeObject(value);
-               oos.close();
-               baos.close();
-               return new ByteArrayInputStream(baos.toByteArray());
-       }
-
-       public long sizeOf(Object obj) {
-               try {
-                       CountingOutputStream c = new CountingOutputStream(new 
NullOutputStream());
-                       ObjectOutputStream stream = new ObjectOutputStream(c);
-                       stream.writeObject(obj);
-                       stream.close();
-                       return c.getBytesWritten();
-               } catch (IOException ex) {
-                       throw new IllegalStateException("I/O exception " + 
ex.getClass().getName() + " can't happen, yet did: "
-                               + ex.getMessage());
-               }
-       }
-}

http://git-wip-us.apache.org/repos/asf/oodt/blob/098cc4fa/xmlquery/src/main/java/org/apache/oodt/xmlquery/CompressedStringCodec.java
----------------------------------------------------------------------
diff --git 
a/xmlquery/src/main/java/org/apache/oodt/xmlquery/CompressedStringCodec.java 
b/xmlquery/src/main/java/org/apache/oodt/xmlquery/CompressedStringCodec.java
deleted file mode 100755
index 9f7175e..0000000
--- a/xmlquery/src/main/java/org/apache/oodt/xmlquery/CompressedStringCodec.java
+++ /dev/null
@@ -1,91 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-package org.apache.oodt.xmlquery;
-
-import org.apache.oodt.commons.io.Base64DecodingInputStream;
-import org.apache.oodt.commons.io.Base64EncodingOutputStream;
-import org.apache.oodt.commons.util.XML;
-
-import org.w3c.dom.DOMException;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.util.zip.GZIPInputStream;
-import java.util.zip.GZIPOutputStream;
-
-/** A result encoder/decoder for compressed strings.
- *
- * This codec uses a GZIP compressed string format for objects.
- *
- * @author Kelly
- */
-class CompressedStringCodec implements Codec {
-
-  public static final int INT = 1024;
-
-  public Node encode(Object object, Document doc) throws DOMException {
-               ByteArrayOutputStream byteArray = new ByteArrayOutputStream();
-               try {
-                       Base64EncodingOutputStream base64 = new 
Base64EncodingOutputStream(byteArray);
-                       GZIPOutputStream gzip = new GZIPOutputStream(base64);
-                       gzip.write(object.toString().getBytes());
-                       gzip.close();
-               } catch (IOException ignored) {}
-               Element value = doc.createElement("resultValue");
-               value.appendChild(doc.createCDATASection(byteArray.toString()));
-               return value;
-       }
-
-       public Object decode(Node node) {
-               String encodedValue;
-               if (node.getFirstChild().getNodeType() == 
Node.CDATA_SECTION_NODE) {
-                 encodedValue = node.getFirstChild().getNodeValue();
-               } else {
-                 encodedValue = XML.text(node);
-               }
-               String rc = null;
-               try {
-                       ByteArrayInputStream byteArray = new 
ByteArrayInputStream(encodedValue.getBytes());
-                       Base64DecodingInputStream base64 = new 
Base64DecodingInputStream(byteArray);
-                       GZIPInputStream gzip = new GZIPInputStream(base64);
-                       StringBuilder b = new StringBuilder();
-                       int numRead;
-                       byte[] buf = new byte[INT];
-                       while ((numRead = gzip.read(buf)) != -1) {
-                         b.append(new String(buf, 0, numRead));
-                       }
-                       gzip.close();
-                       rc = b.toString();
-               } catch (IOException ignored) {}
-               return rc;
-       }
-
-       public InputStream getInputStream(Object value) {
-               return new ByteArrayInputStream(((String) value).getBytes());
-       }
-
-       public long sizeOf(Object obj) {
-               return ((String) obj).getBytes().length;
-       }
-}

http://git-wip-us.apache.org/repos/asf/oodt/blob/098cc4fa/xmlquery/src/main/java/org/apache/oodt/xmlquery/Header.java
----------------------------------------------------------------------
diff --git a/xmlquery/src/main/java/org/apache/oodt/xmlquery/Header.java 
b/xmlquery/src/main/java/org/apache/oodt/xmlquery/Header.java
deleted file mode 100755
index f148425..0000000
--- a/xmlquery/src/main/java/org/apache/oodt/xmlquery/Header.java
+++ /dev/null
@@ -1,211 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-package org.apache.oodt.xmlquery;
-
-import org.apache.oodt.commons.util.Documentable;
-import org.apache.oodt.commons.util.XML;
-import org.w3c.dom.DOMException;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
-import java.io.Serializable;
-import java.util.ArrayList;
-import java.util.List;
-
-/** A single header.
- *
- * An object of this class is a header element of a query.
- *
- * @author Kelly
- */
-public class Header implements Serializable, Cloneable, Documentable {
-       /** Create a list of headers from an XML document.
-        *
-        * @param root A &lt;resultHeader&gt; element.
-        * @return A list of <code>Header</code>s.
-        */
-       public static List createHeaders(Node root) {
-               if (!"resultHeader".equals(root.getNodeName())) {
-                 throw new IllegalArgumentException("Expected <resultHeader> 
but got <" + root.getNodeName() + ">");
-               }
-               NodeList children = root.getChildNodes();
-               List rc = new ArrayList();
-               for (int i = 0; i < children.getLength(); ++i){
-                       Node node = children.item(i);
-                       if (node.getNodeType() == Node.ELEMENT_NODE) {
-                               Header header = new Header(node);
-                               rc.add(header);
-                       }
-               }
-               return rc;
-       }
-
-       /** Create a new, blank header.
-        *
-        * This initializes the result with default values for various 
properties.
-        */
-       public Header() {
-               this(/*name*/"UNKNOWN");
-       }
-
-       /** Create a header.
-        *
-        * Here, you specify the header's name only.
-        *
-        * @param name Name of this header.
-        */
-       public Header(String name) {
-               this(name, /*type*/null, /*unit*/null);
-       }
-
-       /** Create a fully specified header.
-        *
-        * @param name Name of this header.
-        * @param type Data type.
-        * @param unit Units.
-        */
-       public Header(String name, String type, String unit) {
-               this.name = name;
-               this.type = type;
-               this.unit = unit;
-       }
-
-       /** Create a header from a DOM node.
-        *
-        * @param node The DOM node, which must be a &lt;headerElement&gt; 
element.
-        */
-       public Header(Node node) {
-               if (!"headerElement".equals(node.getNodeName())) {
-                 throw new IllegalArgumentException("Header must be 
constructed from <headerElement> node, not <"
-                                                                               
         + node.getNodeName() + ">");
-               }
-               NodeList children = node.getChildNodes();
-               for (int i = 0; i < children.getLength(); ++i) {
-                       Node child = children.item(i);
-                       if ("elemName".equals(child.getNodeName())) {
-                         name = XML.unwrappedText(child);
-                       } else if ("elemType".equals(child.getNodeName())) {
-                         type = XML.unwrappedText(child);
-                       } else if ("elemUnit".equals(child.getNodeName())) {
-                         unit = XML.unwrappedText(child);
-                       }
-               }
-       }
-
-       /** Get the name.
-        *
-        * @return The name of the header, suitable for printing in a column 
heading.
-        */
-       public String getName() {
-               return name;
-       }
-
-       /** Get the type of this result.
-        *
-        * @return The type, as in data type.
-        */
-       public String getType() {
-               return type;
-       }
-
-       /** Get the unit.
-        *
-        * @return The units in which the header is presented.
-        */
-       public String getUnit() {
-               return unit;
-       }
-
-       /** Set the name.
-        *
-        * @param name The name of the header, suitable for printing in a 
column heading.
-        */
-       public void setName(String name) {
-               this.name = name;
-       }
-
-       /** Set the type of this result.
-        *
-        * @param type The type, as in data type.
-        */
-       public void setType(String type) {
-               this.type = type;
-       }
-
-       /** Set the unit.
-        *
-        * @param unit The units in which the header is presented.
-        */
-       public void setUnit(String unit) {
-               this.unit = unit;
-       }
-
-       public Node toXML(Document doc) throws DOMException {
-               Element root = doc.createElement("headerElement");
-               XML.add(root, "elemName", getName());
-               XML.addNonNull(root, "elemType", getType());
-               XML.addNonNull(root, "elemUnit", getUnit());
-               return root;
-       }
-
-       public int hashCode() {
-               return name.hashCode();
-       }
-
-       public boolean equals(Object rhs) {
-               if (rhs == this) {
-                 return true;
-               }
-               if (rhs == null || !(rhs instanceof Header)) {
-                 return false;
-               }
-               Header obj = (Header) rhs;
-               return name.equals(obj.name) && ((type == null && obj.type == 
null) || type.equals(obj.type))
-                       && ((unit == null && obj.unit == null) || 
unit.equals(obj.unit));
-       }
-
-       public Object clone() {
-               Object rc;
-               try {
-                       rc = super.clone();
-               } catch (CloneNotSupportedException cantHappen) {
-                       throw new RuntimeException("CloneNotSupportedException 
thrown for class that implements Cloneable: "
-                               + cantHappen.getMessage());
-               }
-               return rc;
-       }
-
-       public String toString() {
-               return getClass().getName() + "[name=" + getName() + ",type=" + 
getType() + ",unit=" + getUnit() + "]";
-       }
-
-       /** Name of the header. */
-       private String name;
-
-       /** Type, as in type of the data. */
-       private String type;
-
-       /** Unit, as in the units of the data type. */
-       private String unit;
-
-        /** Serial version unique ID. */
-        static final long serialVersionUID = -4596588383046581840L;
-}

http://git-wip-us.apache.org/repos/asf/oodt/blob/098cc4fa/xmlquery/src/main/java/org/apache/oodt/xmlquery/ObjectCodec.java
----------------------------------------------------------------------
diff --git a/xmlquery/src/main/java/org/apache/oodt/xmlquery/ObjectCodec.java 
b/xmlquery/src/main/java/org/apache/oodt/xmlquery/ObjectCodec.java
deleted file mode 100755
index 02723d8..0000000
--- a/xmlquery/src/main/java/org/apache/oodt/xmlquery/ObjectCodec.java
+++ /dev/null
@@ -1,106 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-package org.apache.oodt.xmlquery;
-
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InvalidClassException;
-import java.io.ObjectInputStream;
-import java.io.ObjectOutputStream;
-import java.io.OptionalDataException;
-import java.io.StreamCorruptedException;
-import org.apache.oodt.commons.io.Base64DecodingInputStream;
-import org.apache.oodt.commons.io.Base64EncodingOutputStream;
-import org.apache.oodt.commons.io.NullOutputStream;
-import org.apache.oodt.commons.util.XML;
-import org.apache.oodt.commons.io.CountingOutputStream;
-import org.w3c.dom.DOMException;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-
-/** A result encoder/decoder for serialized objects.
- *
- * This codec uses a serialized object format for objects.
- *
- * @author Kelly
- */
-class ObjectCodec implements Codec {
-       public Node encode(Object object, Document doc) throws DOMException {
-               ByteArrayOutputStream byteArray = new ByteArrayOutputStream();
-               try {
-                       Base64EncodingOutputStream base64 = new 
Base64EncodingOutputStream(byteArray);
-                       ObjectOutputStream objStream = new 
ObjectOutputStream(base64);
-                       objStream.writeObject(object);
-                       objStream.close();
-               } catch (IOException ignored) {}
-               Element value = doc.createElement("resultValue");
-               value.appendChild(doc.createCDATASection(byteArray.toString()));
-               return value;
-       }
-
-       public Object decode(Node node) throws ClassNotFoundException, 
InvalidClassException, StreamCorruptedException,
-               OptionalDataException {
-               String encodedValue;
-               if (node.getFirstChild().getNodeType() == 
Node.CDATA_SECTION_NODE) {
-                 encodedValue = node.getFirstChild().getNodeValue();
-               } else {
-                 encodedValue = XML.text(node);
-               }
-               Object rc = null;
-               try {
-                       ByteArrayInputStream byteArray = new 
ByteArrayInputStream(encodedValue.getBytes());
-                       Base64DecodingInputStream base64 = new 
Base64DecodingInputStream(byteArray);
-                       ObjectInputStream objStream = new 
ObjectInputStream(base64);
-                       rc = objStream.readObject();
-                       objStream.close();
-               } catch (InvalidClassException ex) {
-                       throw ex;
-               } catch (StreamCorruptedException ex) {
-                       throw ex;
-               } catch (OptionalDataException ex) {
-                       throw ex;
-               } catch (IOException ignored) {}
-               return rc;
-       }
-
-       public InputStream getInputStream(Object value) throws IOException {
-               ByteArrayOutputStream baos = new ByteArrayOutputStream();
-               ObjectOutputStream oos = new ObjectOutputStream(baos);
-               oos.writeObject(value);
-               oos.close();
-               baos.close();
-               return new ByteArrayInputStream(baos.toByteArray());
-       }
-
-       public long sizeOf(Object obj) {
-               try {
-                       CountingOutputStream c = new CountingOutputStream(new 
NullOutputStream());
-                       ObjectOutputStream stream = new ObjectOutputStream(c);
-                       stream.writeObject(obj);
-                       stream.close();
-                       return c.getBytesWritten();
-               } catch (IOException ex) {
-                       throw new IllegalStateException("I/O exception " + 
ex.getClass().getName() + " can't happen, yet did: "
-                               + ex.getMessage());
-               }
-       }
-}

http://git-wip-us.apache.org/repos/asf/oodt/blob/098cc4fa/xmlquery/src/main/java/org/apache/oodt/xmlquery/QueryElement.java
----------------------------------------------------------------------
diff --git a/xmlquery/src/main/java/org/apache/oodt/xmlquery/QueryElement.java 
b/xmlquery/src/main/java/org/apache/oodt/xmlquery/QueryElement.java
deleted file mode 100755
index 7529f5f..0000000
--- a/xmlquery/src/main/java/org/apache/oodt/xmlquery/QueryElement.java
+++ /dev/null
@@ -1,148 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-package org.apache.oodt.xmlquery;
-
-import java.io.*;
-
-import org.apache.oodt.commons.util.*;
-import org.w3c.dom.*;
-
-/** A single query element.
- *
- * An object of this class is an element of a query.
- *
- * <p>TODO: Consider computing proper mime-type based on class of object being 
inserted as
- * a value into the result.
- *
- * @author Kelly
- */
-public class QueryElement implements Serializable, Cloneable, Documentable {
-       /** Create a blank query element.
-        */
-       public QueryElement() {
-               this("UNKNOWN", "UNKNOWN");
-       }
-
-       /** Create a query element.
-        *
-        * @param role The role the element plays.
-        * @param value The value of the element.
-        */
-       public QueryElement(String role, String value) {
-               this.role = role;
-               this.value = value;
-       }
-
-       public QueryElement(Node node) {
-               if (!"queryElement".equals(node.getNodeName())) {
-                 throw new IllegalArgumentException("Query element must be 
constructed from <queryElement> node, not <"
-                                                                               
         + node.getNodeName() + ">");
-               }
-               NodeList children = node.getChildNodes();
-               for (int i = 0; i < children.getLength(); ++i) {
-                       Node child = children.item(i);
-                       if ("tokenRole".equals(child.getNodeName())) {
-                         role = XML.unwrappedText(child);
-                       } else if ("tokenValue".equals(child.getNodeName())) {
-                         value = XML.unwrappedText(child);
-                       }
-               }
-       }
-
-       /** Get my role.
-        *
-        * @return The role this element plays.
-        */
-       public String getRole() {
-               return role;
-       }
-
-       /** Get my value.
-        *
-        * @return The value of this element.
-        */
-       public String getValue() {
-               return value;
-       }
-
-       /** Set my role.
-        *
-        * @param role The new role this element plays.
-        */
-       public void setRole(String role) {
-               if (role == null) {
-                 role = "UNKNOWN";
-               }
-               this.role = role;
-       }
-
-       /** Set my value.
-        *
-        * @param value The new value of this element.
-        */
-       public void setValue(String value) {
-               if (value == null) {
-                 value = "UNKNOWN";
-               }
-               this.value = value;
-       }
-
-       public Node toXML(Document doc) throws DOMException {
-               Element root = doc.createElement("queryElement");
-               XML.add(root, "tokenRole", getRole());
-               XML.add(root, "tokenValue", getValue());
-               return root;
-       }
-
-       public boolean equals(Object rhs) {
-               if (rhs == this) {
-                 return true;
-               }
-               if (rhs == null || !(rhs instanceof QueryElement)) {
-                 return false;
-               }
-               QueryElement obj = (QueryElement) rhs;
-               return role.equals(obj.role) && value.equals(obj.value);
-       }
-
-       public int hashCode() {
-               return role.hashCode() ^ value.hashCode();
-       }
-
-       public Object clone() {
-               Object rc = null;
-               try {
-                       rc = super.clone();
-               } catch (CloneNotSupportedException ignored) {}
-               return rc;
-       }
-
-       public String toString() {
-               return getClass().getName() + "[role=" + role + ",value=" + 
value + "]";
-       }
-
-       /** The role I play. */
-       private String role;
-
-       /** The value my role has. */
-       private String value;
-
-        /** Serial version unique ID. */
-        static final long serialVersionUID = -8401434443475540800L;
-}

http://git-wip-us.apache.org/repos/asf/oodt/blob/098cc4fa/xmlquery/src/main/java/org/apache/oodt/xmlquery/QueryException.java
----------------------------------------------------------------------
diff --git 
a/xmlquery/src/main/java/org/apache/oodt/xmlquery/QueryException.java 
b/xmlquery/src/main/java/org/apache/oodt/xmlquery/QueryException.java
deleted file mode 100755
index 769e042..0000000
--- a/xmlquery/src/main/java/org/apache/oodt/xmlquery/QueryException.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-package org.apache.oodt.xmlquery;
-
-/** Checked exception to indicate a query fault.
- *
- * @author Kelly
- */
-public class QueryException extends Exception {
-       /** Construct a query exception with no detail message.
-        */
-       public QueryException() {}
-
-       /** Construct a query exception with the given detail message.
-        *
-        * @param msg Detail message.
-        */
-       public QueryException(String msg) {
-               super(msg);
-       }
-}

Reply via email to