public class AttributeNameTokenizer
extends java.lang.Object
implements java.lang.Iterable<java.lang.String>
Modifier and Type | Class and Description |
---|---|
static class |
AttributeNameTokenizer.TokensIterator
INTERNAL:
Attribute name tokenizer parser implemented as an
Iterator over individual attribute name tokens. |
Modifier and Type | Field and Description |
---|---|
static char |
SEPARATOR
INTERNAL: Attribute name dot notation separator.
|
Constructor and Description |
---|
AttributeNameTokenizer(java.lang.String attributeName)
INTERNAL:
Creates an instance of attribute name tokenizer.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getNameAfterKey(java.lang.String attributeName)
INTERNAL:
Return an attribute name without
key. dot notation prefix. |
static java.lang.String |
getNameAfterVersion(java.lang.String attributeName)
INTERNAL:
Return an attribute name without
value. dot notation prefix. |
java.util.Iterator<java.lang.String> |
iterator()
INTERNAL:
Returns an
Iterator over attribute name tokens. |
AttributeNameTokenizer.TokensIterator |
tokensIterator()
INTERNAL:
Returns an
AttributeNameTokenizer.TokensIterator over attribute name tokens. |
public static final char SEPARATOR
public AttributeNameTokenizer(java.lang.String attributeName)
public static java.lang.String getNameAfterVersion(java.lang.String attributeName)
value.
dot notation prefix.attributeName
- Attribute name containing value.
prefix.value.
prefix or null
when no prefix was found.public static java.lang.String getNameAfterKey(java.lang.String attributeName)
key.
dot notation prefix.attributeName
- Attribute name containing key.
prefix.key.
prefix or null
when no prefix was found.public java.util.Iterator<java.lang.String> iterator()
Iterator
over attribute name tokens.iterator
in interface java.lang.Iterable<java.lang.String>
Iterator
over attribute name tokens.public AttributeNameTokenizer.TokensIterator tokensIterator()
AttributeNameTokenizer.TokensIterator
over attribute name tokens.AttributeNameTokenizer.TokensIterator
over attribute name tokens.EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference