Source of ValidationContext.
The ValidationContext returned by getContext() is determined by the system property "ca.uhn.hl7v2.validation.context_class". This factory defines two inner classes that can be used: DefaultValidation and NoValidation. You can also create your own context, setting whatever rules you want in its constructor, and reference it instead (it must have a zero-arg constructor). If this property is not set, DefaultValidation is used.
Also note that the contexts provided here extend ValidationContextImpl, so rule bindings can be added or removed programmatically from the starting set.
@author
Bryan Tripp
@version $Revision: 1.1 $ updated on $Date: 2007-02-19 02:24:40 $ by $Author: jamesagnew $