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
,javax.xml.transform.SourceLocator
,Location
,SchemaComponent
,org.xml.sax.Locator
public class Key extends IdentityConstraint
A class that represents the XML Schema Identity Constraint: Key.
-
-
Constructor Summary
Constructors Constructor Description Key()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getConstraintCategory()
The 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
-
-
-
-
Method Detail
-
getConstraintCategory
public java.lang.String 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)
-
-