code: public boolean isAbsolute()
     {
        if (names[0].getIndex() == 1 && names[0].getName().length() == 0 && names[0].getNamespace().length() == 0)
           return true;
        else
           return false;
     }
docs: Tell if the path is absolute.
  
  @return boolean