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
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.
IdentityConstraint
public IdentityConstraint(String namespaceURI,
String localName,
XPath[] selectors,
Field[] fields)