1 // $Id: CQLPrefix.java,v 1.1 2002-12-04 16:54:01 mike Exp $
3 package org.z3950.zing.cql;
4 import java.lang.String;
7 * Represents a CQL prefix mapping from short name to long identifier.
9 * @version $Id: CQLPrefix.java,v 1.1 2002-12-04 16:54:01 mike Exp $
11 public class CQLPrefix {
13 * The short name of the prefix mapping. That is, the prefix
14 * itself, such as <TT>dc</TT>, as it might be used in a qualifier
15 * like <TT>dc.title</TT>.
20 * The full identifier name of the prefix mapping. That is,
21 * typically, a URI permanently allocated to a specific qualifier
22 * set, such as <TT>http://zthes.z3950.org/cql/1.0<TT>.
24 public String identifier;
27 * Creates a new CQLPrefix mapping, which maps the specified name
28 * to the specified identifier.
30 CQLPrefix(String name, String identifier) {
32 this.identifier = identifier;