Main Page | Packages | Class Hierarchy | Class List | File List | Class Members

treebuilder.AttributeList.AttrListIter Class Reference

Collaboration diagram for treebuilder.AttributeList.AttrListIter:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 AttrListIter (Attribute attrList)
boolean hasNext ()
Object next () throws NoSuchElementException
void remove () throws UnsupportedOperationException

Private Attributes

Attribute mCurrent = null

Constructor & Destructor Documentation

treebuilder.AttributeList.AttrListIter.AttrListIter Attribute  attrList  ) 
 

00036 { 00037 mCurrent = attrList; 00038 }


Member Function Documentation

boolean treebuilder.AttributeList.AttrListIter.hasNext  ) 
 

00041 { 00042 boolean rslt = mCurrent != null; 00043 return rslt; 00044 }

Object treebuilder.AttributeList.AttrListIter.next  )  throws NoSuchElementException
 

00048 { 00049 if (mCurrent != null) { 00050 Attribute attr = mCurrent; 00051 mCurrent = mCurrent.getNext(); 00052 return attr; 00053 } 00054 else { 00055 throw new NoSuchElementException(); 00056 } 00057 }

void treebuilder.AttributeList.AttrListIter.remove  )  throws UnsupportedOperationException
 

00061 { 00062 throw new UnsupportedOperationException(); 00063 }


Member Data Documentation

Attribute treebuilder.AttributeList.AttrListIter.mCurrent = null [private]
 


The documentation for this class was generated from the following file:
Generated on Tue Sep 21 22:08:42 2004 for Building an in-memory tree using the XmlPullParser by doxygen 1.3.8