ezvcard.io.scribe
Class VCardPropertyScribe.SemiStructuredIterator

java.lang.Object
  extended by ezvcard.io.scribe.VCardPropertyScribe.SemiStructuredIterator
Enclosing class:
VCardPropertyScribe<T extends VCardProperty>

protected static class VCardPropertyScribe.SemiStructuredIterator
extends Object

Iterates over the fields in a semi-structured value (a structured value whose components cannot be multi-valued).


Constructor Summary
VCardPropertyScribe.SemiStructuredIterator(Iterator<String> it)
          Constructs a new structured iterator.
 
Method Summary
 boolean hasNext()
           
 String next()
          Gets the next value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VCardPropertyScribe.SemiStructuredIterator

public VCardPropertyScribe.SemiStructuredIterator(Iterator<String> it)
Constructs a new structured iterator.

Parameters:
it - the iterator to wrap
Method Detail

next

public String next()
Gets the next value.

Returns:
the next value, null if the value is an empty string, or null if there are no more values

hasNext

public boolean hasNext()


Copyright © 2012-2014 Michael Angstadt. All Rights Reserved.