public class

KeyRef

extends IdentityConstraint
java.lang.Object
   ↳ org.apache.xerces.impl.xs.identity.IdentityConstraint
     ↳ org.apache.xerces.impl.xs.identity.KeyRef

Class Overview

Schema key reference identity constraint.

Summary

[Expand]
Inherited Constants
From interface org.apache.xerces.xs.XSIDCDefinition
Fields
protected UniqueOrKey fKey The key (or unique) being referred to.
[Expand]
Inherited Fields
From class org.apache.xerces.impl.xs.identity.IdentityConstraint
Public Constructors
KeyRef(String namespace, String identityConstraintName, String elemName, UniqueOrKey key)
Constructs a keyref with the specified name.
Public Methods
UniqueOrKey getKey()
Returns the key being referred to.
XSIDCDefinition getRefKey()
{referenced key} Required if {identity-constraint category} is keyref, forbidden otherwise.
[Expand]
Inherited Methods
From class org.apache.xerces.impl.xs.identity.IdentityConstraint
From class java.lang.Object
From interface org.apache.xerces.xs.XSIDCDefinition
From interface org.apache.xerces.xs.XSObject

Fields

protected UniqueOrKey fKey

The key (or unique) being referred to.

Public Constructors

public KeyRef (String namespace, String identityConstraintName, String elemName, UniqueOrKey key)

Constructs a keyref with the specified name.

Public Methods

public UniqueOrKey getKey ()

Returns the key being referred to.

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.