/** * Convert the data into Node format */ public static Node getMethod() { Element testRequest = TECore.doc.createElement(Constants.Request); testRequest.setAttribute(NO, String.valueOf(TECore.methodCount)); // append child into testRequest testRequest.appendChild(getMethodElements(TECore.doc, testRequest, Constants.Assertion, TECore.assertionMsz)); testRequest.appendChild(getMethodElements(TECore.doc, testRequest, Constants.URL, TECore.pathURL)); testRequest.appendChild(getMethodElements(TECore.doc, testRequest, Constants.Message, TECore.messageTest)); return testRequest; }
/** * Convert the data into Node format */ public static Node getMethod() { Element testRequest = TECore.doc.createElement(Constants.Request); testRequest.setAttribute(NO, String.valueOf(TECore.methodCount)); // append child into testRequest testRequest.appendChild(getMethodElements(TECore.doc, testRequest, Constants.Assertion, TECore.assertionMsz)); testRequest.appendChild(getMethodElements(TECore.doc, testRequest, Constants.URL, TECore.pathURL)); testRequest.appendChild(getMethodElements(TECore.doc, testRequest, Constants.Message, TECore.messageTest)); return testRequest; }