From: Xuan B. <med...@us...> - 2008-01-23 16:02:16
|
Update of /cvsroot/tm4j/tm4j/src/org/tm4j/topicmap/tmdm In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv17159/src/org/tm4j/topicmap/tmdm Modified Files: PSI.java Log Message: Have some more centralized PSI String objects. Divide them into different classes. Index: PSI.java =================================================================== RCS file: /cvsroot/tm4j/tm4j/src/org/tm4j/topicmap/tmdm/PSI.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** PSI.java 23 Jan 2008 15:58:49 -0000 1.1 --- PSI.java 23 Jan 2008 16:02:18 -0000 1.2 *************** *** 6,16 **** @author <a href="mailto:xua...@pu...">Xuân Baldauf</a> */ ! public static class PSI { ! public static String type = "http://psi.topicmaps.org/iso13250/model/type"; ! public static String instance = "http://psi.topicmaps.org/iso13250/model/instance"; ! public static String type_instance = "http://psi.topicmaps.org/iso13250/model/type-instance"; ! public static String topic_name = "http://psi.topicmaps.org/iso13250/model/topic-name"; } --- 6,28 ---- @author <a href="mailto:xua...@pu...">Xuân Baldauf</a> */ ! public class PSI { ! public static class TMDM { ! public static String type = "http://psi.topicmaps.org/iso13250/model/type"; ! public static String instance = "http://psi.topicmaps.org/iso13250/model/instance"; ! public static String type_instance = "http://psi.topicmaps.org/iso13250/model/type-instance"; ! ! public static String topic_name = "http://psi.topicmaps.org/iso13250/model/topic-name"; ! } ! public static class XMLSchema { ! public static String string = "http://www.w3.org/2001/XMLSchema#string"; ! public static String anyURI = "http://www.w3.org/2001/XMLSchema#anyURI"; ! public static String anyType = "http://www.w3.org/2001/XMLSchema#anyType"; ! ! public static String String = string; ! public static String IRI = anyURI; ! public static String XML = anyType; ! } } |