biweekly.property.marshaller
Class ICalPropertyMarshaller.SemiStructuredIterator

java.lang.Object
  extended by biweekly.property.marshaller.ICalPropertyMarshaller.SemiStructuredIterator
Enclosing class:
ICalPropertyMarshaller<T extends ICalProperty>

protected static class ICalPropertyMarshaller.SemiStructuredIterator
extends Object

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


Constructor Summary
ICalPropertyMarshaller.SemiStructuredIterator(Iterator<String> it)
          Constructs a new structured iterator.
 
Method Summary
 boolean hasNext()
          Determines if there are any elements left in the value.
 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

ICalPropertyMarshaller.SemiStructuredIterator

public ICalPropertyMarshaller.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()
Determines if there are any elements left in the value.

Returns:
true if there are elements left, false if not


Copyright © 2013 Michael Angstadt. All Rights Reserved.