- Timestamp:
- 2014-04-17T13:10:38+12:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/GSXML.java
r28963 r28982 807 807 } 808 808 } 809 810 public static void copyElement(Element to, Element from, String elem_name) { 809 810 public static void copyNode(Element to_elem, Node original_element) { 811 to_elem.appendChild(to_elem.getOwnerDocument().importNode(original_element, true)); 812 813 } 814 815 public static void copyNamedElement(Element to, Element from, String elem_name) { 811 816 812 817 Document to_doc = to.getOwnerDocument(); … … 940 945 } 941 946 947 public static void addParameterToList(Element param_list, String name, String value) { 948 Element p = createParameter(param_list.getOwnerDocument(), name, value); 949 param_list.appendChild(p); 950 } 942 951 public static void addParametersToList(Element param_list, HashMap params) 943 952 {
Note:
See TracChangeset
for help on using the changeset viewer.