public abstract class AbstractTextPrimitive extends AbstractPrimitive
| Constructor and Description |
|---|
AbstractTextPrimitive(Message theMessage)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getValueAsHtml()
Returns the value of this type with HL7 defined formatting codes replaced
by their HTML equivalent.
|
clear, encode, getValue, parse, setValue, toStringgetExtraComponents, getMessage, getNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetExtraComponents, getMessage, getNamepublic AbstractTextPrimitive(Message theMessage)
public String getValueAsHtml()
Returns the value of this type with HL7 defined formatting codes replaced by their HTML equivalent.
For example, if this type contained the string:
ABC \.ce\MIDDLE\.br\
ABC <center>MIDDLE<center><br>
The following codes are handled (note that contrary to the HL7 specification, codes are interpreted in a case-insensitive manner):
Note that the returned value from this method is an HTML snippet, not a complete HTML document.
Copyright © 2001-2012 University Health Network. All Rights Reserved.