public final class PropertyValues extends Object
PropertyValue
instances.public static PropertyValue create(PropertyState property)
public static PropertyState create(PropertyValue value)
public static PropertyValue newString(String value)
public static PropertyValue newString(Iterable<String> value)
public static PropertyValue newLong(Long value)
public static PropertyValue newDouble(Double value)
public static PropertyValue newDecimal(BigDecimal value)
public static PropertyValue newBoolean(boolean value)
public static PropertyValue newDate(String value)
public static PropertyValue newName(String value)
public static PropertyValue newName(Iterable<String> value)
public static PropertyValue newPath(String value)
public static PropertyValue newReference(String value)
public static PropertyValue newWeakReference(String value)
public static PropertyValue newUri(String value)
public static PropertyValue newBinary(byte[] value)
public static PropertyValue newBinary(Blob value)
public static boolean match(PropertyValue p1, PropertyState p2)
public static boolean match(PropertyState p1, PropertyValue p2)
public static boolean match(PropertyValue p1, PropertyValue p2)
public static boolean notMatch(PropertyValue p1, PropertyValue p2)
public static PropertyValue convert(PropertyValue value, int targetType, NamePathMapper mapper)
value
- the value to converttargetType
- the target property typemapper
- the name mapperIllegalArgumentException
- if mapping is illegalpublic static boolean canConvert(int sourceType, int targetType)
public static String getOakPath(String jcrPath, NamePathMapper mapper)
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"