@Test public void shouldProvideStringForDouble() throws Exception { assertThat(new JcrValue(factories, PropertyType.DOUBLE, 1.0).getString(), is("1.0")); }
@Override public String getString() throws ValueFormatException { try { return factories().getStringFactory().create(value); } catch (RuntimeException error) { throw createValueFormatException(String.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 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 ); }
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 ); @Override boolean getBoolean(); @Override Calendar getDate(); @Override BigDecimal getDecimal(); @Override double getDouble(); @Override long getLong(); @Override @SuppressWarnings("deprecation") InputStream getStream(); @Override BinaryValue getBinary(); @Override String getString(); @Override int getType(); @Override int hashCode(); @Override boolean equals( Object obj ); @Override String toString(); }
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 ); @Override boolean getBoolean(); @Override Calendar getDate(); @Override BigDecimal getDecimal(); @Override double getDouble(); @Override long getLong(); @Override @SuppressWarnings("deprecation") InputStream getStream(); @Override BinaryValue getBinary(); @Override String getString(); @Override int getType(); @Override int hashCode(); @Override boolean equals( Object obj ); @Override String toString();  }