// once all the cardinalitytransform specific logic is extracted.
public static List<PathElement> parse( String key ) {
if ( key.contains("@") ) {
return Arrays.<PathElement>asList( new AtPathElement( key ) );
}
else if ( "*".equals( key ) ) {
return Arrays.<PathElement>asList( new StarAllPathElement( key ) );
}
else if ( key.contains( "*" ) ) {