Class DefaultQValue

  • All Implemented Interfaces:
    java.io.Serializable, QValue

    public class DefaultQValue
    extends AbstractQValue
    implements java.io.Serializable
    QValue implementation for all valid PropertyTypes except for BINARY.
    See Also:
    Serialized Form
    • Constructor Detail

      • DefaultQValue

        public DefaultQValue​(java.lang.String value,
                             int type)
      • DefaultQValue

        public DefaultQValue​(java.lang.Long value)
      • DefaultQValue

        public DefaultQValue​(java.lang.Double value)
      • DefaultQValue

        public DefaultQValue​(java.math.BigDecimal value)
      • DefaultQValue

        public DefaultQValue​(java.lang.Boolean value)
      • DefaultQValue

        public DefaultQValue​(Name value)
      • DefaultQValue

        public DefaultQValue​(Path value)
      • DefaultQValue

        public DefaultQValue​(java.net.URI value)
    • Method Detail

      • getStream

        public java.io.InputStream getStream()
                                      throws javax.jcr.RepositoryException
        Description copied from interface: QValue
        Returns an InputStream representation of this QValue object. This method always returns a new stream.
        Specified by:
        getStream in interface QValue
        Returns:
        A stream representation of this value.
        Throws:
        javax.jcr.RepositoryException
        See Also:
        QValue.getStream()