ankitp 2005/02/11 13:31:51
Modified: java/src/org/apache/xerces/xs/datatypes ByteList.java
XSDateTime.java XSFloat.java XSDouble.java
java/src/org/apache/xerces/impl/dv/xs
AbstractDateTimeDV.java
Log:
minor changes to interfaces
Revision Changes Path
1.5 +4 -4
xml-xerces/java/src/org/apache/xerces/xs/datatypes/ByteList.java
Index: ByteList.java
===================================================================
RCS file:
/home/cvs/xml-xerces/java/src/org/apache/xerces/xs/datatypes/ByteList.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ByteList.java 29 Sep 2004 21:39:01 -0000 1.4
+++ ByteList.java 11 Feb 2005 21:31:51 -0000 1.5
@@ -1,5 +1,5 @@
/*
- * Copyright 2004 The Apache Software Foundation.
+ * Copyright 2004, 2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -47,14 +47,14 @@
public boolean contains(byte item);
/**
- * Returns the <code>index</code>th item in the collection. The index
+ * Returns the <code>index</code>of the item in the collection. The
index
* starts at 0.
* @param index index into the collection.
* @return The <code>byte</code> at the <code>index</code>th
* position in the <code>ByteList</code>.
* @exception XSException
* INDEX_SIZE_ERR: if <code>index</code> is greater than or equal to
the
- * number of objects in the list.
+ * number of objects in the list or less than zero.
*/
public byte item(int index) throws XSException;
1.5 +4 -4
xml-xerces/java/src/org/apache/xerces/xs/datatypes/XSDateTime.java
Index: XSDateTime.java
===================================================================
RCS file:
/home/cvs/xml-xerces/java/src/org/apache/xerces/xs/datatypes/XSDateTime.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- XSDateTime.java 17 Dec 2004 20:21:25 -0000 1.4
+++ XSDateTime.java 11 Feb 2005 21:31:51 -0000 1.5
@@ -1,5 +1,5 @@
/*
- * Copyright 2004 The Apache Software Foundation.
+ * Copyright 2004, 2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -65,12 +65,12 @@
/**
* @return int
*/
- public int getTimeZoneHr();
+ public int getTimeZoneHours();
/**
* @return int
*/
- public int getTimeZoneMin();
+ public int getTimeZoneMinutes();
/**
* @return string
1.5 +2 -2
xml-xerces/java/src/org/apache/xerces/xs/datatypes/XSFloat.java
Index: XSFloat.java
===================================================================
RCS file:
/home/cvs/xml-xerces/java/src/org/apache/xerces/xs/datatypes/XSFloat.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- XSFloat.java 29 Sep 2004 21:39:01 -0000 1.4
+++ XSFloat.java 11 Feb 2005 21:31:51 -0000 1.5
@@ -28,7 +28,7 @@
public interface XSFloat {
/**
- * @return value
+ * @return a float value
*/
public float getValue();
1.5 +2 -2
xml-xerces/java/src/org/apache/xerces/xs/datatypes/XSDouble.java
Index: XSDouble.java
===================================================================
RCS file:
/home/cvs/xml-xerces/java/src/org/apache/xerces/xs/datatypes/XSDouble.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- XSDouble.java 29 Sep 2004 21:39:01 -0000 1.4
+++ XSDouble.java 11 Feb 2005 21:31:51 -0000 1.5
@@ -28,7 +28,7 @@
public interface XSDouble {
/**
- * @return value
+ * @return a double value
*/
public double getValue();
1.31 +3 -3
xml-xerces/java/src/org/apache/xerces/impl/dv/xs/AbstractDateTimeDV.java
Index: AbstractDateTimeDV.java
===================================================================
RCS file:
/home/cvs/xml-xerces/java/src/org/apache/xerces/impl/dv/xs/AbstractDateTimeDV.java,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- AbstractDateTimeDV.java 11 Jan 2005 13:41:58 -0000 1.30
+++ AbstractDateTimeDV.java 11 Feb 2005 21:31:51 -0000 1.31
@@ -885,13 +885,13 @@
/* (non-Javadoc)
* @see
org.apache.xerces.xs.datatypes.XSDateTime#getTimeZoneHr()
*/
- public int getTimeZoneHr() {
+ public int getTimeZoneHours() {
return timezoneHr;
}
/* (non-Javadoc)
* @see
org.apache.xerces.xs.datatypes.XSDateTime#getTimeZoneMin()
*/
- public int getTimeZoneMin() {
+ public int getTimeZoneMinutes() {
return timezoneMin;
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]