|
||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.DataType
jp.hishidama.ant.types.htlex.TagType
public class TagType
HtHtmlLexerタグ条件タイプ.
HTMLファイル内のタグの条件判断を行うデータタイプ。
| コンストラクタの概要 | |
|---|---|
TagType()
|
|
| メソッドの概要 | |
|---|---|
void |
addConfigured(org.apache.tools.ant.taskdefs.condition.Condition cond)
条件追加. |
void |
addConfigured(TagNewType tag)
タグ変換情報追加. |
void |
addConfiguredAnd(org.apache.tools.ant.taskdefs.condition.And cond)
And条件追加. |
void |
addConfiguredNot(org.apache.tools.ant.taskdefs.condition.Not cond)
Not条件追加. |
void |
addConfiguredOr(org.apache.tools.ant.taskdefs.condition.Or cond)
Or条件追加. |
boolean |
convert(Tag tag,
HtElement he)
タグ変換. |
List<AttributeToken> |
getTokenList()
処理対象属性一覧取得. |
boolean |
matches(Tag tag,
HtElement he)
マッチング判断. |
void |
setIf(String s)
条件式設定. |
void |
setName(String name)
名前条件設定. |
void |
setNameMatch(MatchEnum match)
名前マッチング方法設定. |
void |
setPair(PairTagEnum p)
ペア条件設定. |
void |
setTagC(String s)
タグ閉じ条件設定. |
void |
setTagO(String s)
タグ開き条件設定. |
void |
validate(HtLexerConverter conv)
精査実行. |
| クラス org.apache.tools.ant.types.DataType から継承されたメソッド |
|---|
clone, getRefid, invokeCircularReferenceCheck, isReference, setRefid, toString |
| クラス org.apache.tools.ant.ProjectComponent から継承されたメソッド |
|---|
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject |
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public TagType()
| メソッドの詳細 |
|---|
public void setName(String name)
name - タグ名public void setNameMatch(MatchEnum match)
match - マッチング方法public void setTagO(String s)
s - タグ開きpublic void setTagC(String s)
s - タグ閉じpublic void setPair(PairTagEnum p)
p - ペア条件public void setIf(String s)
s - 条件式public void addConfigured(org.apache.tools.ant.taskdefs.condition.Condition cond)
cond - 条件public void addConfiguredAnd(org.apache.tools.ant.taskdefs.condition.And cond)
cond - 条件public void addConfiguredOr(org.apache.tools.ant.taskdefs.condition.Or cond)
cond - 条件public void addConfiguredNot(org.apache.tools.ant.taskdefs.condition.Not cond)
cond - 条件public void addConfigured(TagNewType tag)
tag - タグ変換タイプ
public void validate(HtLexerConverter conv)
throws org.apache.tools.ant.BuildException
conv - コンバーター
org.apache.tools.ant.BuildException - 精査エラー時
public boolean convert(Tag tag,
HtElement he)
tag - タグhe - タグの属している要素(解析されていない場合、null)
public List<AttributeToken> getTokenList()
AttrCondType.eval()
public boolean matches(Tag tag,
HtElement he)
tag - タグhe - タグの属している要素(解析されていない場合、null)
|
||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||