Sonic ESB API

com.sonicsw.esb.service.common.util.variables
Interface VariableIterator

All Superinterfaces:
java.util.Iterator

public interface VariableIterator
extends java.util.Iterator

Iterator over the variable and literal tokens in a string. VariableIterator instances are obtained from a VariableParser.


Method Summary
 boolean hasNext()
           
 java.lang.Object next()
           
 void remove()
          Not supported.
 boolean wasLastTokenVariable()
          Indicates whether the last token returned by the next was a variable or a literal.
 

Method Detail

hasNext

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

next

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

remove

void remove()
Not supported.

Specified by:
remove in interface java.util.Iterator

wasLastTokenVariable

boolean wasLastTokenVariable()
Indicates whether the last token returned by the next was a variable or a literal.


Sonic ESB API

Copyright © 2001-2013 Aurea, Inc. All Rights Reserved.
HTML formatted on 29-April-2013.