Author: jkaputin
Date: Thu Jul 6 06:34:26 2006
New Revision: 419545
URL: http://svn.apache.org/viewvc?rev=419545&view=rev
Log:
Corrected typo in two method names from 'get' to 'set'.
Updated Javadoc comments.
Modified:
incubator/woden/java/src/org/apache/woden/ErrorLocator.java
incubator/woden/java/src/org/apache/woden/internal/ErrorLocatorImpl.java
Modified: incubator/woden/java/src/org/apache/woden/ErrorLocator.java
URL:
http://svn.apache.org/viewvc/incubator/woden/java/src/org/apache/woden/ErrorLocator.java?rev=419545&r1=419544&r2=419545&view=diff
==============================================================================
--- incubator/woden/java/src/org/apache/woden/ErrorLocator.java (original)
+++ incubator/woden/java/src/org/apache/woden/ErrorLocator.java Thu Jul 6
06:34:26 2006
@@ -17,13 +17,14 @@
/**
* Represents the location of parsing error within a XML document.
- * Based on org.xml.sax.Locator.
+ * Based on org.xml.sax.Locator.
+ *
+ * TODO decide if URI info of the document is needed,
+ * and maybe XPATH of the element or attribute in error.
*
* @author kaputin
*/
public interface ErrorLocator {
-
- //TODO do we need URI info or just line/col?
public String getDocumentBaseURI();
Modified:
incubator/woden/java/src/org/apache/woden/internal/ErrorLocatorImpl.java
URL:
http://svn.apache.org/viewvc/incubator/woden/java/src/org/apache/woden/internal/ErrorLocatorImpl.java?rev=419545&r1=419544&r2=419545&view=diff
==============================================================================
--- incubator/woden/java/src/org/apache/woden/internal/ErrorLocatorImpl.java
(original)
+++ incubator/woden/java/src/org/apache/woden/internal/ErrorLocatorImpl.java
Thu Jul 6 06:34:26 2006
@@ -59,20 +59,11 @@
}
/**
- * Set the column number of this locator.
- *
- * @param col The column number to set.
- */
- public void setColumnNumber(int col) {
- fColumnNumber = col;
- }
-
- /**
* Set the base URI of this locator.
*
* @param uri The URI of the base location to set.
*/
- public void getDocumentBaseURI(String uri) {
+ public void setDocumentBaseURI(String uri) {
// TODO required?
}
@@ -81,7 +72,7 @@
*
* @param uri The URI of the location to set.
*/
- public void getLocationURI(String uri) {
+ public void setLocationURI(String uri) {
// TODO required?
}
@@ -94,4 +85,13 @@
fLineNumber = line;
}
+ /**
+ * Set the column number of this locator.
+ *
+ * @param col The column number to set.
+ */
+ public void setColumnNumber(int col) {
+ fColumnNumber = col;
+ }
+
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]