public class DefaultQValue extends AbstractQValue implements Serializable
QValue implementation for all valid PropertyTypes
except for BINARY.| Modifier and Type | Field and Description |
|---|---|
protected static QValue |
FALSE |
protected static QValue |
TRUE |
type, valEMPTY_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, toStringpublic 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
QValueInputStream representation of this QValue
object. This method always returns a new stream.getStream in interface QValueRepositoryExceptionQValue.getStream()Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.