|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.renderer.util.RendererUtil
public class RendererUtil
Some simple methods that the renderer uses. Note, there is another Util
class in the v2 package: RenderUtils.
| Constructor Summary | |
|---|---|
RendererUtil()
|
|
| Method Summary | |
|---|---|
static void |
appendAttribute(String name,
boolean value,
StringBuffer buffer)
Appends name="value" followed by a space to the buffer. |
static void |
appendAttribute(String name,
String value,
StringBuffer buffer)
Appends name="value" followed by a space to the buffer. |
static String |
stripBasicMarkup(String content)
Strip basic markup characters from a piece of content |
static String |
summarise(String content)
Strips basic wiki markup from the content passed in and truncates string to 50 chars. |
static String |
summariseWithoutStrippingWikiCharacters(String content)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RendererUtil()
| Method Detail |
|---|
public static String summarise(String content)
content - wiki marked up content
public static String stripBasicMarkup(String content)
public static String summariseWithoutStrippingWikiCharacters(String content)
public static void appendAttribute(String name,
String value,
StringBuffer buffer)
public static void appendAttribute(String name,
boolean value,
StringBuffer buffer)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||