| Modifier and Type | Field and Description |
|---|---|
| private static final Map | |
| private static final Pattern | HTML_ENTITY_PATTERN
This regex matches '&' that DO NOT BEGIN an HTML entity. |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | format(String
The text to layout. inField)Implements org. Failure Mode: Formatters should be robust in the sense that they always return some relevant string. |
| private String | |
| private String | |
| public void | setArgument(String
A String argument. arg)Implements org. Method for setting the argument of this formatter. |
| HTML_CHARS | back to summary |
|---|---|
| private static final Map<String, String> HTML_CHARS | |
| HTML_ENTITY_PATTERN | back to summary |
|---|---|
| private static final Pattern HTML_ENTITY_PATTERN This regex matches '&' that DO NOT BEGIN an HTML entity.
& Not Matched | |
| keepCurlyBraces | back to summary |
|---|---|
| private boolean keepCurlyBraces | |
| HTMLChars | back to summary |
|---|---|
| public HTMLChars() | |
| format | back to summary |
|---|---|
| public String format(String inField) Implements org. Doc from org. Failure Mode: Formatters should be robust in the sense that they always return some relevant string. If the formatter can detect an invalid input it should return the original string otherwise it may simply return a wrong output. | |
| getHTMLTag | back to summary |
|---|---|
| private String getHTMLTag(String latexCommand) | |
| normalizedField | back to summary |
|---|---|
| private String normalizedField(String inField) | |
| setArgument | back to summary |
|---|---|
| public void setArgument(String arg) Implements org. Doc from org. Method for setting the argument of this formatter. | |