| Modifier and Type | Class and Description |
|---|---|
| private static enum |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static RawHtml | |
| protected static int | |
| public static RawHtml | |
| public static RawHtml | Returns: the HTMLthe name of the element name)Creates HTML for the end of an element. |
| public boolean | isEmpty()
Implements abstract jdk. Returns true if the content is empty. |
| public boolean | isPhrasingContent()
Overrides jdk. Returns true if the content is "phrasing content". |
| public static RawHtml | Returns: the HTMLthe fragment markdownOutput)Creates HTML for a fragment of Markdown output. |
| public static RawHtml | |
| private static RawHtml | |
| public static RawHtml | Returns: the HTMLthe name of the element name, Content content containing any attributes attrs, boolean whether this is a self-closing element. selfClosing)Creates HTML for the start of an element. |
| public Content | stripTags()
Overrides jdk. Returns the plain text of this content with HTML tags removed. |
| public String | toString()
Overrides jdk. Returns a string representation of the content. |
| public boolean | write(Writer out, String newline, boolean atNewline)
Implements abstract jdk. Writes content to a writer, using a given newline sequence, which should be
either |
| rawHtmlContent | back to summary |
|---|---|
| protected final String rawHtmlContent | |
| tag | back to summary |
|---|---|
| pack-priv Pattern tag | |
| RawHtml | back to summary |
|---|---|
| private RawHtml(CharSequence rawHtml) Constructor to construct a RawHtml object.
| |
| cdata | back to summary |
|---|---|
| public static RawHtml cdata(String body) Creates HTML for an HTML CDATA section.
The body will be enclosed in | |
| charCount | back to summary |
|---|---|
| protected static int charCount(CharSequence htmlText) | |
| comment | back to summary |
|---|---|
| public static RawHtml comment(String body) Creates HTML for an HTML comment.
The body will be enclosed in | |
| endElement | back to summary |
|---|---|
| public static RawHtml endElement(CharSequence name) Creates HTML for the end of an element.
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Implements abstract jdk. Doc from jdk. Returns true if the content is empty.
| |
| isPhrasingContent | back to summary |
|---|---|
| public boolean isPhrasingContent() Overrides jdk. Doc from jdk. Returns true if the content is "phrasing content". Phrasing content is content that may appear in a paragraph, such as text, or certain HTML elements.
| |
| markdown | back to summary |
|---|---|
| public static RawHtml markdown(CharSequence markdownOutput) Creates HTML for a fragment of Markdown output.
| |
| of | back to summary |
|---|---|
| public static RawHtml of(CharSequence rawHtml) Creates HTML for an arbitrary string of HTML.
The string is accepted as-is and is not validated in any way.
It should be syntactically well-formed and contain matching
| |
| section | back to summary |
|---|---|
| private static RawHtml section(String prefix, String body, String suffix) | |
| startElement | back to summary |
|---|---|
| public static RawHtml startElement(CharSequence name, Content attrs, boolean selfClosing) Creates HTML for the start of an element.
| |
| stripTags | back to summary |
|---|---|
| public Content stripTags() Overrides jdk. Doc from jdk. Returns the plain text of this content with HTML tags removed.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides jdk. Doc from jdk. Returns a string representation of the content.
Newlines are represented by
| |
| write | back to summary |
|---|---|
| public boolean write(Writer out, String newline, boolean atNewline) throws IOException Implements abstract jdk. Doc from jdk. Writes content to a writer, using a given newline sequence, which should be
either
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final RawHtml. | |
| public static final RawHtml. | |
| public static final RawHtml. | |
| public static final RawHtml. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static RawHtml. | |
| public static RawHtml. |
| ENTITY | back to summary |
|---|---|
| public static final RawHtml. | |
| STRING | back to summary |
|---|---|
| public static final RawHtml. | |
| TAG | back to summary |
|---|---|
| public static final RawHtml. | |
| TEXT | back to summary |
|---|---|
| public static final RawHtml. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static RawHtml. | |
| values | back to summary |
|---|---|
| public static RawHtml. | |