code: @Override
      public Object lookup(String s) throws NamingException {
          if (s == null)
              throw new InvalidNameException();
          //turn the String into a CompositeName and then use the Name form of the method
          //all necessary parsing etc will be done there
          return lookup(newCompositeName(s));
      }
docs: String form of lookup(Name n)