Add Turbo Marc Xml namespace
[marc4j.git] / src / org / marc4j / Constants.java
1 // $Id: Constants.java,v 1.1 2005/05/04 10:06:46 bpeters Exp $\r
2 /**\r
3  * Copyright (C) 2004 Bas Peters\r
4  *\r
5  * This file is part of MARC4J\r
6  *\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
11  *\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
16  *\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
20  *\r
21  */\r
22 package org.marc4j;\r
23 \r
24 /**\r
25  * Defines constant values.\r
26  *\r
27  * @author Bas Peters \r
28  * @version $Revision: 1.1 $\r
29  */\r
30 public class Constants {\r
31 \r
32     private Constants() {}\r
33 \r
34     /** RECORD TERMINATOR */\r
35     public static final int RT = 0x001D;\r
36 \r
37     /** FIELD TERMINATOR */\r
38     public static final int FT = 0x001E;\r
39 \r
40     /** SUBFIELD DELIMITER */\r
41     public static final int US = 0x001F;\r
42 \r
43     /** BLANK */\r
44     public static final int BLANK = 0x0020;\r
45     \r
46     /** NS URI */\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
49     \r
50     /** MARC-8 ANSEL ENCODING **/\r
51     public static final String MARC_8_ENCODING = "MARC8";\r
52 \r
53     /** ISO5426 ENCODING **/\r
54     public static final String ISO5426_ENCODING = "ISO5426";\r
55 \r
56     /** ISO6937 ENCODING **/\r
57     public static final String ISO6937_ENCODING = "ISO6937";\r
58 \r
59 }\r