org.seasar.tuigwaa.cms.core.wiki.base
クラス VisitorUtils
java.lang.Object
org.seasar.tuigwaa.cms.core.wiki.base.VisitorUtils
- public class VisitorUtils
- extends Object
VisitorUtils class Provides node object related tasks which is common during
various visitor, plugin execution. The difference from WikiHelper is that
this class quite depends on node object structure itself.
- 作成者:
- someda
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VisitorUtils
public VisitorUtils()
isExcerptStartNeeded
public static boolean isExcerptStartNeeded(WikiExcerpt node)
prepareWikiTable
public static void prepareWikiTable(SimpleNode node,
Object data)
- Before accepting node tree, need to set node properties for colspan,
rowspan.
The value of colspan or rowspan which might be set after trailing should
be incremented before being used in visitor.
getAppendString
public static String getAppendString(WikiStrongItalic node,
boolean pre)
isBold
public static boolean isBold(WikiStrongItalic node)
isItalic
public static boolean isItalic(WikiStrongItalic node)
createPluginRequest
public static PluginRequest createPluginRequest(Node node)
getArgs
public static String[] getArgs(Node node)
getColorByString
public static Color getColorByString(String s,
boolean foreground)
escape
public static String escape(String letter)
getAnchorId
public static String getAnchorId(SimpleNode node)
unescape
public static String unescape(String letter)
Copyright © 2005-2006 The Seasar Foundation and the others.. All Rights Reserved.