jp.hishidama.html.lexer.token
クラス AtomToken

java.lang.Object
  上位を拡張 jp.hishidama.html.lexer.token.Token
      上位を拡張 jp.hishidama.html.lexer.token.AtomToken
すべての実装されたインタフェース:
Cloneable
直系の既知のサブクラス:
NameAtom, WordAtom

public class AtomToken
extends Token

HtHtmlLexerトークン(原子).

HtHtmlLexerトークンのうち、内部構造を持たないトークン。

導入されたバージョン:
2009.01.10
作成者:
ひしだま
関連項目:
ListToken

メソッドの概要
 AtomToken clone()
           
 int getTextLength()
          文字列長取得.
 void writeTo(StringBuilder sb)
          文字列出力.
 void writeTo(Writer w)
          文字列出力.
 
クラス jp.hishidama.html.lexer.token.Token から継承されたメソッド
calcLine, getLine, getText
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

clone

public AtomToken clone()
                throws CloneNotSupportedException
定義:
クラス Token 内の clone
例外:
CloneNotSupportedException
導入されたバージョン:
2009.02.07

getTextLength

public int getTextLength()
クラス Token の記述:
文字列長取得.

定義:
クラス Token 内の getTextLength
戻り値:
文字数

writeTo

public void writeTo(StringBuilder sb)
クラス Token の記述:
文字列出力.

保持しているトークンを文字列にして出力する。

定義:
クラス Token 内の writeTo
パラメータ:
sb - 出力先バッファー

writeTo

public void writeTo(Writer w)
             throws IOException
クラス Token の記述:
文字列出力.

保持しているトークンを文字列にしてWriterに出力する。

定義:
クラス Token 内の writeTo
パラメータ:
w - Writer
例外:
IOException