2 package org.z3950.zing.cql;
5 * Represents a CQL prefix mapping from short name to long identifier.
8 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 an index
15 * like <TT>dc.title</TT>.
17 public String getName() {
25 * The full identifier name of the prefix mapping. That is,
26 * typically, a URI permanently allocated to a specific index
27 * set, such as <TT>http://zthes.z3950.org/cql/1.0<TT>.
29 public String getIdentifier() {
34 * Creates a new CQLPrefix mapping, which maps the specified name
35 * to the specified identifier.
37 CQLPrefix(String name, String identifier) {
39 this.identifier = identifier;