jp.hishidama.html.lexer.rule
クラス TagRule

java.lang.Object
  上位を拡張 jp.hishidama.html.lexer.rule.HtLexerRule
      上位を拡張 jp.hishidama.html.lexer.rule.MarkupRule
          上位を拡張 jp.hishidama.html.lexer.rule.TagRule

public class TagRule
extends MarkupRule

HtHtmlLexerルール(タグ).

タグ(<tag〜>や</tag>)の解釈を行う。

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

メソッドの概要
 boolean isStart(jp.hishidama.html.lexer.rule.HtLexerRule.Chars cs)
          タグ開始判断.
 Tag parse()
          推奨されていません。 解釈対象がタグ以外の場合に例外が発生する。
 
クラス jp.hishidama.html.lexer.rule.HtLexerRule から継承されたメソッド
skipSpace
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

isStart

public boolean isStart(jp.hishidama.html.lexer.rule.HtLexerRule.Chars cs)
                throws IOException
タグ開始判断.

パラメータ:
cs - 文字列
戻り値:
タグが始まる文字列のとき、true
例外:
IOException

parse

@Deprecated
public Tag parse()
          throws IOException
推奨されていません。 解釈対象がタグ以外の場合に例外が発生する。

ルールに従った解釈を行う。

オーバーライド:
クラス MarkupRule 内の parse
戻り値:
トークン
例外:
IOException
ClassCastException
関連項目:
MarkupRule