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

コンストラクタの概要
VisitorUtils()
           
 
メソッドの概要
static PluginRequest createPluginRequest(Node node)
           
static String escape(String letter)
           
static String getAnchorId(SimpleNode node)
           
static String getAppendString(WikiStrongItalic node, boolean pre)
           
static String[] getArgs(Node node)
           
static Color getColorByString(String s, boolean foreground)
           
static boolean isBold(WikiStrongItalic node)
           
static boolean isExcerptStartNeeded(WikiExcerpt node)
           
static boolean isItalic(WikiStrongItalic node)
           
static void prepareWikiTable(SimpleNode node, Object data)
          Before accepting node tree, need to set node properties for colspan, rowspan.
static String unescape(String letter)
           
 
クラス 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.