Ignore:
Timestamp:
09/19/11 10:39:55 (13 years ago)
Author:
gaba
Message:

Utils.java in place of Helpers and Admin
Diagnostics changes in GenericAction?
code arrangement, comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MDService2/branches/MDService_simple3/src/eu/clarin/cmdi/mdservice/model/SearchClauses.java

    r1511 r1540  
    1616import org.w3c.dom.NodeList;
    1717
    18 import eu.clarin.cmdi.mdservice.internal.Admin;
     18import eu.clarin.cmdi.mdservice.internal.Utils;
    1919import eu.clarin.cmdi.mdservice.action.DCRProxyAction;
    2020
     
    3535                }
    3636                xml_document=  _doc;
    37                 Admin.notifyUser("SCCCCC: constuctor");
     37                //log.debug("SCCCCC: constuctor");
    3838                deserialize();
    3939                // do processing
     
    103103                        deserialize(b,nodeList.item(1), nodeList.item(2),0);
    104104                }else{
    105                         Admin.notifyUser("SCCCCC: deserialize");
     105                        //log.debug("SCCCCC: deserialize");
    106106                        if (node.getNodeName().equals("searchClause")){
    107107                       
     
    111111                        }
    112112                }
    113                 Admin.notifyUser("SCCCCC: list " + list[0][0].getIndex() + list[0][0].getValue());
     113                //log.debug("SCCCCC: list " + list[0][0].getIndex() + list[0][0].getValue());
    114114               
    115115               
     
    165165               
    166166                // remove old document
    167                 Admin.notifyUser("SCCCCC: serialize");
    168                 Admin.notifyUser("SCCCCC: " + xml_document.getChildNodes().getLength());
     167                //log.debug("SCCCCC: serialize");
     168                //log.debug("SCCCCC: " + xml_document.getChildNodes().getLength());
    169169                xml_document.removeChild(xml_document.getFirstChild());
    170                 Admin.notifyUser("SCCCCC: CLEARED " + xml_document.getChildNodes().getLength());
     170                //log.debug("SCCCCC: CLEARED " + xml_document.getChildNodes().getLength());
    171171               
    172172                if ((getLastAnd() == 1) && (getLastOr(0) == 1)){
    173                         Admin.notifyUser("SCCCCC: searchClause ");
     173                        //log.debug("SCCCCC: searchClause ");
    174174                        root = xml_document.createElement("searchClause");
    175175                        e = xml_document.createElement("index");
     
    232232                        }
    233233                xml_string = sw.toString();
    234                 Admin.notifyUser("SERIALIZED-XML:  " + xml_string);
     234                //log.debug("SERIALIZED-XML:  " + xml_string);
    235235                } catch (TransformerConfigurationException e1) {
    236236                        // TODO Auto-generated catch block
Note: See TracChangeset for help on using the changeset viewer.