Package org.loboevolution.html.dom
Interface HTMLAllCollection
- All Known Implementing Classes:
HTMLAllCollectionImpl
public interface HTMLAllCollection
The interface Html all collection.
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the number of elements in the collection.Returns the item with index index from the collection (determined by tree order).Returns the item with ID or name name from the collection.Returns all tags by name.
-
Method Details
-
getLength
int getLength()Returns the number of elements in the collection.- Returns:
- a
Integerobject.
-
item
Returns the item with index index from the collection (determined by tree order).- Parameters:
index- the name or index- Returns:
- a
Nodeobject.
-
namedItem
Returns the item with ID or name name from the collection.If there are multiple matching items, then an HTMLCollection object containing all those elements is returned.
- Parameters:
name- the name- Returns:
- a
Objectobject.
-
tags
Returns all tags by name.- Parameters:
tag- the name of tag- Returns:
- a
HTMLAllCollectionobject.
-