com.quiotix.html.parser
Class HtmlDocument.ElementSequence

java.lang.Object
  extended by com.quiotix.html.parser.HtmlDocument.ElementSequence
Enclosing class:
HtmlDocument

public static class HtmlDocument.ElementSequence
extends Object

A sequence of HTML elements.


Constructor Summary
HtmlDocument.ElementSequence()
          Constructor.
HtmlDocument.ElementSequence(int n)
          Constructor.
 
Method Summary
 void addElement(HtmlDocument.HtmlElement o)
          Add element to list.
 Iterator iterator()
           
 void setElements(List collection)
          Clear current elements and replace with given Collection.
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlDocument.ElementSequence

public HtmlDocument.ElementSequence(int n)
Constructor.


HtmlDocument.ElementSequence

public HtmlDocument.ElementSequence()
Constructor.

Method Detail

addElement

public void addElement(HtmlDocument.HtmlElement o)
Add element to list.


size

public int size()
Returns:
the number of elements in this list.

iterator

public Iterator iterator()
Returns:
an iterator over the elements in this list in proper sequence.

setElements

public void setElements(List collection)
Clear current elements and replace with given Collection.

Parameters:
collection - to replace elements with


Copyright © 1999-2011 Quiotix. All Rights Reserved.