Creates and returns a new unparented name node for the given name. The name string must consist of 1 or more name segments separated by single dots '.'. Returns a {@link QualifiedName} if the name hasdots, and a {@link SimpleName} otherwise. Each of the namesegments should be legal Java identifiers (this constraint may or may not be enforced), and there must be at least one name segment. The string must not contains white space, '<', '>', '[', ']', or other any other characters that are not part of the Java identifiers or separating '.'s.
@param qualifiedName string consisting of 1 or more name segments,each of which is a legal Java identifier, separated by single dots '.'
@return a new unparented name node
@exception IllegalArgumentException if:
- the string is empty
- the string begins or ends in a '.'
- the string has adjacent '.'s
- the segments between the '.'s are not valid Java identifiers
@since 3.1