public class ValueFormat
extends java.lang.Object
ValueFormat
...Constructor and Description |
---|
ValueFormat() |
Modifier and Type | Method and Description |
---|---|
static java.lang.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(java.lang.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
- RepositoryException
public static QValue[] getQValues(Value[] jcrValues, NamePathResolver resolver, QValueFactory factory) throws RepositoryException
jcrValues
- resolver
- factory
- RepositoryException
public static QValue getQValue(java.lang.String jcrValue, int propertyType, NamePathResolver resolver, QValueFactory factory) throws RepositoryException
jcrValue
- propertyType
- resolver
- factory
- RepositoryException
public static Value getJCRValue(QValue value, NamePathResolver resolver, ValueFactory factory) throws RepositoryException
value
- resolver
- factory
- QValue
.RepositoryException
public static java.lang.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
.RepositoryException
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"