public class CustomHL7MLLPCodec
extends org.apache.camel.component.hl7.HL7MLLPCodec
HapiContext, e.g. to use some other
 ModelClassFactory. Also allows to set error handling in case of
 malformed input.
 | Constructor and Description | 
|---|
CustomHL7MLLPCodec()  | 
| Modifier and Type | Method and Description | 
|---|---|
Charset | 
getCharset()  | 
org.apache.mina.filter.codec.ProtocolDecoder | 
getDecoder(org.apache.mina.core.session.IoSession session)  | 
org.apache.mina.filter.codec.ProtocolEncoder | 
getEncoder(org.apache.mina.core.session.IoSession session)  | 
char | 
getEndByte1()  | 
char | 
getEndByte2()  | 
ca.uhn.hl7v2.HapiContext | 
getHapiContext()  | 
char | 
getStartByte()  | 
boolean | 
isConvertLFtoCR()  | 
boolean | 
isProduceString()  | 
boolean | 
isValidate()  | 
void | 
setCharset(Charset charset)  | 
void | 
setCharset(String charsetName)  | 
void | 
setConvertLFtoCR(boolean convertLFtoCR)  | 
void | 
setEndByte1(char endByte1)  | 
void | 
setEndByte2(char endByte2)  | 
void | 
setHapiContext(ca.uhn.hl7v2.HapiContext context)  | 
void | 
setMalformedInputErrorAction(CodingErrorAction action)  | 
void | 
setMalformedInputErrorAction(String action)  | 
void | 
setProduceString(boolean apply)  | 
void | 
setStartByte(char startByte)  | 
void | 
setUnmappableCharacterErrorAction(CodingErrorAction action)  | 
void | 
setUnmappableCharacterErrorAction(String action)  | 
void | 
setValidate(boolean validate)  | 
public org.apache.mina.filter.codec.ProtocolDecoder getDecoder(org.apache.mina.core.session.IoSession session)
                                                        throws Exception
getDecoder in interface org.apache.mina.filter.codec.ProtocolCodecFactorygetDecoder in class org.apache.camel.component.hl7.HL7MLLPCodecExceptionpublic org.apache.mina.filter.codec.ProtocolEncoder getEncoder(org.apache.mina.core.session.IoSession session)
                                                        throws Exception
getEncoder in interface org.apache.mina.filter.codec.ProtocolCodecFactorygetEncoder in class org.apache.camel.component.hl7.HL7MLLPCodecExceptionpublic void setHapiContext(ca.uhn.hl7v2.HapiContext context)
public ca.uhn.hl7v2.HapiContext getHapiContext()
public void setCharset(Charset charset)
setCharset in class org.apache.camel.component.hl7.HL7MLLPCodecpublic void setCharset(String charsetName)
setCharset in class org.apache.camel.component.hl7.HL7MLLPCodecpublic Charset getCharset()
getCharset in class org.apache.camel.component.hl7.HL7MLLPCodecpublic boolean isConvertLFtoCR()
isConvertLFtoCR in class org.apache.camel.component.hl7.HL7MLLPCodecpublic void setConvertLFtoCR(boolean convertLFtoCR)
setConvertLFtoCR in class org.apache.camel.component.hl7.HL7MLLPCodecpublic char getStartByte()
getStartByte in class org.apache.camel.component.hl7.HL7MLLPCodecpublic void setStartByte(char startByte)
setStartByte in class org.apache.camel.component.hl7.HL7MLLPCodecpublic char getEndByte1()
getEndByte1 in class org.apache.camel.component.hl7.HL7MLLPCodecpublic void setEndByte1(char endByte1)
setEndByte1 in class org.apache.camel.component.hl7.HL7MLLPCodecpublic char getEndByte2()
getEndByte2 in class org.apache.camel.component.hl7.HL7MLLPCodecpublic void setEndByte2(char endByte2)
setEndByte2 in class org.apache.camel.component.hl7.HL7MLLPCodecpublic boolean isValidate()
isValidate in class org.apache.camel.component.hl7.HL7MLLPCodecpublic void setValidate(boolean validate)
setValidate in class org.apache.camel.component.hl7.HL7MLLPCodecpublic boolean isProduceString()
isProduceString in class org.apache.camel.component.hl7.HL7MLLPCodecpublic void setProduceString(boolean apply)
setProduceString in class org.apache.camel.component.hl7.HL7MLLPCodecpublic void setUnmappableCharacterErrorAction(CodingErrorAction action)
public void setMalformedInputErrorAction(CodingErrorAction action)
public void setUnmappableCharacterErrorAction(String action)
public void setMalformedInputErrorAction(String action)
Copyright © 2018 Open eHealth Foundation. All rights reserved.