Class AttributeNameTokenizer

  • All Implemented Interfaces:
    java.lang.Iterable<java.lang.String>

    public class AttributeNameTokenizer
    extends java.lang.Object
    implements java.lang.Iterable<java.lang.String>
    INTERNAL: Attribute name tokenizer.
    Author:
    Tomas Kraus
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  AttributeNameTokenizer.TokensIterator
      INTERNAL: Attribute name tokenizer parser implemented as an Iterator over individual attribute name tokens.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static char SEPARATOR
      INTERNAL: Attribute name dot notation separator.
    • Constructor Summary

      Constructors 
      Constructor Description
      AttributeNameTokenizer​(java.lang.String attributeName)
      INTERNAL: Creates an instance of attribute name tokenizer.
    • Field Detail

      • SEPARATOR

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

      • AttributeNameTokenizer

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

      • getNameAfterVersion

        public static java.lang.String getNameAfterVersion​(java.lang.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 java.lang.String getNameAfterKey​(java.lang.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 java.util.Iterator<java.lang.String> iterator()
        INTERNAL: Returns an Iterator over attribute name tokens.
        Specified by:
        iterator in interface java.lang.Iterable<java.lang.String>
        Returns:
        An Iterator over attribute name tokens.