Package com.saxonica.ee.schema
Class Key
java.lang.Object
com.saxonica.ee.schema.SchemaStructure
com.saxonica.ee.schema.IdentityConstraint
com.saxonica.ee.schema.Key
- All Implemented Interfaces:
SerializableSchemaComponent
,UserSchemaComponent
,SourceLocator
,Location
,SchemaComponent
,Locator
A class that represents the XML Schema Identity Constraint: Key.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe type of constraint: one of "key", "unique", or "keyref"Methods inherited from class com.saxonica.ee.schema.IdentityConstraint
addField, elaborate, fixup, getComponentAsFunction, getConstraintName, getFields, getName, getSelector, getTargetNamespace, isOrdered, isSameDeclaration, serialize, setConstraintName, setOrdered, setSelector, typeCheck, validate
Methods inherited from class com.saxonica.ee.schema.SchemaStructure
getColumnNumber, getConfiguration, getFixupStatus, getGeneratedId, getLineNumber, getPublicId, getRedefinitionLevel, getSchemaDocumentURI, getSystemId, getValidationStatus, hasSameLocation, isValidationNeeded, lookForCycles, makeXPathExpressionPropertyRecord, saveLocation, setConfiguration, setFixupStatus, setGeneratedId, setLineNumber, setLocator, setRedefinitionLevel, setSchemaDocumentURI, setSystemId, setValidationStatus
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.sf.saxon.type.SchemaComponent
getRedefinitionLevel, getValidationStatus
Methods inherited from interface com.saxonica.ee.schema.UserSchemaComponent
lookForCycles
-
Constructor Details
-
Key
public Key()
-
-
Method Details
-
getConstraintCategory
Description copied from class:IdentityConstraint
The type of constraint: one of "key", "unique", or "keyref"- Specified by:
getConstraintCategory
in classIdentityConstraint
- Returns:
- one of "key", "unique", or "keyref" (note the spelling)
-