Package org.apache.xmlbeans.impl.common
Class IdentityConstraint
java.lang.Object
org.apache.xmlbeans.impl.common.IdentityConstraint
public class IdentityConstraint extends Object
Identity constraint engine. Performs streaming validation of identity constraints.
 This includes key, keyref, & unique, as well as ID & IDRef.
- 
Nested Class SummaryNested Classes Modifier and Type Class Description classIdentityConstraint.ConstraintStateclassIdentityConstraint.FieldStateclassIdentityConstraint.IdRefStateclassIdentityConstraint.IdStateclassIdentityConstraint.KeyrefStateclassIdentityConstraint.SelectorState
- 
Constructor SummaryConstructors Constructor Description IdentityConstraint(Collection errorListener, boolean trackIdrefs)
- 
Method SummaryModifier and Type Method Description voidattr(ValidatorListener.Event e, QName name, SchemaType st, String value)voidelement(ValidatorListener.Event e, SchemaType st, SchemaIdentityConstraint[] ics)voidendElement(ValidatorListener.Event e)static XmlErrorerrorForEvent(String msg, int severity, ValidatorListener.Event event)static XmlErrorerrorForEvent(String code, Object[] args, int severity, ValidatorListener.Event event)booleanisValid()voidtext(ValidatorListener.Event e, SchemaType st, String value, boolean emptyContent)
- 
Constructor Details
- 
Method Details- 
element
- 
endElement
- 
attr
- 
text
- 
isValidpublic boolean isValid()
- 
errorForEventpublic static XmlError errorForEvent(String code, Object[] args, int severity, ValidatorListener.Event event)
- 
errorForEvent
 
-