Class AbstractEncodingRule

java.lang.Object
ca.uhn.hl7v2.validation.impl.RuleSupport<String>
ca.uhn.hl7v2.validation.impl.AbstractEncodingRule
All Implemented Interfaces:
EncodingRule, Rule<String>, Serializable
Direct Known Subclasses:
XMLSchemaRule

public abstract class AbstractEncodingRule extends RuleSupport<String> implements EncodingRule
Abstract base class for encoding rules
Author:
Christian Ohr
See Also:
  • Constructor Details

  • Method Details

    • test

      public ValidationException[] test(String value)
      Description copied from interface: EncodingRule
      Tests the given encoded message text against the criteria defined by this rule class.
      Specified by:
      test in interface EncodingRule
      Returns:
      a list of exceptions indicating points at which the given message failed to validate (empty if validation succeeds; may not be a complete list as testing may be aborted after failure).