diff options
Diffstat (limited to 'petascope/src/petascope/wcps/server/core/XmlQuery.java')
-rw-r--r-- | petascope/src/petascope/wcps/server/core/XmlQuery.java | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/petascope/src/petascope/wcps/server/core/XmlQuery.java b/petascope/src/petascope/wcps/server/core/XmlQuery.java index 3271892..4530a3b 100644 --- a/petascope/src/petascope/wcps/server/core/XmlQuery.java +++ b/petascope/src/petascope/wcps/server/core/XmlQuery.java @@ -14,18 +14,17 @@ * You should have received a copy of the GNU General Public License * along with rasdaman community. If not, see <http://www.gnu.org/licenses/>. * - * Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Baumann / - rasdaman GmbH. + * Copyright 2003 - 2010 Peter Baumann / rasdaman GmbH. * * For more information please see <http://www.rasdaman.org> * or contact Peter Baumann via <baumann@rasdaman.com>. */ package petascope.wcps.server.core; -import petascope.wcps.server.exceptions.InvalidCrsException; -import petascope.wcps.server.exceptions.WCPSException; +import petascope.core.IDynamicMetadataSource; +import petascope.exceptions.PetascopeException; +import petascope.exceptions.WCPSException; import org.w3c.dom.*; - import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; @@ -73,7 +72,7 @@ public class XmlQuery implements IRasNode { varDimension = new HashMap<String, Integer>(); } - public XmlQuery(Node node) throws WCPSException, InvalidCrsException { + public XmlQuery(Node node) throws WCPSException, PetascopeException { iterators = new ArrayList<CoverageIterator>(); dynamicIterators = new ArrayList<CoverageIterator>(); variableTranslator = new HashMap<String, String>(); @@ -81,7 +80,7 @@ public class XmlQuery implements IRasNode { this.startParsing(node); } - public void startParsing(Node node) throws WCPSException, InvalidCrsException { + public void startParsing(Node node) throws WCPSException, PetascopeException { System.err.println("Processing XML Request: " + node.getNodeName()); Node x = node.getFirstChild(); |