Module org.eclipse.persistence.core
Class AttributeNameTokenizer
java.lang.Object
org.eclipse.persistence.internal.mappings.converters.AttributeNameTokenizer
INTERNAL:
Attribute name tokenizer.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
INTERNAL: Attribute name tokenizer parser implemented as anIterator<String>
over individual attribute name tokens. -
Field Summary
Modifier and TypeFieldDescriptionstatic final char
INTERNAL: Attribute name dot notation separator. -
Constructor Summary
ConstructorDescriptionAttributeNameTokenizer
(String attributeName) INTERNAL: Creates an instance of attribute name tokenizer. -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getNameAfterKey
(String attributeName) INTERNAL: Return an attribute name withoutkey.
dot notation prefix.static String
getNameAfterVersion
(String attributeName) INTERNAL: Return an attribute name withoutvalue.
dot notation prefix.iterator()
INTERNAL: Returns anIterator<String>
over attribute name tokens.INTERNAL: Returns anTokensIterator
over attribute name tokens.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
SEPARATOR
public static final char SEPARATORINTERNAL: Attribute name dot notation separator.- See Also:
-
-
Constructor Details
-
AttributeNameTokenizer
INTERNAL: Creates an instance of attribute name tokenizer.
-
-
Method Details
-
getNameAfterVersion
INTERNAL: Return an attribute name withoutvalue.
dot notation prefix.- Parameters:
attributeName
- Attribute name containingvalue.
prefix.- Returns:
- Attribute name without
value.
prefix ornull
when no prefix was found.
-
getNameAfterKey
INTERNAL: Return an attribute name withoutkey.
dot notation prefix.- Parameters:
attributeName
- Attribute name containingkey.
prefix.- Returns:
- Attribute name without
key.
prefix ornull
when no prefix was found.
-
iterator
INTERNAL: Returns anIterator<String>
over attribute name tokens. -
tokensIterator
INTERNAL: Returns anTokensIterator
over attribute name tokens.- Returns:
- An
TokensIterator
over attribute name tokens.
-