Changeset 1022 for trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlMonitorServlet.java
- Timestamp:
- 12/14/12 16:16:16 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlMonitorServlet.java
r1019 r1022 333 333 /** 334 334 * <p> 335 * TODO: comment 336 * </p> 337 * 338 * @param message 339 * @param clientInfos 340 * @return 335 * extracts the GUI structure from the provided JSON object. 336 * </p> 337 * 338 * @param object the JSON object to extract the GUI structure from 339 * @param clientInfos infos about the client who send the data 340 * 341 * @return the GUI structure extracted from the JSON object of which the root node is a 342 * representation of the server of the HTML page that was observed 341 343 */ 342 344 private HtmlPageElement extractHtmlPageElements(JSONObject object, … … 354 356 /** 355 357 * <p> 356 * TODO: comment 357 * </p> 358 * 359 * @param clientInfos 360 * @return 358 * instantiates an element of the GUI structure representing the server of the observed 359 * web page 360 * </p> 361 * 362 * @param clientInfos infos about the client who send the data 363 * 364 * @return as described 361 365 */ 362 366 private HtmlPageElement getServerElement(HtmlClientInfos clientInfos) { … … 371 375 /** 372 376 * <p> 373 * TODO: comment 374 * </p> 375 * 376 * @param clientInfos 377 * instantiates an element of the GUI structure representing the observed web page. Adds 378 * this element to the provided server as child. 379 * </p> 380 * 381 * @param clientInfos infos about the client who send the data 382 * @param server the server on which the page represented by the return value resists 383 * 384 * @return as described 377 385 */ 378 386 private HtmlPageElement getPageElementRepresentingWebPage(HtmlClientInfos clientInfos, … … 395 403 /** 396 404 * <p> 397 * TODO: comment 398 * </p> 399 * 400 * @param jsonPageElement 401 * @return 405 * converts a JSON object representing an HTML page element to an HTML page element. Calls 406 * itself recursively to also convert the children of the element, if any. 407 * </p> 408 * 409 * @param jsonPageElement the JSON object to be converted 410 * @param parentPath the path through the DOM of the parent HTML page element of the 411 * converted one 412 * 413 * @return as described. 402 414 */ 403 415 private HtmlPageElement convert(JSONObject jsonPageElement, String parentPath) {
Note: See TracChangeset
for help on using the changeset viewer.