jp.hishidama.ant.types.htlex
クラス PairTagEnum

java.lang.Object
  上位を拡張 org.apache.tools.ant.types.EnumeratedAttribute
      上位を拡張 jp.hishidama.ant.types.htlex.PairTagEnum

public class PairTagEnum
extends org.apache.tools.ant.types.EnumeratedAttribute

タグペア条件クラス.

タグのペア条件を判定するクラス。

導入されたバージョン:
2009.02.17
作成者:
ひしだま

フィールドの概要
static String END
          end:要素の終了(</tag>や<tag/>)の場合、真
static String ETAG
          etag:終了タグ(</tag>)の場合、真
static String IGNORE
          ignore:ペア条件を判定しない(デフォルト)
static String NO_PAIR
          nopair:ペアが無い場合、真
static String PAIR
          pair:ペアがある場合、真
static int PARSER_INDEX
          HtHtmlParserを使用するインデックスの最低値
static String SETAG
          setag:開始終了タグ(<tag/>)の場合、真
static String STAG
          stag:開始タグ(<tag>)の場合、真
static String START
          start:要素の開始(<tag>や<tag/>)の場合、真
 
コンストラクタの概要
PairTagEnum()
           
PairTagEnum(String s)
           
 
メソッドの概要
 String[] getValues()
           
 boolean matches(Tag tag, HtElement he)
          タグのペア判定.
 
クラス org.apache.tools.ant.types.EnumeratedAttribute から継承されたメソッド
containsValue, getIndex, getInstance, getValue, indexOfValue, setValue, toString
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

IGNORE

public static final String IGNORE
ignore:ペア条件を判定しない(デフォルト)

関連項目:
定数フィールド値

STAG

public static final String STAG
stag:開始タグ(<tag>)の場合、真

関連項目:
定数フィールド値

ETAG

public static final String ETAG
etag:終了タグ(</tag>)の場合、真

関連項目:
定数フィールド値

SETAG

public static final String SETAG
setag:開始終了タグ(<tag/>)の場合、真

関連項目:
定数フィールド値

START

public static final String START
start:要素の開始(<tag>や<tag/>)の場合、真

関連項目:
定数フィールド値

END

public static final String END
end:要素の終了(</tag>や<tag/>)の場合、真

関連項目:
定数フィールド値

PAIR

public static final String PAIR
pair:ペアがある場合、真

関連項目:
定数フィールド値

NO_PAIR

public static final String NO_PAIR
nopair:ペアが無い場合、真

関連項目:
定数フィールド値

PARSER_INDEX

public static final int PARSER_INDEX
HtHtmlParserを使用するインデックスの最低値

関連項目:
定数フィールド値
コンストラクタの詳細

PairTagEnum

public PairTagEnum()

PairTagEnum

public PairTagEnum(String s)
メソッドの詳細

getValues

public String[] getValues()
定義:
クラス org.apache.tools.ant.types.EnumeratedAttribute 内の getValues

matches

public boolean matches(Tag tag,
                       HtElement he)
タグのペア判定.

パラメータ:
tag - タグ
he - 要素(HtHtmlParserを使用して判定する場合は必須)
戻り値:
判定条件に一致した場合、true