Android

org.apache.http.message.BasicHeaderElementIterator

java.lang.Object
org.apache.http.message.BasicHeaderElementIterator HeaderElementIterator

Basic implementation of a HeaderElementIterator.

Summary

Public Constructors

            BasicHeaderElementIterator(HeaderIterator headerIterator, HeaderValueParser parser)
Creates a new instance of BasicHeaderElementIterator
            BasicHeaderElementIterator(HeaderIterator headerIterator)

Public Methods

          boolean  hasNext()
Indicates whether there is another header element in this iteration.
    final      Object  next()
Returns the next object in the iteration.
          HeaderElement  nextElement()
Obtains the next header element from this iteration.
          void  remove()
Removes the last object returned by next from the collection.
Methods inherited from class java.lang.Object
Methods inherited from interface java.util.Iterator
Methods inherited from interface org.apache.http.HeaderElementIterator

Details

Public Constructors

public BasicHeaderElementIterator(HeaderIterator headerIterator, HeaderValueParser parser)

Creates a new instance of BasicHeaderElementIterator

public BasicHeaderElementIterator(HeaderIterator headerIterator)

Public Methods

public boolean hasNext()

Indicates whether there is another header element in this iteration.

public final Object next()

Returns the next object in the iteration.

public HeaderElement nextElement()

Obtains the next header element from this iteration. This method should only be called while hasNext is true.

public void remove()

Removes the last object returned by next from the collection.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48