public static void checkPropertyName(String name) throws CmsIllegalArgumentException {

        if (CmsStringUtil.isEmptyOrWhitespaceOnly(name)) {
            throw new CmsIllegalArgumentException(
                Messages.get().container(Messages.ERR_BAD_PROPERTYNAME_EMPTY_0, name));
        }

        CmsStringUtil.checkName(name, NAME_CONSTRAINTS, Messages.ERR_BAD_PROPERTYNAME_4, Messages.get());
    }
public static void checkPropertyName ( String name ) throws CmsIllegalArgumentException { if ( CmsStringUtil . isEmptyOrWhitespaceOnly ( name ) ) { throw new CmsIllegalArgumentException ( Messages . get ( ) . container ( Messages . ERR_BAD_PROPERTYNAME_EMPTY_0 , name ) ) ; } CmsStringUtil . checkName ( name , NAME_CONSTRAINTS , Messages . ERR_BAD_PROPERTYNAME_4 , Messages . get ( ) ) ; }
Checks if the provided property name is a valid property name,
that is contains only valid characters.<p>

A property name can only be composed of digits,
standard ASCII letters and the symbols defined in {@link #NAME_CONSTRAINTS}.<p>

@param name the property name to check

@throws CmsIllegalArgumentException if the given property name is not valid