org.apache.jackrabbit.spi.commons.value
Class AbstractQValueFactory
java.lang.Object
org.apache.jackrabbit.spi.commons.value.AbstractQValueFactory
- All Implemented Interfaces:
- QValueFactory
- Direct Known Subclasses:
- QValueFactoryImpl
public abstract class AbstractQValueFactory
- extends Object
- implements QValueFactory
AbstractQValueFactory...
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_ENCODING
public static final String DEFAULT_ENCODING
- the default encoding
- See Also:
- Constant Field Values
PATH_FACTORY
protected static final PathFactory PATH_FACTORY
NAME_FACTORY
protected static final NameFactory NAME_FACTORY
AbstractQValueFactory
public AbstractQValueFactory()
computeAutoValues
public QValue[] computeAutoValues(QPropertyDefinition propertyDefinition)
throws RepositoryException
- Specified by:
computeAutoValues in interface QValueFactory
- Throws:
RepositoryException- See Also:
QValueFactory.computeAutoValues(org.apache.jackrabbit.spi.QPropertyDefinition)
create
public QValue create(String value,
int type)
throws RepositoryException
- Specified by:
create in interface QValueFactory
- Throws:
RepositoryException- See Also:
QValueFactory.create(String, int)
create
public QValue create(Calendar value)
throws RepositoryException
- Specified by:
create in interface QValueFactory
- Throws:
RepositoryException- See Also:
QValueFactory.create(Calendar)
create
public QValue create(double value)
throws RepositoryException
- Specified by:
create in interface QValueFactory
- Throws:
RepositoryException- See Also:
QValueFactory.create(double)
create
public QValue create(long value)
throws RepositoryException
- Specified by:
create in interface QValueFactory
- Throws:
RepositoryException- See Also:
QValueFactory.create(long)
create
public QValue create(boolean value)
throws RepositoryException
- Specified by:
create in interface QValueFactory
- Throws:
RepositoryException- See Also:
QValueFactory.create(boolean)
create
public QValue create(Name value)
throws RepositoryException
- Specified by:
create in interface QValueFactory
- Throws:
RepositoryException- See Also:
QValueFactory.create(Name)
create
public QValue create(Path value)
throws RepositoryException
- Specified by:
create in interface QValueFactory
- Throws:
RepositoryException- See Also:
QValueFactory.create(Path)
create
public QValue create(URI value)
throws RepositoryException
- Specified by:
create in interface QValueFactory
- Throws:
RepositoryException- See Also:
QValueFactory.create(URI)
create
public QValue create(BigDecimal value)
throws RepositoryException
- Specified by:
create in interface QValueFactory
- Throws:
RepositoryException- See Also:
QValueFactory.create(URI)
createString
protected QValue createString(String value)
- Creates a new QValue of type STRING.
- Parameters:
value - the string value.
- Returns:
- a new QValue.
createReference
protected QValue createReference(String ref,
boolean weak)
- Creates a new QValue of type REFERENCE or WEAKREFERENCE.
- Parameters:
ref - the reference value.weak - whether the reference is weak.
- Returns:
- a new QValue.
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.