Free Trial - Stylus Studio, The World's Best XML IDE!


com.saxonica.schema
Class Unique

java.lang.Object
  |
  +--com.saxonica.schema.SchemaElement
        |
        +--com.saxonica.schema.IdentityConstraint
              |
              +--com.saxonica.schema.Unique
All Implemented Interfaces:
java.io.Serializable, javax.xml.transform.SourceLocator

public class Unique
extends IdentityConstraint

A class that represents the XML Schema Identity Constraint: Unique.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.saxonica.schema.SchemaElement
ANNOTATION, ANYTYPE, APPINFO, ATTRIBUTE, ATTRIBUTE_GROUP, COMPLEX_CONTENT, COMPLEX_TYPE, COMPOSITOR, DOCUMENTATION, ELEMENT, FACET, GROUP, IDENTITY_FIELD, IDENTITY_SELECTOR, KEY, KEYREF, LIST, REDEFINE, SCHEMA, SIMPLE_CONTENT, SIMPLE_TYPE, UNION, UNIQUE, UNKNOWN, WILDCARD_ATTRIBUTE, WILDCARD_ELEMENT
 
Constructor Summary
Unique(java.lang.String name)
          Creates a new Unique Identity-Constraint.
 
Method Summary
 short getStructureType()
          Returns the type of this Schema Structure
 
Methods inherited from class com.saxonica.schema.IdentityConstraint
addField, getFields, getFingerprint, getId, getName, getSchema, getSelector, iterateFields, setFingerprint, setId, setName, setSchema, setSelector, validate
 
Methods inherited from class com.saxonica.schema.SchemaElement
getColumnNumber, getLineNumber, getPublicId, getSystemId, setLocator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Unique

public Unique(java.lang.String name)
       throws SchemaException
Creates a new Unique Identity-Constraint.

Parameters:
name - the name for the IdentityConstraint. Must not be null.
Method Detail

getStructureType

public short getStructureType()
Returns the type of this Schema Structure

Specified by:
getStructureType in class IdentityConstraint
Returns:
the type of this Schema Structure


Stylus Studio features integrated development and debugging support for Saxon in the XQuery editor and XSLT editor.