code: public JCRName parseJCRName(String name) throws RepositoryException
     {
        JCRPath path = parsePathEntry(JCRPath.createJCRPath(), name);
        JCRPath.PathElement entry = path.getName();
        return new JCRName(entry);
     }
docs: Parses absolute JCR name from string (JCR format ns:name[index])
  
  @param name
  @return
  @throws RepositoryException