com.sun.msv.grammar.xmlschema

Class IdentityConstraint

Implemented Interfaces:
Serializable
Known Direct 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)

Field Details

fields

public final Field[] fields
fields of this constraint.

localName

public final String localName
local name of the identity constraint.

namespaceURI

public final String namespaceURI
namespace URI of the identity constraint.

selectors

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

Constructor Details

IdentityConstraint

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