You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by sa...@apache.org on 2001/09/19 18:40:36 UTC
cvs commit: xml-xerces/java/src/org/apache/xerces/impl/v2/identity KeyRef.java
sandygao 01/09/19 09:40:36
Modified: java/src/org/apache/xerces/impl/v2/identity KeyRef.java
Log:
PA to Objects.
Revision Changes Path
1.2 +9 -9 xml-xerces/java/src/org/apache/xerces/impl/v2/identity/KeyRef.java
Index: KeyRef.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/impl/v2/identity/KeyRef.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- KeyRef.java 2001/09/13 21:26:00 1.1
+++ KeyRef.java 2001/09/19 16:40:36 1.2
@@ -2,7 +2,7 @@
* The Apache Software License, Version 1.1
*
*
- * Copyright (c) 2001 The Apache Software Foundation. All rights
+ * Copyright (c) 2001 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -10,7 +10,7 @@
* are met:
*
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
+ * notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
@@ -18,7 +18,7 @@
* distribution.
*
* 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
+ * if any, must include the following acknowledgment:
* "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowledgment may appear in the software itself,
@@ -26,7 +26,7 @@
*
* 4. The names "Xerces" and "Apache Software Foundation" must
* not be used to endorse or promote products derived from this
- * software without prior written permission. For written
+ * software without prior written permission. For written
* permission, please contact apache@apache.org.
*
* 5. Products derived from this software may not be called "Apache",
@@ -61,9 +61,9 @@
* Schema key reference identity constraint.
*
* @author Andy Clark, IBM
- * @version $Id: KeyRef.java,v 1.1 2001/09/13 21:26:00 neilg Exp $
+ * @version $Id: KeyRef.java,v 1.2 2001/09/19 16:40:36 sandygao Exp $
*/
-public class KeyRef
+public class KeyRef
extends IdentityConstraint {
//
@@ -71,7 +71,7 @@
//
/** The index of the key (or unique) being referred to. */
- protected int fKey;
+ protected IdentityConstraint fKey;
// the uri of the grammar from which the key is taken.
protected String fKeyUri;
@@ -80,7 +80,7 @@
//
/** Constructs a keyref with the specified name. */
- public KeyRef(String identityConstraintName, int key, String keyUri) {
+ public KeyRef(String identityConstraintName, IdentityConstraint key, String keyUri) {
super(identityConstraintName);
fKey = key;
fKeyUri = keyUri;
@@ -92,7 +92,7 @@
//
/** Returns the key being referred to. */
- public int getKey() {
+ public IdentityConstraint getKey() {
return fKey;
} // getKey(): int
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org