Changeset 3969
- Timestamp:
- 2003-03-25T09:42:49+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/util/GSXML.java
r3907 r3969 71 71 public static final String ADDRESS_ATT = "address"; 72 72 public static final String STATUS_ERROR_CODE_ATT = "code"; 73 public static final String STATUS_PROCESS_ID_ATT = " handle";73 public static final String STATUS_PROCESS_ID_ATT = "pid"; 74 74 public static final String PARAM_SHORTNAME_ATT = "shortname"; 75 75 public static final String PARAM_IGNORE_POS_ATT = "ignore"; … … 78 78 // document stuff 79 79 public static final String DOC_NODE_ELEM = "documentNode"; 80 public static final String DOC_NODE_CONTENT_ELEM = "documentNodeContent";81 public static final String DOC_NODE_STRUCTURE_ELEM = "documentNodeStructure";80 public static final String NODE_CONTENT_ELEM = "nodeContent"; 81 public static final String NODE_STRUCTURE_ELEM = "nodeStructure"; 82 82 public static final String NODE_ID_ATT = "nodeID"; 83 83 public static final String NODE_NAME_ATT = "nodeName"; 84 84 public static final String NODE_TYPE_ATT = "nodeType"; 85 // should we rename these to the above??86 public static final String DOC_NODE_ID_ATT = "nodeID";87 public static final String DOC_NODE_NAME_ATT = "nodeName";88 public static final String DOC_NODE_TYPE_ATT = "nodeType";89 85 90 86 public static final String NODE_TYPE_ROOT = "root"; … … 95 91 public static final String CLASS_NODE_ELEM = "classifierNode"; 96 92 public static final String CLASS_NODE_ORIENTATION_ATT = "orientation"; 97 //public static final String CLASS_NODE_ID_ATT = "classifierID";98 93 99 94 // parameter types … … 139 134 public static final String COMM_TYPE_SOAP_JAVA = "soap"; 140 135 136 // a param - shoudl it go here?? 137 public static final String INFO_PARAM = "info"; 141 138 142 139 /** takes a list of elements, and returns an array of strings … … 213 210 public static boolean addDocText(Document owner, Element doc, String text) { 214 211 215 Element content = owner.createElement( DOC_NODE_CONTENT_ELEM);212 Element content = owner.createElement(NODE_CONTENT_ELEM); 216 213 Text t = owner.createTextNode(text); 217 214 content.appendChild(t);
Note:
See TracChangeset
for help on using the changeset viewer.