public final class OutputTools
extends java.lang.Object
Constructor and Description |
---|
OutputTools() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getContentFromXML(java.lang.String stg)
Gets the content from XML by stripping all XML tags.
|
static java.lang.String |
htmlEncode(java.lang.String text)
Convert a plain text string into HTML.
|
static java.lang.String |
xmlToHtml(java.lang.String stg)
Provides HTML encoding for XML resulting in text that looks good in a Web
browser.
|
static java.lang.String |
xmlToHtmlIndent(java.lang.String stg)
Provides HTML encoding for XML resulting in text that looks good in a Web
browser.
|
public static final java.lang.String xmlToHtml(java.lang.String stg)
stg
- The string to convert.public static final java.lang.String getContentFromXML(java.lang.String stg)
XMLConversionService.getContentFromXML(String)
.stg
- An XML String.public static final java.lang.String xmlToHtmlIndent(java.lang.String stg)
Note: This method still needs some work.
stg
- The string to convert.public static final java.lang.String htmlEncode(java.lang.String text)
text
- The original text.