Top Description Fields Methods
org.apache.xerces.xs

public Interface XSIDCDefinition

extends XSObject
Known Direct Implementers
org.apache.xerces.impl.xs.identity.IdentityConstraint

This interface represents the Identity-constraint Definition schema component.

Field Summary

Modifier and TypeField and Description
public static final short
IC_KEY

See the definition of key in the identity-constraint category.

public static final short
IC_KEYREF

See the definition of keyref in the identity-constraint category.

public static final short
IC_UNIQUE

See the definition of unique in the identity-constraint category.

Method Summary

Modifier and TypeMethod and Description
public XSObjectList
getAnnotations()

A sequence of [annotations] or an empty XSObjectList.

public short
getCategory()

[identity-constraint category]: one of key, keyref or unique.

public StringList
getFieldStrs()

[fields]: a non-empty list of restricted XPath 1.0 expressions.

public XSIDCDefinition
getRefKey()

[referenced key]: required if [identity-constraint category] is keyref, null otherwise.

public String
getSelectorStr()

[selector]: a restricted XPath 1.0 expression.

Inherited from org.apache.xerces.xs.XSObject:
getNamegetNamespacegetNamespaceItemgetType

Field Detail

IC_KEYback to summary
public static final short IC_KEY

See the definition of key in the identity-constraint category.

IC_KEYREFback to summary
public static final short IC_KEYREF

See the definition of keyref in the identity-constraint category.

IC_UNIQUEback to summary
public static final short IC_UNIQUE

See the definition of unique in the identity-constraint category.

Method Detail

getAnnotationsback to summary
public XSObjectList getAnnotations()

A sequence of [annotations] or an empty XSObjectList.

getCategoryback to summary
public short getCategory()

[identity-constraint category]: one of key, keyref or unique.

getFieldStrsback to summary
public StringList getFieldStrs()

[fields]: a non-empty list of restricted XPath 1.0 expressions.

getRefKeyback to summary
public XSIDCDefinition getRefKey()

[referenced key]: required if [identity-constraint category] is keyref, null otherwise. An identity-constraint definition with [ identity-constraint category] equal to key or unique.

getSelectorStrback to summary
public String getSelectorStr()

[selector]: a restricted XPath 1.0 expression.