- From: Jonathan Barouh via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 08 Sep 2008 12:48:40 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/org/w3c/unicorn/contract
In directory hutz:/tmp/cvs-serv11095/org/w3c/unicorn/contract
Modified Files:
WADLUnmarshallerXPath.java
Log Message:
Cleaner version.
Index: WADLUnmarshallerXPath.java
===================================================================
RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/contract/WADLUnmarshallerXPath.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- WADLUnmarshallerXPath.java 26 Aug 2008 15:31:56 -0000 1.7
+++ WADLUnmarshallerXPath.java 8 Sep 2008 12:48:38 -0000 1.8
@@ -125,11 +125,13 @@
* Get the document from an URL
* @throws SAXException
*/
- public void addURL(final URL aURL) throws IOException{
+ public void addURL(final URL aURL) throws IOException {
+
WADLUnmarshallerXPath.logger.trace("addURL");
if (WADLUnmarshallerXPath.logger.isDebugEnabled()) {
WADLUnmarshallerXPath.logger.debug("URL : " + aURL + ".");
}
+
try {
this.aDocument = this.aDocumentBuilder.parse(aURL.openStream());
} catch (SAXException e) {
@@ -173,7 +175,7 @@
String vText = nodeDoc.getTextContent();
- // parcours les attrb d un doc
+ // browse the attributes of a document
String vTitle = null;
String vLang = null;
NamedNodeMap nnm = nodeDoc.getAttributes();
@@ -318,7 +320,7 @@
mapOfCallParameter);
this.listOfCallMethod.add(aCallMethod);
- // remplir mapOfInputMethod
+ // fill mapOfInputMethod
NodeList listChildMethod = aNodeMethod.getChildNodes();
String sInputMethod = null;
Received on Monday, 8 September 2008 12:49:13 UTC