com.ihr.xbrl.comparator

## Class XMLFragmentIterator

- java.lang.Object
- - com.ihr.xbrl.comparator.XMLFragmentIterator

- All Implemented Interfaces:
    java.util.Iterator<XMLFragment>

      public class XMLFragmentIterator
      extends java.lang.Object
      implements java.util.Iterator<XMLFragment>

  Helper class that implements an iterator over XMLFragment objects.
  Author:
    Ignacio

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `XMLFragmentIterator(OrderedFragmentsList ol)` Instantiates a new XML fragment iterator.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `hasNext()`
    `XMLFragment` | `next()`
    `void` | `remove()`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### XMLFragmentIterator

          public XMLFragmentIterator(OrderedFragmentsList ol)

      Instantiates a new XML fragment iterator.
      Parameters:
        `ol` - the ol

  - ### Method Detail

    - #### hasNext

          public boolean hasNext()

      Specified by:
        `hasNext` in interface `java.util.Iterator<XMLFragment>`

    - #### next

          public XMLFragment next()

      Specified by:
        `next` in interface `java.util.Iterator<XMLFragment>`

    - #### remove

          public void remove()

      Specified by:
        `remove` in interface `java.util.Iterator<XMLFragment>`