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 Value |
getJCRValue(QValue value,
NamePathResolver resolver,
ValueFactory factory) |
static QValue |
getQValue(String jcrValue,
int propertyType,
NamePathResolver resolver,
QValueFactory factory) |
static QValue |
getQValue(Value jcrValue,
NamePathResolver resolver,
QValueFactory factory) |
static QValue[] |
getQValues(Value[] jcrValues,
NamePathResolver resolver,
QValueFactory factory) |
public static QValue getQValue(Value jcrValue, NamePathResolver resolver, QValueFactory factory) throws RepositoryException
jcrValue - resolver - factory - RepositoryExceptionpublic static QValue[] getQValues(Value[] jcrValues, NamePathResolver resolver, QValueFactory factory) throws RepositoryException
jcrValues - resolver - factory - RepositoryExceptionpublic static QValue getQValue(String jcrValue, int propertyType, NamePathResolver resolver, QValueFactory factory) throws RepositoryException
jcrValue - propertyType - resolver - factory - RepositoryExceptionpublic static Value getJCRValue(QValue value, NamePathResolver resolver, ValueFactory factory) throws RepositoryException
value - resolver - factory - QValue.RepositoryExceptionpublic static String getJCRString(QValue value, NamePathResolver resolver) throws RepositoryException
QValue.
This method is a shortcut for
getJCRValue(QValue, NamePathResolver, ValueFactory) followed by
Value.getString().value - resolver - QValue.RepositoryExceptionCopyright © 2004–2020 The Apache Software Foundation. All rights reserved.