Changeset 16781

Show
Ignore:
Timestamp:
14.08.2008 11:58:01 (11 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.

Files:
1 modified

Legend:

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

    r16688 r16781  
    5656    private Call call_ = null; 
    5757 
    58     protected XMLConverter converter_ = null; 
    59  
    6058    /** The no-args constructor */ 
    6159    public SOAPCommunicator() {  
    62     converter_ = new XMLConverter(); 
    6360    } 
    6461         
     
    9895    public Node process(Node message_node) { 
    9996     
    100     Element message = converter_.nodeToElement(message_node); 
     97    Element message = XMLConverter.nodeToElement(message_node); 
    10198 
    10299    NodeList requests = message.getElementsByTagName(GSXML.REQUEST_ELEM);