public final class FragmentContentExtractor extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
abbreviate(String content)
Abbreviate fragment content.
|
static String |
unwrapContent(Fragment fragment)
Extracts pure markup from the given
Fragment's content removing a script tag with
Knot.x specific data. |
static org.jsoup.nodes.Element |
unwrapContent(String content)
Extracts pure markup from the given markup.
|
static org.jsoup.nodes.Element |
unwrapFragmentContent(Fragment fragment)
Extracts pure markup from the given
Fragment's content removing a script tag with
Knot.x specific data. |
public static String unwrapContent(Fragment fragment)
Fragment's content removing a script tag with
Knot.x specific data.fragment - that content will be unwrapped.public static org.jsoup.nodes.Element unwrapContent(String content)
content - markup that contains Knotx processing instructions.Element.public static org.jsoup.nodes.Element unwrapFragmentContent(Fragment fragment)
Fragment's content removing a script tag with
Knot.x specific data.fragment - that content will be unwrapped.Element.Copyright © 2016–2020. All rights reserved.