1 // $Id: Constants.java,v 1.1 2005/05/04 10:06:46 bpeters Exp $
\r
3 * Copyright (C) 2004 Bas Peters
\r
5 * This file is part of MARC4J
\r
7 * MARC4J is free software; you can redistribute it and/or
\r
8 * modify it under the terms of the GNU Lesser General Public
\r
9 * License as published by the Free Software Foundation; either
\r
10 * version 2.1 of the License, or (at your option) any later version.
\r
12 * MARC4J is distributed in the hope that it will be useful,
\r
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
\r
15 * Lesser General Public License for more details.
\r
17 * You should have received a copy of the GNU Lesser General Public
\r
18 * License along with MARC4J; if not, write to the Free Software
\r
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
\r
25 * Defines constant values.
\r
27 * @author Bas Peters
\r
28 * @version $Revision: 1.1 $
\r
30 public class Constants {
\r
32 private Constants() {}
\r
34 /** RECORD TERMINATOR */
\r
35 public static final int RT = 0x001D;
\r
37 /** FIELD TERMINATOR */
\r
38 public static final int FT = 0x001E;
\r
40 /** SUBFIELD DELIMITER */
\r
41 public static final int US = 0x001F;
\r
44 public static final int BLANK = 0x0020;
\r
47 public static final String MARCXML_NS_URI = "http://www.loc.gov/MARC21/slim";
\r
48 public static final String TURBO_MARCXML_NS_URI = "http://www.indexdata.com/turbomarc";
\r
50 /** MARC-8 ANSEL ENCODING **/
\r
51 public static final String MARC_8_ENCODING = "MARC8";
\r
53 /** ISO5426 ENCODING **/
\r
54 public static final String ISO5426_ENCODING = "ISO5426";
\r
56 /** ISO6937 ENCODING **/
\r
57 public static final String ISO6937_ENCODING = "ISO6937";
\r