|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ValueFactory
Extension of the standard ValueFactory
which allows conversion to the jcr Value
from additional
types.
Method Summary | |
---|---|
Binary |
createBinary(byte[] value)
Creates a JCR Binary value from the given byte array. |
String |
createName(String localName)
Creates a JCR compliant name string, from the given local name. |
String |
createName(String namespaceUri,
String localName)
Creates a JCR compliant name string, from the given namespace uri and local name. |
Value |
createValue(Date value)
Creates a JCR compatible Value from a Date instance. |
Methods inherited from interface javax.jcr.ValueFactory |
---|
createBinary, createValue, createValue, createValue, createValue, createValue, createValue, createValue, createValue, createValue, createValue, createValue |
Method Detail |
---|
Value createValue(Date value) throws ValueFormatException
Value
from a Date
instance.
value
- a non-null date instance
ValueFormatException
- if the given value cannot be convertedBinary createBinary(byte[] value)
Binary
value from the given byte array.
value
- a non-null byte array
String createName(String localName)
localName
- a non-null string.
String createName(String namespaceUri, String localName)
namespaceUri
- a non-null string.localName
- a non-null string.
|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |