Class CustomModelClassFactory

java.lang.Object
ca.uhn.hl7v2.parser.AbstractModelClassFactory
ca.uhn.hl7v2.parser.CustomModelClassFactory
All Implemented Interfaces:
ModelClassFactory, Serializable

ModelClassFactory which allows custom packages to search to be specified. These packages will be searched first, and if nothing is found for a particular structure, a delegate ModelClassFactory (by default DefaultModelClassFactory) is used.

Also, a custom event map location is supported (by setting AbstractModelClassFactory.setEventMapDirectory(String) in a way that only new or modified structures needs to be defined there. If no structure was found, the event map of the delegate ModelClassFactory serves as fallback.

Since:
1.0
Author:
Christian Ohr, James Agnew
See Also: