org.apache.xerces.impl.xs.identity
Class KeyRef

java.lang.Object
  |
  +--org.apache.xerces.impl.xs.identity.IdentityConstraint
        |
        +--org.apache.xerces.impl.xs.identity.KeyRef

public class KeyRef
extends IdentityConstraint

Schema key reference identity constraint.

Version:
$Id: KeyRef.java,v 1.2 2002/01/29 01:15:15 lehors Exp $
Author:
Andy Clark, IBM

Field Summary
protected  UniqueOrKey fKey
          The key (or unique) being referred to.
 
Fields inherited from class org.apache.xerces.impl.xs.identity.IdentityConstraint
fElementName, fFieldCount, fFields, fIdentityConstraintName, fSelector, KEY, KEYREF, type, UNIQUE
 
Constructor Summary
KeyRef(java.lang.String identityConstraintName, java.lang.String elemName, UniqueOrKey key)
          Constructs a keyref with the specified name.
 
Method Summary
 UniqueOrKey getKey()
          Returns the key being referred to.
 
Methods inherited from class org.apache.xerces.impl.xs.identity.IdentityConstraint
addField, equals, getElementName, getFieldAt, getFieldCount, getIdentityConstraintName, getSelector, getType, setSelector, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fKey

protected UniqueOrKey fKey
The key (or unique) being referred to.
Constructor Detail

KeyRef

public KeyRef(java.lang.String identityConstraintName,
              java.lang.String elemName,
              UniqueOrKey key)
Constructs a keyref with the specified name.
Method Detail

getKey

public UniqueOrKey getKey()
Returns the key being referred to.


Copyright © 1999-2002 Apache XML Project. All Rights Reserved.