Package | Description |
---|---|
ca.uhn.hl7v2 | |
ca.uhn.hl7v2.model | |
ca.uhn.hl7v2.parser | |
ca.uhn.hl7v2.util |
Modifier and Type | Method and Description |
---|---|
ModelClassFactory |
DefaultHapiContext.getModelClassFactory() |
ModelClassFactory |
HapiContext.getModelClassFactory() |
Modifier and Type | Method and Description |
---|---|
GenericMessage |
Version.newGenericMessage(ModelClassFactory mcf)
Construct and return a new
GenericMessage for the given version |
void |
DefaultHapiContext.setModelClassFactory(ModelClassFactory modelClassFactory) |
void |
HapiContext.setModelClassFactory(ModelClassFactory modelClassFactory) |
Constructor and Description |
---|
DefaultHapiContext(ModelClassFactory modelClassFactory) |
DefaultHapiContext(ParserConfiguration parserConfiguration,
ValidationContext validationContext,
ModelClassFactory modelClassFactory) |
DefaultHapiContext(ParserConfiguration parserConfiguration,
ValidationRuleBuilder builder,
ModelClassFactory modelClassFactory) |
Modifier and Type | Method and Description |
---|---|
ModelClassFactory |
AbstractGroup.getModelClassFactory()
Returns the
ModelClassFactory associated with this structure |
Modifier and Type | Method and Description |
---|---|
static void |
Varies.fixOBX5(Segment segment,
ModelClassFactory factory)
Deprecated.
use FixOBX5#fixOBX5
|
static void |
Varies.fixOBX5(Segment segment,
ModelClassFactory factory,
ParserConfiguration parserConfiguration)
Deprecated.
use FixOBX5#fixOBX5
|
Constructor and Description |
---|
AbstractGroup(Group parent,
ModelClassFactory factory)
This constructor should be used by implementing classes that do not also implement Message.
|
AbstractMessage(ModelClassFactory theFactory) |
AbstractSegment(Group parent,
ModelClassFactory factory)
Calls the abstract init() method to create the fields in this segment.
|
AbstractSuperMessage(ModelClassFactory theFactory)
Constructor
|
GenericGroup(Group parent,
String name,
ModelClassFactory factory)
Creates a generic group
|
GenericMessage(ModelClassFactory factory)
Creates a new instance of GenericMessage.
|
UnknownVersion(ModelClassFactory factory) |
V21(ModelClassFactory factory) |
V22(ModelClassFactory factory) |
V23(ModelClassFactory factory) |
V231(ModelClassFactory factory) |
V24(ModelClassFactory factory) |
V25(ModelClassFactory factory) |
V251(ModelClassFactory factory) |
V26(ModelClassFactory factory) |
V27(ModelClassFactory factory) |
V271(ModelClassFactory factory) |
V28(ModelClassFactory factory) |
V281(ModelClassFactory factory) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractModelClassFactory
Abstract base class for
ModelClassFactory implementations that read event maps from the
file system. |
class |
CanonicalModelClassFactory
Specialized version of ModelClassFactory that always returns the same version
or even structure.
|
class |
CustomModelClassFactory
ModelClassFactory which allows custom packages to search to be specified.
|
class |
DefaultModelClassFactory
Default implementation of ModelClassFactory.
|
class |
GenericModelClassFactory
GenericModelClassFactory is a
ModelClassFactory implementation
which always returns generic types: |
Modifier and Type | Method and Description |
---|---|
ModelClassFactory |
Parser.getFactory() |
Modifier and Type | Method and Description |
---|---|
static void |
FixFieldDataType.fix(Segment segment,
int typeField,
int dataField,
String defaultType,
String invalidType,
ModelClassFactory factory,
ParserConfiguration parserConfiguration)
A more generic version of the task of adapting a varies field to a given type
|
static void |
FixFieldDataType.fixMFE4(Segment segment,
ModelClassFactory factory,
ParserConfiguration parserConfiguration) |
static void |
FixFieldDataType.fixOBX5(Segment segment,
ModelClassFactory factory,
ParserConfiguration parserConfiguration)
Sets the data type of field 5 in the given OBX segment to the value of OBX-2.
|
static Segment |
Parser.makeControlMSH(String version,
ModelClassFactory factory)
Creates a version-specific MSH object and returns it as a
version-independent MSH interface.
|
Constructor and Description |
---|
CustomModelClassFactory(ModelClassFactory defaultFactory,
Map<String,String[]> map)
Set an explicit
ModelClassFactory is underlying delegate |
DefaultXMLParser(ModelClassFactory theFactory)
Creates a new instance of DefaultXMLParser
|
GenericParser(ModelClassFactory theFactory)
Creates a new instance of GenericParser
|
Parser(ModelClassFactory modelClassFactory)
Initialize parser with custom ModelClassFactory and default ValidationContext
|
PipeParser(ModelClassFactory theFactory)
Creates a new PipeParser
|
XMLParser(ModelClassFactory theFactory)
Constructor
|
Modifier and Type | Method and Description |
---|---|
static <T extends Message> |
ReflectionUtil.instantiateMessage(Class<T> theType,
ModelClassFactory theModelClassFactory) |
static <T extends Structure> |
ReflectionUtil.instantiateStructure(Class<T> theType,
Group parent,
ModelClassFactory theModelClassFactory) |
Copyright © 2001–2017 University Health Network. All rights reserved.