com.reverseXSL.parser
Class Parser.ExceptionListIterator

java.lang.Object
  extended by com.reverseXSL.parser.Parser.ExceptionListIterator
All Implemented Interfaces:
java.util.Iterator, java.util.ListIterator
Enclosing class:
Parser

public class Parser.ExceptionListIterator
extends java.lang.Object
implements java.util.ListIterator

This Inner Class sub-classes a ListIterator such as to support methods more specific to the handling of the Exception list recorded by the parser.


Constructor Summary
Parser.ExceptionListIterator(java.util.ArrayList recEx)
           
 
Method Summary
 void add(java.lang.Object arg0)
           
 int fatalExceptionsCount()
           
 boolean hasNext()
           
 boolean hasNextFatal()
           
 boolean hasPrevious()
           
 java.lang.Object next()
           
 ParserException nextException()
           
 ParserException nextFatalException()
           
 int nextIndex()
           
 java.lang.Object previous()
           
 int previousIndex()
           
 void remove()
           
 void set(java.lang.Object arg0)
           
 int totalExceptionsCount()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parser.ExceptionListIterator

public Parser.ExceptionListIterator(java.util.ArrayList recEx)
Method Detail

add

public void add(java.lang.Object arg0)
Specified by:
add in interface java.util.ListIterator

fatalExceptionsCount

public int fatalExceptionsCount()

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator
Specified by:
hasNext in interface java.util.ListIterator

hasNextFatal

public boolean hasNextFatal()

hasPrevious

public boolean hasPrevious()
Specified by:
hasPrevious in interface java.util.ListIterator

next

public java.lang.Object next()
Specified by:
next in interface java.util.Iterator
Specified by:
next in interface java.util.ListIterator

nextException

public ParserException nextException()

nextFatalException

public ParserException nextFatalException()

nextIndex

public int nextIndex()
Specified by:
nextIndex in interface java.util.ListIterator

previous

public java.lang.Object previous()
Specified by:
previous in interface java.util.ListIterator

previousIndex

public int previousIndex()
Specified by:
previousIndex in interface java.util.ListIterator

remove

public void remove()
Specified by:
remove in interface java.util.Iterator
Specified by:
remove in interface java.util.ListIterator

set

public void set(java.lang.Object arg0)
Specified by:
set in interface java.util.ListIterator

totalExceptionsCount

public int totalExceptionsCount()