org.apache.jackrabbit.spi.commons.value
Class DefaultQValue
java.lang.Object
org.apache.jackrabbit.spi.commons.value.AbstractQValue
org.apache.jackrabbit.spi.commons.value.DefaultQValue
- All Implemented Interfaces:
- Serializable, QValue
public class DefaultQValue
- extends AbstractQValue
- implements Serializable
QValue
implementation for all valid PropertyType
s
except for BINARY.
- See Also:
- Serialized Form
Methods inherited from class org.apache.jackrabbit.spi.commons.value.AbstractQValue |
discard, equals, getBinary, getBoolean, getCalendar, getDecimal, getDouble, getLength, getLong, getName, getPath, getString, getType, getURI, hashCode, toString |
TRUE
protected static final QValue TRUE
FALSE
protected static final QValue FALSE
DefaultQValue
public DefaultQValue(String value,
int type)
DefaultQValue
public DefaultQValue(Long value)
DefaultQValue
public DefaultQValue(Double value)
DefaultQValue
public DefaultQValue(BigDecimal value)
DefaultQValue
public DefaultQValue(Boolean value)
DefaultQValue
public DefaultQValue(Name value)
DefaultQValue
public DefaultQValue(Path value)
DefaultQValue
public DefaultQValue(URI value)
DefaultQValue
protected DefaultQValue(Calendar value)
getStream
public InputStream getStream()
throws 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:
RepositoryException
- See Also:
QValue.getStream()
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.