Class CoreAttributeConverter


  • public class CoreAttributeConverter
    extends Object
    INTERNAL: AttributeGroup attribute names converter.
    • Method Detail

      • convert

        public static final String[] convert​(String... nameOrPath)
                                      throws IllegalArgumentException
        INTERNAL: Splits given nameOrPath[0] argument around '.' character when nameOrPath.length is equal to 1. Arrays of nameOrPath containing more than one element are only validated an passed without any changes. Zero length arrays are considered as invalid.
        Parameters:
        nameOrPath - String to be split.
        Returns:
        An array of Strings computed by splitting provided nameOrPath[0] argument around '.' character.
        Throws:
        IllegalArgumentException - If nameOrPath argument is null or any element to be returned after split is null, empty or contains whitespace at the beginning or end.