Class ConformanceProfileRule

All Implemented Interfaces:
MessageRule, Rule<Message>, Serializable

A MessageRule that checks conformance to message profiles. Messages can either be tested against the profiles they declare, or against a pre-defined profile. If you want both, use two ConformanceProfileRules.
Version:
$Revision: 1.1 $ updated on $Date: 2007-02-19 02:24:40 $ by $Author: jamesagnew $
Author:
Bryan Tripp
See Also:
  • Constructor Details

    • ConformanceProfileRule

      Creates an instance that tests messages against whatever profiles they declare in MSH-21. The ID declared in MSH-21 is evaluated in a way that the corresponding profile file is expected to be BASEDIR/profiles/ID.xml.
    • ConformanceProfileRule

      public ConformanceProfileRule(String theProfileID)
      Parameters:
      theProfileID - the ID of a constant profile against which to test all messages (instead of the profiles they declare in MSH-21). The ID is evaluated in a way that the corresponding profile file is expected to be BASEDIR/profiles/ID.xml.
  • Method Details