Package org.loboevolution.html.dom
Interface HTMLAllCollection
- All Known Implementing Classes:
HTMLAllCollectionImpl
public interface HTMLAllCollection
The interface Html all collection.
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns 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
Integer
object.
-
item
Returns the item with index index from the collection (determined by tree order).- Parameters:
index
- the name or index- Returns:
- a
Node
object.
-
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
Object
object.
-
tags
Returns all tags by name.- Parameters:
tag
- the name of tag- Returns:
- a
HTMLAllCollection
object.
-