Package ca.uhn.hl7v2.validation.impl
Class AbstractEncodingRule
- All Implemented Interfaces:
EncodingRule,Rule<String>,Serializable
- Direct Known Subclasses:
XMLSchemaRule
Abstract base class for encoding rules
- Author:
- Christian Ohr
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTests the given encoded message text against the criteria defined by this rule class.Methods inherited from class ca.uhn.hl7v2.validation.impl.RuleSupport
failed, failed, failed, failed, failedWithValue, getDescription, getErrorCode, getSectionReference, getSeverity, passed, result, result, setDescription, setErrorCode, setSectionReference, setSeverityMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ca.uhn.hl7v2.validation.Rule
apply, getDescription, getSectionReference
-
Constructor Details
-
AbstractEncodingRule
public AbstractEncodingRule()
-
-
Method Details
-
test
Description copied from interface:EncodingRuleTests the given encoded message text against the criteria defined by this rule class.- Specified by:
testin interfaceEncodingRule- 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).
-