T - type of componentpublic class SnippetComponent<T extends SnippetComponent<T>> extends Component<T>
| Constructor and Description |
|---|
SnippetComponent(org.jsoup.nodes.Element element,
ComponentToken.Type type) |
| Modifier and Type | Method and Description |
|---|---|
static SnippetComponent<?> |
createSnippet(org.jsoup.nodes.Element element,
Component<?> parent,
ComponentToken.Type type) |
protected SnippetComponent<?> |
getRootParent() |
ComponentToken.Type |
getType() |
void |
render(SnippetContext context)
|
addAttribute, addAttributes, addChild, createComponent, get, getAttrs, getChildren, getChildren, getElement, getHtml, getName, getOwnHtml, getParent, isHtmlTag, self, toString, withParentpublic SnippetComponent(@Nonnull org.jsoup.nodes.Element element, @Nonnull ComponentToken.Type type)
element - type - @Nonnull public static SnippetComponent<?> createSnippet(@Nonnull org.jsoup.nodes.Element element, Component<?> parent, ComponentToken.Type type)
@Nonnull public ComponentToken.Type getType()
protected SnippetComponent<?> getRootParent()
getRootParent in class Component<T extends SnippetComponent<T>>public void render(SnippetContext context)
context - the snippet context to useCopyright © 2012–2023 Friederich Christophe. All rights reserved.