@API(status=STABLE)
public class PresentationMLParser
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getTextContent(java.lang.String presentationML)
Get trimmed text content from PresentationML
|
static java.lang.String |
getTextContent(java.lang.String presentationML,
java.lang.Boolean trim)
Get text content from PresentationML
|
public static java.lang.String getTextContent(java.lang.String presentationML, java.lang.Boolean trim) throws PresentationMLParserException
presentationML
- the PresentationML to be parsedtrim
- flag if we want to trim the text resultPresentationMLParserException
public static java.lang.String getTextContent(java.lang.String presentationML) throws PresentationMLParserException
presentationML
- the PresentationML to be parsedPresentationMLParserException