org.apache.xerces.impl.xs.identity

Class KeyRef

public class KeyRef extends IdentityConstraint

Schema key reference identity constraint.

Version: $Id: KeyRef.java,v 1.7 2004/10/06 15:14:51 mrglavas Exp $

Author: Andy Clark, IBM

UNKNOWN:

Field Summary
protected UniqueOrKeyfKey
The key (or unique) being referred to.
Constructor Summary
KeyRef(String namespace, String identityConstraintName, String elemName, UniqueOrKey key)
Constructs a keyref with the specified name.
Method Summary
UniqueOrKeygetKey()
Returns the key being referred to.
XSIDCDefinitiongetRefKey()
{referenced key} Required if {identity-constraint category} is keyref, forbidden otherwise.

Field Detail

fKey

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

Constructor Detail

KeyRef

public KeyRef(String namespace, String identityConstraintName, String elemName, UniqueOrKey key)
Constructs a keyref with the specified name.

Method Detail

getKey

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

getRefKey

public XSIDCDefinition getRefKey()
{referenced key} Required if {identity-constraint category} is keyref, forbidden otherwise. An identity-constraint definition with {identity-constraint category} equal to key or unique.
Copyright © 1999-2005 Apache XML Project. All Rights Reserved.