public abstract class AbstractQValueFactory extends Object implements org.apache.jackrabbit.spi.QValueFactory
AbstractQValueFactory...| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_ENCODING
the default encoding
|
protected static org.apache.jackrabbit.spi.NameFactory |
NAME_FACTORY |
protected static org.apache.jackrabbit.spi.PathFactory |
PATH_FACTORY |
| Constructor and Description |
|---|
AbstractQValueFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.jackrabbit.spi.QValue[] |
computeAutoValues(org.apache.jackrabbit.spi.QPropertyDefinition propertyDefinition) |
org.apache.jackrabbit.spi.QValue |
create(BigDecimal value) |
org.apache.jackrabbit.spi.QValue |
create(boolean value) |
org.apache.jackrabbit.spi.QValue |
create(Calendar value) |
org.apache.jackrabbit.spi.QValue |
create(double value) |
org.apache.jackrabbit.spi.QValue |
create(long value) |
org.apache.jackrabbit.spi.QValue |
create(org.apache.jackrabbit.spi.Name value) |
org.apache.jackrabbit.spi.QValue |
create(org.apache.jackrabbit.spi.Path value) |
org.apache.jackrabbit.spi.QValue |
create(String value,
int type) |
org.apache.jackrabbit.spi.QValue |
create(URI value) |
protected org.apache.jackrabbit.spi.QValue |
createReference(String ref,
boolean weak)
Creates a new QValue of type REFERENCE or WEAKREFERENCE.
|
protected org.apache.jackrabbit.spi.QValue |
createString(String value)
Creates a new QValue of type STRING.
|
public static final String DEFAULT_ENCODING
protected static final org.apache.jackrabbit.spi.PathFactory PATH_FACTORY
protected static final org.apache.jackrabbit.spi.NameFactory NAME_FACTORY
public org.apache.jackrabbit.spi.QValue[] computeAutoValues(org.apache.jackrabbit.spi.QPropertyDefinition propertyDefinition)
throws RepositoryException
computeAutoValues in interface org.apache.jackrabbit.spi.QValueFactoryRepositoryExceptionQValueFactory.computeAutoValues(org.apache.jackrabbit.spi.QPropertyDefinition)public org.apache.jackrabbit.spi.QValue create(String value, int type) throws RepositoryException
create in interface org.apache.jackrabbit.spi.QValueFactoryRepositoryExceptionQValueFactory.create(String, int)public org.apache.jackrabbit.spi.QValue create(Calendar value) throws RepositoryException
create in interface org.apache.jackrabbit.spi.QValueFactoryRepositoryExceptionQValueFactory.create(Calendar)public org.apache.jackrabbit.spi.QValue create(double value)
throws RepositoryException
create in interface org.apache.jackrabbit.spi.QValueFactoryRepositoryExceptionQValueFactory.create(double)public org.apache.jackrabbit.spi.QValue create(long value)
throws RepositoryException
create in interface org.apache.jackrabbit.spi.QValueFactoryRepositoryExceptionQValueFactory.create(long)public org.apache.jackrabbit.spi.QValue create(boolean value)
throws RepositoryException
create in interface org.apache.jackrabbit.spi.QValueFactoryRepositoryExceptionQValueFactory.create(boolean)public org.apache.jackrabbit.spi.QValue create(org.apache.jackrabbit.spi.Name value)
throws RepositoryException
create in interface org.apache.jackrabbit.spi.QValueFactoryRepositoryExceptionQValueFactory.create(Name)public org.apache.jackrabbit.spi.QValue create(org.apache.jackrabbit.spi.Path value)
throws RepositoryException
create in interface org.apache.jackrabbit.spi.QValueFactoryRepositoryExceptionQValueFactory.create(Path)public org.apache.jackrabbit.spi.QValue create(URI value) throws RepositoryException
create in interface org.apache.jackrabbit.spi.QValueFactoryRepositoryExceptionQValueFactory.create(URI)public org.apache.jackrabbit.spi.QValue create(BigDecimal value) throws RepositoryException
create in interface org.apache.jackrabbit.spi.QValueFactoryRepositoryExceptionQValueFactory.create(URI)protected org.apache.jackrabbit.spi.QValue createString(String value)
value - the string value.protected org.apache.jackrabbit.spi.QValue createReference(String ref, boolean weak)
ref - the reference value.weak - whether the reference is weak.Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.