Changeset 1169:69074b267500
- 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:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r1126
|
r1169
|
|
| 68 | 68 | public void setObserverId(String obsId); |
| 69 | 69 | |
| 70 | | public String[] execQuery(String query); |
| 71 | | |
| 72 | 70 | public String[] selectPath(String xpath); |
| 73 | 71 | |
-
|
r1126
|
r1169
|
|
| 233 | 233 | return false; |
| 234 | 234 | } |
| 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 | | } |
| 246 | 235 | |
| 247 | 236 | public String[] selectPath(String xpath) { |