Package org.apache.xmlbeans.impl.common
Class IdentityConstraint
java.lang.Object
org.apache.xmlbeans.impl.common.IdentityConstraint
Identity constraint engine. Performs streaming validation of identity constraints.
This includes key, keyref and unique, as well as ID and IDRef.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclassclassclassclassclass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidattr(ValidatorListener.Event e, QName name, SchemaType st, String value) voidelement(ValidatorListener.Event e, SchemaType st, SchemaIdentityConstraint[] ics) voidstatic 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
-
IdentityConstraint
-
-
Method Details
-
element
-
endElement
-
attr
-
text
-
isValid
public boolean isValid() -
errorForEvent
public static XmlError errorForEvent(String code, Object[] args, int severity, ValidatorListener.Event event) -
errorForEvent
-