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

java.lang.Object
  上位を拡張 jp.hishidama.html.lexer.token.Token
      上位を拡張 jp.hishidama.html.lexer.token.ListToken
          上位を拡張 jp.hishidama.html.lexer.token.Markup
              上位を拡張 jp.hishidama.html.lexer.token.NamedMarkup
                  上位を拡張 jp.hishidama.html.lexer.token.XmlDeclare
すべての実装されたインタフェース:
Cloneable, Iterable<Token>

public class XmlDeclare
extends NamedMarkup

HtHtmlLexerトークン(XML宣言).

XML宣言(<?xml〜?>)を保持するトークン。

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

コンストラクタの概要
XmlDeclare()
          コンストラクター.
 
メソッドの概要
 void addAttribute(AttributeToken attr)
          属性追加.
 XmlDeclare clone()
           
 List<AttributeToken> getAttributeList()
          属性一覧取得.
 
クラス jp.hishidama.html.lexer.token.NamedMarkup から継承されたメソッド
getName, getNameAtom, setName, setName
 
クラス jp.hishidama.html.lexer.token.Markup から継承されたメソッド
addSkip, getTag1, getTag1Atom, getTag2, getTag2Atom, setTag1, setTag2
 
クラス jp.hishidama.html.lexer.token.ListToken から継承されたメソッド
add, add, calcLine, cut, cut, cutWithPreSkip, get, getLast, getTextLength, iterator, remove, set, size, writeTo, writeTo
 
クラス jp.hishidama.html.lexer.token.Token から継承されたメソッド
getLine, getText
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

XmlDeclare

public XmlDeclare()
コンストラクター.

メソッドの詳細

clone

public XmlDeclare clone()
                 throws CloneNotSupportedException
オーバーライド:
クラス Markup 内の clone
例外:
CloneNotSupportedException
導入されたバージョン:
2009.02.07

addAttribute

public void addAttribute(AttributeToken attr)
属性追加.

パラメータ:
attr - 属性

getAttributeList

public List<AttributeToken> getAttributeList()
属性一覧取得.

戻り値:
属性一覧(必ずnull以外)