Class CoreAttributeConverter


  • public class CoreAttributeConverter
    extends java.lang.Object
    INTERNAL: AttributeGroup attribute names converter.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String[] convert​(java.lang.String... nameOrPath)
      INTERNAL: Splits given nameOrPath[0] argument around '.' character when nameOrPath.length is equal to 1.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • convert

        public static final java.lang.String[] convert​(java.lang.String... nameOrPath)
                                                throws java.lang.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:
        java.lang.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.