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

java.lang.Object
  上位を拡張 org.apache.tools.ant.ProjectComponent
      上位を拡張 org.apache.tools.ant.types.DataType
          上位を拡張 jp.hishidama.ant.types.htlex.AttrType
              上位を拡張 jp.hishidama.ant.types.htlex.AttrOpeType
                  上位を拡張 jp.hishidama.ant.types.htlex.AttrNewType
                      上位を拡張 jp.hishidama.ant.types.htlex.AttrAddType
すべての実装されたインタフェース:
Cloneable

public class AttrAddType
extends AttrNewType

HtHtmlLexerタグ属性追加タイプ.

HTMLファイル内のタグの属性の追加を行うデータタイプ。

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

入れ子のクラスの概要
static class AttrAddType.DupEnum
          重複属性名処理方法.
 
コンストラクタの概要
AttrAddType()
           
 
メソッドの概要
 boolean convert(Tag tag)
          タグ属性変換実行.
 void setDup(AttrAddType.DupEnum d)
          名前重複時動作設定.
 void setPreSkip(String s)
          空白設定.
 void validate()
          精査実行.
 
クラス jp.hishidama.ant.types.htlex.AttrNewType から継承されたメソッド
setNewLet, setNewName, setNewNameCase, setNewNameOperation, setNewQuote, setNewValue, setNewValueCase, setNewValueHtmlEscape, setNewValueOperation
 
クラス jp.hishidama.ant.types.htlex.AttrType から継承されたメソッド
addConfiguredParam, doSetProperty, initHtLexerConverter, matches, setIf, setLet, setName, setNameMatch, setPropertyName, setQuote, setValue, setValueMatch
 
クラス 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
 

コンストラクタの詳細

AttrAddType

public AttrAddType()
メソッドの詳細

setPreSkip

public void setPreSkip(String s)
空白設定.

追加する属性の前に挿入する空白を設定する。デフォルトは半角スペース1個。

パラメータ:
s - 空白

setDup

public void setDup(AttrAddType.DupEnum d)
名前重複時動作設定.

パラメータ:
d - 重複属性名処理方法

validate

public void validate()
              throws org.apache.tools.ant.BuildException
クラス AttrOpeType の記述:
精査実行.

オーバーライド:
クラス AttrNewType 内の validate
例外:
org.apache.tools.ant.BuildException - 精査エラー時

convert

public boolean convert(Tag tag)
クラス AttrOpeType の記述:
タグ属性変換実行.

オーバーライド:
クラス AttrOpeType 内の convert
パラメータ:
tag - タグ
戻り値:
内容を変更した場合、true