public class RichTextUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
protected static String |
doReplacement(org.jsoup.nodes.Element xhtmlBodyRoot) |
protected static org.jsoup.nodes.Element |
resolveXhtml(boolean resolveLinks,
LinkResolver linkResolver,
String contextPathToUse,
String xhtmlField) |
static String |
resolveXhtmlBody(String body,
boolean resolveLinks,
LinkResolver linkResolver,
String contextPath) |
static void |
resolveXhtmlField(XhtmlField xhtmlFields,
boolean resolveLinks,
LinkResolver linkResolver,
String contextPath)
This method takes care of:
1.
|
public static String resolveXhtmlBody(String body, boolean resolveLinks, LinkResolver linkResolver, String contextPath) throws ItemNotFoundException, SerializationException
public static void resolveXhtmlField(XhtmlField xhtmlFields, boolean resolveLinks, LinkResolver linkResolver, String contextPath) throws ItemNotFoundException, SerializationException
xhtmlFields - the DD4T Xhtml FieldresolveLinks - resolve links as well as stripping namespaceslinkResolver - a concrete link resolverItemNotFoundExceptionSerializationExceptionprotected static String doReplacement(org.jsoup.nodes.Element xhtmlBodyRoot)
protected static org.jsoup.nodes.Element resolveXhtml(boolean resolveLinks,
LinkResolver linkResolver,
String contextPathToUse,
String xhtmlField)
throws SerializationException,
ItemNotFoundException
Copyright © 2017. All rights reserved.