Changeset 1169:69074b267500

Show
Ignore:
Timestamp:
06/08/10 17:35:04 (3 years ago)
Author:
Thomas Gambet <tgambet@…>
Branch:
default
Message:

removed execQuery method

Location:
src/org/w3c/unicorn/response
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • src/org/w3c/unicorn/response/Response.java

    r1126 r1169  
    6868        public void setObserverId(String obsId); 
    6969         
    70         public String[] execQuery(String query); 
    71          
    7270        public String[] selectPath(String xpath); 
    7371         
  • src/org/w3c/unicorn/response/impl/DefaultResponseXBeans.java

    r1126 r1169  
    233233                return false; 
    234234        } 
    235          
    236         public String[] execQuery(String query) { 
    237                 XmlObject[] objects = or.execQuery(query); 
    238                 String[] result = new String[objects.length]; 
    239                 int i = 0; 
    240                 for (XmlObject obj : objects) { 
    241                         result[i] = obj.toString(); 
    242                         i++; 
    243                 } 
    244                 return result; 
    245         } 
    246235 
    247236        public String[] selectPath(String xpath) {