eu.esdihumboldt.hale.io.xsd.reader.internal.constraint
Class UnionValidationConstraint
java.lang.Object
eu.esdihumboldt.hale.common.schema.model.constraint.type.ValidationConstraint
eu.esdihumboldt.hale.io.xsd.reader.internal.constraint.UnionValidationConstraint
- All Implemented Interfaces:
- TypeConstraint
public class UnionValidationConstraint
- extends ValidationConstraint
Validation constraint for type unions.
- Author:
- Kai Schwierczek
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnionValidationConstraint
public UnionValidationConstraint(Collection<? extends TypeDefinition> unionTypes)
- Create a type union validation constraint.
- Parameters:
unionTypes
- the definitions of the types contained in the union
getValidator
public Validator getValidator()
- Description copied from class:
ValidationConstraint
- Returns the validator for this constraint.
- Overrides:
getValidator
in class ValidationConstraint
- Returns:
- the validator for this constraint
- See Also:
ValidationConstraint.getValidator()
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d