public boolean isSelfReference(){
  return _scheme == null && _authority == null && _query == null && _path.length() == 0;
}

public boolean isSelfReference ( ) { return _scheme == null && _authority == null && _query == null && _path . length ( ) == 0 ; }
checks whether this uri is a relative uri that references itself ( i . e . it only contains an anchor ) .
