private Object readResolve() throws ObjectStreamException {
      try {
        return newInstance(this.xPath);
      }
      catch (JDOMException ex1) {
        throw new InvalidObjectException(
          "Can't create XPath object for expression \"" +
          this.xPath + "\": " + ex1);
      }
    }
private Object readResolve()