com.sun.msv.grammar.xmlschema

Class IdentityConstraint

public class IdentityConstraint extends Object implements Serializable

represents an identity constraint.

Author: Kohsuke KAWAGUCHI

Field Summary
Field[]fields
fields of this constraint.
StringlocalName
local name of the identity constraint.
StringnamespaceURI
namespace URI of the identity constraint.
XPath[]selectors
selectors of the identity constraint. each XPath separated by '|' will be treated as one entity.
Constructor Summary
IdentityConstraint(String namespaceURI, String localName, XPath[] selectors, Field[] fields)

Field Detail

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 Detail

IdentityConstraint

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