|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.uhn.hl7v2.model.primitive.FormattedTextEncoder
public class FormattedTextEncoder
Provides methods to convert between HL7 Formatted Text encoding (See Chapter 2.7) and other encoding schemes.
Note that this class is not threadsafe! Always use a new instance (from a factory method) for each invocation.
AbstractTextPrimitive| Method Summary | |
|---|---|
String |
encode(String theInput)
Convert the input string containing FT encoding strings (\.br\, \.sp XX\, etc.) into the appropriate output type for this encoder (currently HTML) |
static FormattedTextEncoder |
getInstanceHtml()
Returns a newly created instance which uses standard HTML encoding. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public String encode(String theInput)
theInput - The input string
public static FormattedTextEncoder getInstanceHtml()
for a description of the
encoding performed by this type of encoder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||