Changeset 24609


Ignore:
Timestamp:
2011-09-19T10:11:12+12:00 (13 years ago)
Author:
xiao
Message:

added a xmlNodeToString method to be backward compatible with legacy code - default printText to true

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/GSXML.java

    r24583 r24609  
    946946    }
    947947
     948    public static String xmlNodeToString(Node e){
     949        StringBuffer sb = new StringBuffer("");
     950        xmlNodeToString(sb,e,0,true);
     951        return sb.toString();
     952    }
     953
    948954    public static String xmlNodeToString(Node e, boolean printText){
    949955        StringBuffer sb = new StringBuffer("");
Note: See TracChangeset for help on using the changeset viewer.