|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.camel.component.jcr.JcrConverter
public class JcrConverter
A helper class to transform Object into JCR Value implementations
| Constructor Summary | |
|---|---|
JcrConverter()
|
|
| Method Summary | |
|---|---|
javax.jcr.Value |
toValue(Boolean bool)
Converts a Boolean into a Value |
javax.jcr.Value |
toValue(Calendar calendar)
Converts a Calendar into a Value |
javax.jcr.Value |
toValue(InputStream stream)
Converts an InputStream into a Value |
javax.jcr.Value |
toValue(String value)
Converts a String into a Value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JcrConverter()
| Method Detail |
|---|
public javax.jcr.Value toValue(Boolean bool)
Boolean into a Value
bool - the boolean
public javax.jcr.Value toValue(InputStream stream)
InputStream into a Value
stream - the input stream
public javax.jcr.Value toValue(Calendar calendar)
Calendar into a Value
calendar - the calendar
public javax.jcr.Value toValue(String value)
String into a Value
value - the string
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||