Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.io.xsd.reader.internal.constraint
Class UnionValidationConstraint

java.lang.Object
  extended by eu.esdihumboldt.hale.common.schema.model.constraint.type.ValidationConstraint
      extended by 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

Constructor Summary
UnionValidationConstraint(Collection<? extends TypeDefinition> unionTypes)
          Create a type union validation constraint.
 
Method Summary
 Validator getValidator()
          Returns the validator for this constraint.
 
Methods inherited from class eu.esdihumboldt.hale.common.schema.model.constraint.type.ValidationConstraint
isInheritable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnionValidationConstraint

public UnionValidationConstraint(Collection<? extends TypeDefinition> unionTypes)
Create a type union validation constraint.

Parameters:
unionTypes - the definitions of the types contained in the union
Method Detail

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()

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d