public class HtmlSimpleEntityParser extends AbstractParser
HtmlSimpleEntityParser is an implementation of AbstractParser created for html
entities like & nbsp; .end, name, start| Constructor and Description |
|---|
HtmlSimpleEntityParser() |
| Modifier and Type | Method and Description |
|---|---|
AbstractNode |
createNode(String start,
String end,
String text,
Translator translator)
Create
AbstractNode instance from a given text |
String |
getEndExpression(String start) |
String |
getStartEndExpression()
return the same result as
getStartExpression method. |
String |
getStartExpression() |
public AbstractNode createNode(String start, String end, String text, Translator translator)
AbstractParserAbstractNode instance from a given textcreateNode in class AbstractParserstart - is a String that was found when searching for a start of text that should be used to create nodeend - is a String that was found when searching for a end of text that should be used to create nodetext - text is whole text that was between start and end Stringstranslator - reference to Translator that would be used to search for sub tags in given texttext)public String getEndExpression(String start)
getEndExpression in class AbstractParserpublic String getStartEndExpression()
getStartExpression method. There is no separate closing tag, string that
was found as beginning always should be considered as a finish for text from which node would be createdgetStartEndExpression in class AbstractParserpublic String getStartExpression()
getStartExpression in class AbstractParserCopyright © 2017 SAP SE. All Rights Reserved.