html dom io w3c dom w3c dom Node w3c dom html HTMLAnchorElement w3c dom html HTMLAppletElement w3c dom html HTMLAreaElement w3c dom html HTMLCollection w3c dom html HTMLElement w3c dom html HTMLFormElement w3c dom html HTMLImageElement w3c dom html HTMLObjectElement w3c dom html HTMLOptionElement w3c dom html HTMLTableCellElement w3c dom html HTMLTableRowElement w3c dom html HTMLTableSectionElement htmlcollectionimpl htmlcollection serialversionuid l anchor form image applet link option row element area tbody cell _lookingfor _toplevel htmlcollectionimpl htmlelement toplevel lookingfor toplevel nullpointerexception _toplevel toplevel _lookingfor lookingfor getlength getlength _toplevel node item index index illegalargumentexception item _toplevel collectionindex index node nameditem name name nullpointerexception nameditem _toplevel name getlength toplevel length node node toplevel length node toplevel.getfirstchild node node collectionmatch node length recurse length getlength node node node.getnextsibling length node item toplevel collectionindex index node node node toplevel node toplevel.getfirstchild node node collectionmatch node index.iszero node index.decrement recurse item node index node node.getnextsibling node nameditem toplevel name node node node toplevel node toplevel.getfirstchild node node collectionmatch node name node recurse nameditem node name node node.getnextsibling node recurse _lookingfor collectionmatch elem name match elem match _lookingfor anchor match elem htmlanchorelement elem.getattribute length form match elem htmlformelement image match elem htmlimageelement applet match elem htmlappletelement elem htmlobjectelement elem.getattribute elem.getattribute startswith element match elem htmlformcontrol link match elem htmlanchorelement elem htmlareaelement elem.getattribute length area match elem htmlareaelement option match elem htmloptionelement row match elem htmltablerowelement tbody match elem htmltablesectionelement elem.gettagname cell match elem htmltablecellelement match name elem htmlanchorelement name.equals elem.getattribute match name.equals elem.getattribute match collectionindex getindex _index decrement _index iszero _index collectionindex index _index index _index