public class ValueFormat extends Object
ValueFormat...| Constructor and Description |
|---|
ValueFormat() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getJCRString(QValue value,
NamePathResolver resolver)
Returns the JCR string representation of the given
QValue. |
static javax.jcr.Value |
getJCRValue(QValue value,
NamePathResolver resolver,
javax.jcr.ValueFactory factory) |
static QValue |
getQValue(String jcrValue,
int propertyType,
NamePathResolver resolver,
QValueFactory factory) |
static QValue |
getQValue(javax.jcr.Value jcrValue,
NamePathResolver resolver,
QValueFactory factory) |
static QValue[] |
getQValues(javax.jcr.Value[] jcrValues,
NamePathResolver resolver,
QValueFactory factory) |
public static QValue getQValue(javax.jcr.Value jcrValue, NamePathResolver resolver, QValueFactory factory) throws javax.jcr.RepositoryException
jcrValue - resolver - factory - javax.jcr.RepositoryExceptionpublic static QValue[] getQValues(javax.jcr.Value[] jcrValues, NamePathResolver resolver, QValueFactory factory) throws javax.jcr.RepositoryException
jcrValues - resolver - factory - javax.jcr.RepositoryExceptionpublic static QValue getQValue(String jcrValue, int propertyType, NamePathResolver resolver, QValueFactory factory) throws javax.jcr.RepositoryException
jcrValue - propertyType - resolver - factory - javax.jcr.RepositoryExceptionpublic static javax.jcr.Value getJCRValue(QValue value, NamePathResolver resolver, javax.jcr.ValueFactory factory) throws javax.jcr.RepositoryException
value - resolver - factory - QValue.javax.jcr.RepositoryExceptionpublic static String getJCRString(QValue value, NamePathResolver resolver) throws javax.jcr.RepositoryException
QValue.
This method is a shortcut for
getJCRValue(QValue, NamePathResolver, ValueFactory) followed by
Value.getString().value - resolver - QValue.javax.jcr.RepositoryExceptionCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.