<version>1.8</version>
<name>cql-java</name>
<url>http://maven.apache.org</url>
- <build>
+ <build>
+ <extensions>
+ <extension>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-ssh</artifactId>
+ <version>1.0-beta-6</version>
+ </extension>
+ </extensions>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<uniqueVersion>false</uniqueVersion>
<id>id-maven-repo</id>
<name>Index Data Maven Repository</name>
- <url>scp://maven.indexdata.com/var/www/maven/repository</url>
+ <url>scp://maven.indexdata.com:222/var/www/maven/repository</url>
</repository>
</distributionManagement>
<repositories>
}
ModifierSet ms;
+
/**
* The set of modifiers that are applied to this boolean.
*/
* @version $Id: CQLNode.java,v 1.26 2007-07-03 13:36:03 mike Exp $
*/
public abstract class CQLNode {
- CQLNode() {} // prevent javadoc from documenting this
/**
* Returns the name of the result-set to which this query is a
/**
* Translates a parse-tree into an XCQL document.
* <P>
- * @param level
- * The number of levels to indent the top element of the XCQL
- * document. This will typically be 0 when invoked by an
- * application; it takes higher values when this method is
- * invoked recursively for nodes further down the tree.
* @return
* A String containing an XCQL document equivalent to the
* parse-tree whose root is this node.
* @version $Id: CQLPrefix.java,v 1.5 2007-06-27 22:39:55 mike Exp $
*/
public class CQLPrefix {
+
+ String name;
+
/**
* The short name of the prefix mapping. That is, the prefix
* itself, such as <TT>dc</TT>, as it might be used in an index
* like <TT>dc.title</TT>.
*/
- String name;
-
public String getName() {
return name;
}
+
+ String identifier;
+
/**
* The full identifier name of the prefix mapping. That is,
* typically, a URI permanently allocated to a specific index
* set, such as <TT>http://zthes.z3950.org/cql/1.0<TT>.
*/
- String identifier;
-
public String getIdentifier() {
return identifier;
}
* @version $Id: CQLPrefixNode.java,v 1.10 2007-07-03 16:40:11 mike Exp $
*/
public class CQLPrefixNode extends CQLNode {
+
+ private CQLPrefix prefix;
+
/**
* The prefix definition that governs the subtree.
*/
- private CQLPrefix prefix;
-
public CQLPrefix getPrefix() {
return prefix;
}
+ private CQLNode subtree;
+
/**
* The root of a parse-tree representing the part of the query
* that is governed by this prefix definition.
- */
- private CQLNode subtree;
-
+ */
public CQLNode getSubtree() {
return subtree;
}