org.apache.xerces.impl.xs.identity

Class UniqueOrKey

Implemented Interfaces:
org.apache.xerces.xs.XSIDCDefinition

public class UniqueOrKey
extends IdentityConstraint

Schema unique or key identity constraint. These two kinds of identity constraint have been combined to save the creation of a separate Vector object for any element that has both. A short int is used to distinguish which this object is.
Version:
$Id: UniqueOrKey.java 320098 2004-10-06 15:14:55Z mrglavas $
Author:
Andy Clark, IBM

Field Summary

Fields inherited from class org.apache.xerces.impl.xs.identity.IdentityConstraint

fAnnotations, fElementName, fFieldCount, fFields, fIdentityConstraintName, fNamespace, fNumAnnotations, fSelector, type

Fields inherited from interface org.apache.xerces.xs.XSIDCDefinition

IC_KEY, IC_KEYREF, IC_UNIQUE

Constructor Summary

UniqueOrKey(String namespace, String identityConstraintName, String elemName, short type)
Constructs a unique or a key identity constraint.

Method Summary

Methods inherited from class org.apache.xerces.impl.xs.identity.IdentityConstraint

addAnnotation, addField, equals, getAnnotations, getCategory, getElementName, getFieldAt, getFieldCount, getFieldStrs, getIdentityConstraintName, getName, getNamespace, getNamespaceItem, getRefKey, getSelector, getSelectorStr, getType, setSelector, toString

Constructor Details

UniqueOrKey

public UniqueOrKey(String namespace,
                   String identityConstraintName,
                   String elemName,
                   short type)
Constructs a unique or a key identity constraint.

Copyright B) 1999-2006 The Apache Software Foundation. All Rights Reserved.