Class AttributeNameTokenizer

  • All Implemented Interfaces:
    Iterable<String>

    public class AttributeNameTokenizer
    extends Object
    implements Iterable<String>
    INTERNAL: Attribute name tokenizer.
    Author:
    Tomas Kraus
    • Field Detail

      • SEPARATOR

        public static final char SEPARATOR
        INTERNAL: Attribute name dot notation separator.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AttributeNameTokenizer

        public AttributeNameTokenizer​(String attributeName)
        INTERNAL: Creates an instance of attribute name tokenizer.
    • Method Detail

      • getNameAfterVersion

        public static String getNameAfterVersion​(String attributeName)
        INTERNAL: Return an attribute name without value. dot notation prefix.
        Parameters:
        attributeName - Attribute name containing value. prefix.
        Returns:
        Attribute name without value. prefix or null when no prefix was found.
      • getNameAfterKey

        public static String getNameAfterKey​(String attributeName)
        INTERNAL: Return an attribute name without key. dot notation prefix.
        Parameters:
        attributeName - Attribute name containing key. prefix.
        Returns:
        Attribute name without key. prefix or null when no prefix was found.
      • iterator

        public Iterator<String> iterator()
        INTERNAL: Returns an Iterator<String> over attribute name tokens.
        Specified by:
        iterator in interface Iterable<String>
        Returns:
        An Iterator<String> over attribute name tokens.
      • tokensIterator

        public AttributeNameTokenizer.TokensIterator tokensIterator()
        INTERNAL: Returns an TokensIterator over attribute name tokens.
        Returns:
        An TokensIterator over attribute name tokens.