Changeset 16782 for greenstone3


Ignore:
Timestamp:
2008-08-14T12:00:29+12:00 (16 years ago)
Author:
ak19
Message:

Since XMLConverter method nodeToElement() has now been made static, need not create an instance of it (complete with DOMParser and all) merely to call this method.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/src/java/org/greenstone/gsdl3/SOAPServerlocalsite.java

    r16688 r16782  
    4343    /** the name of the site we are serving */
    4444    protected String site_name = "localsite";
    45  
    46     protected XMLConverter converter = null;
    4745
    4846    /** The no-args constructor */
    4947    public SOAPServerlocalsite() {
    50 
    51     converter = new XMLConverter();
    5248
    5349    String gsdl3_home = GlobalProperties.getGSDL3Home();
     
    8278        Element new_req = GSXML.duplicateWithNewName(req.getOwnerDocument(), req, tag_name, true);
    8379        Node n = mr.process(new_req);
    84         Element r = converter.nodeToElement(n);
     80        Element r = XMLConverter.nodeToElement(n);
    8581        // add the namespace back on
    8682        //Element new_res = r;
Note: See TracChangeset for help on using the changeset viewer.