| Constructor and Description |
|---|
TokensIterator(String attributeName)
INTERNAL:
Creates an instance of attribute name tokenizer iterator.
|
TokensIterator(String attributeName,
boolean isPrefix)
INTERNAL:
Creates an instance of attribute name tokenizer iterator.
|
| Modifier and Type | Method and Description |
|---|---|
AttributeNamePrefix |
getPrefix()
INTERNAL:
Get attribute name prefix.
|
boolean |
hasNext()
INTERNAL:
Returns
true if the iteration has more elements. |
String |
next()
INTERNAL:
Return the next attribute name token from attribute name.
|
void |
remove()
INTERNAL:
Removal of attribute name tokens makes no sense.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic TokensIterator(String attributeName)
"key." and "value.") will be returned as regular attribute name tokens.attributeName - Attribute name to be parsed.public TokensIterator(String attributeName, boolean isPrefix)
attributeName - Attribute name to be parsed.isPrefix - Do search for attribute name prefixes ("key." and "value.")?public AttributeNamePrefix getPrefix()
public boolean hasNext()
true if the iteration has more elements. In other words, returns true
if next() would return an element rather than throwing an exception.public String next() throws NoSuchElementException
next in interface Iterator<String>NoSuchElementException - when attribute name has no more tokens.public void remove()
remove in interface Iterator<String>UnsupportedOperationException - is always thrown on invocation.EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference