class JcrValue implements javax.jcr.Value {

    @Override
    public String getString() throws ValueFormatException {
        try {
            return factories().getStringFactory().create(value);
        } catch (RuntimeException error) {
            throw createValueFormatException(String.class);
        }
    }

      JcrValue( ValueFactories factories,
              int type,
              Object value );
      JcrValue( ValueFactories factories,
              Value value );

}