com.sun.msv.grammar.xmlschema
Class IdentityConstraint

java.lang.Object
  |
  +--com.sun.msv.grammar.xmlschema.IdentityConstraint
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
KeyConstraint, KeyRefConstraint, UniqueConstraint

public class IdentityConstraint
extends Object
implements Serializable

represents an identity constraint.

Author:
Kohsuke KAWAGUCHI
See Also:
Serialized Form

Field Summary
 Field[] fields
          fields of this constraint.
 String localName
          local name of the identity constraint.
 String namespaceURI
          namespace URI of the identity constraint.
 XPath[] selectors
          selectors of the identity constraint.
 
Constructor Summary
IdentityConstraint(String namespaceURI, String localName, XPath[] selectors, Field[] fields)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

selectors

public final XPath[] selectors
selectors of the identity constraint. each XPath separated by '|' will be treated as one entity.

namespaceURI

public final String namespaceURI
namespace URI of the identity constraint.

localName

public final String localName
local name of the identity constraint.

fields

public final Field[] fields
fields of this constraint.
Constructor Detail

IdentityConstraint

public IdentityConstraint(String namespaceURI,
                          String localName,
                          XPath[] selectors,
                          Field[] fields)