|
||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.types.DataType jp.hishidama.ant.types.htlex.TextType
public class TextType
HtHtmlLexerテキストタイプ.
HTMLファイル内のテキストの条件判断・置換を行うデータタイプ。
入れ子のクラスの概要 | |
---|---|
class |
TextType.NestedString
|
static class |
TextType.TextEnum
テキスト種類. |
コンストラクタの概要 | |
---|---|
TextType()
|
メソッドの概要 | |
---|---|
boolean |
convert(TextToken token,
HtElement he)
テキスト変換実行. |
TextType.NestedString |
createNewText()
置換先文字列(要素)作成. |
TextType.NestedString |
createText()
検索文字列(要素)作成. |
void |
setLines(boolean b)
複数行指定. |
void |
setNewText(String s)
置換先文字列設定. |
void |
setNewTextOperation(StringOpeEnum ope)
テキスト置換方法設定. |
void |
setText(String s)
検索文字列設定. |
void |
setTextMatch(MatchEnum match)
テキストマッチ方法設定. |
void |
setTextType(TextType.TextEnum type)
テキスト種類設定. |
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 TextType()
メソッドの詳細 |
---|
public void setText(String s)
s
- 文字列public TextType.NestedString createText()
public void setNewText(String s)
s
- 文字列public TextType.NestedString createNewText()
public void setTextMatch(MatchEnum match)
match
- マッチング方法public void setNewTextOperation(StringOpeEnum ope)
ope
- 置換方法public void setTextType(TextType.TextEnum type)
type
- テキスト種類public void setLines(boolean b)
b
- trueの場合、改行を含んだ複数行を一つの文字列として検索・置換する。public void validate(HtLexerConverter conv) throws org.apache.tools.ant.BuildException
conv
- コンバーター
org.apache.tools.ant.BuildException
- 精査エラー時public boolean convert(TextToken token, HtElement he)
token
- テキストhe
- テキストの属している要素(解析されていない場合、null)
|
||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |