jp.hishidama.win32.mshtml
クラス IHTMLElementCollection

java.lang.Object
  上位を拡張 jp.hishidama.win32.com.ComPtr
      上位を拡張 jp.hishidama.win32.com.IUnknown
          上位を拡張 jp.hishidama.win32.com.IDispatch
              上位を拡張 jp.hishidama.win32.mshtml.IHTMLElementCollection

public class IHTMLElementCollection
extends IDispatch

IHTMLElementCollection,IHTMLElementCollection2〜3クラス.

HTML要素の一覧を扱うクラスです。

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

メソッドの概要
 int getLength()
          個数取得.
 IHTMLElement getNamedItem(String name)
          HTML要素取得.
 IHTMLElement getNamedItem(String name, boolean addChild)
          推奨されていません。  
 IUnknown getNewEnum()
           
 IUnknown getNewEnum(boolean addChild)
          推奨されていません。  
 IHTMLElement item(int index)
          HTML要素取得.
 IHTMLElement item(int index, boolean addChild)
          推奨されていません。  
 IHTMLElement item(String name, int index)
          HTML要素取得.
 IHTMLElement item(String name, int index, boolean addChild)
          推奨されていません。  
 List list()
          リスト化.
 List list(boolean addChild)
          推奨されていません。  
 void setLength(int len)
          個数設定.
 IHTMLElement tags(Variant tagName)
          HTML要素取得.
 IHTMLElement tags(Variant tagName, boolean addChild)
          推奨されていません。  
 IHTMLElement urns(Variant urn)
          HTML要素取得.
 IHTMLElement urns(Variant urn, boolean addChild)
          推奨されていません。  
 
クラス jp.hishidama.win32.com.IDispatch から継承されたメソッド
getIDOfName, getTypeInfo, getTypeInfo, getTypeInfoCount, getTypeName
 
クラス jp.hishidama.win32.com.ComPtr から継承されたメソッド
dispose, dispose, dispose, dispose, dispose, dispose, dispose, disposeChild
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

setLength

public void setLength(int len)
個数設定.

パラメータ:
len - 個数

getLength

public int getLength()
個数取得.

戻り値:
個数

getNewEnum

public IUnknown getNewEnum()

getNewEnum

public IUnknown getNewEnum(boolean addChild)
推奨されていません。 

関連項目:
ComPtr.disposeChild(), getNewEnum()

item

public IHTMLElement item(String name,
                         int index)
HTML要素取得.

パラメータ:
name - 名前
index - 番号
戻り値:
HTML要素

item

public IHTMLElement item(String name,
                         int index,
                         boolean addChild)
推奨されていません。 

関連項目:
ComPtr.disposeChild(), item(String, int)

item

public IHTMLElement item(int index)
HTML要素取得.

パラメータ:
index - 番号
戻り値:
HTML要素

item

public IHTMLElement item(int index,
                         boolean addChild)
推奨されていません。 

関連項目:
ComPtr.disposeChild(), item(int)

tags

public IHTMLElement tags(Variant tagName)
HTML要素取得.

パラメータ:
tagName - タグ名
戻り値:
HTML要素

tags

public IHTMLElement tags(Variant tagName,
                         boolean addChild)
推奨されていません。 

関連項目:
ComPtr.disposeChild(), tags(Variant)

urns

public IHTMLElement urns(Variant urn)
HTML要素取得.

パラメータ:
urn - URN
戻り値:
HTML要素

urns

public IHTMLElement urns(Variant urn,
                         boolean addChild)
推奨されていません。 

関連項目:
ComPtr.disposeChild(), urns(Variant)

getNamedItem

public IHTMLElement getNamedItem(String name)
HTML要素取得.

パラメータ:
name - 名称
戻り値:
HTML要素

getNamedItem

public IHTMLElement getNamedItem(String name,
                                 boolean addChild)
推奨されていません。 

関連項目:
ComPtr.disposeChild(), getNamedItem(String)

list

public List list()
リスト化.

保持している全要素をリストに入れて返す。

戻り値:
IHTMLElementのリスト

list

public List list(boolean addChild)
推奨されていません。 

関連項目:
ComPtr.disposeChild(), list()