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