public class DefaultQValue extends AbstractQValue implements Serializable
QValue
implementation for all valid PropertyType
s
except for BINARY.Modifier and Type | Field and Description |
---|---|
protected static QValue |
FALSE |
protected static QValue |
TRUE |
type, val
EMPTY_ARRAY
Modifier | Constructor and Description |
---|---|
|
DefaultQValue(BigDecimal value) |
|
DefaultQValue(Boolean value) |
protected |
DefaultQValue(Calendar value) |
|
DefaultQValue(Double value) |
|
DefaultQValue(Long value) |
|
DefaultQValue(Name value) |
|
DefaultQValue(Path value) |
|
DefaultQValue(String value,
int type) |
|
DefaultQValue(URI value) |
Modifier and Type | Method and Description |
---|---|
InputStream |
getStream()
Returns an
InputStream representation of this QValue
object. |
discard, equals, getBinary, getBoolean, getCalendar, getDecimal, getDouble, getLength, getLong, getName, getPath, getString, getType, getURI, hashCode, toString
public DefaultQValue(String value, int type)
public DefaultQValue(Long value)
public DefaultQValue(Double value)
public DefaultQValue(BigDecimal value)
public DefaultQValue(Boolean value)
public DefaultQValue(Name value)
public DefaultQValue(Path value)
public DefaultQValue(URI value)
protected DefaultQValue(Calendar value)
public InputStream getStream() throws RepositoryException
QValue
InputStream
representation of this QValue
object. This method always returns a new stream.getStream
in interface QValue
RepositoryException
QValue.getStream()
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.