Package org.apache.camel.component.xj
Class XJConstants
- java.lang.Object
-
- org.apache.camel.component.xj.XJConstants
-
public final class XJConstants extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
NS_PREFIX_XJ
The namespace prefix used by xj for typehintsstatic String
NS_XJ
The namespace used by xj for typehintsstatic String
TYPE_HINT_NAME
Name typehint.static String
TYPE_HINT_TYPE
JSON-Type hint.
-
-
-
Field Detail
-
NS_XJ
public static final String NS_XJ
The namespace used by xj for typehints- See Also:
- Constant Field Values
-
NS_PREFIX_XJ
public static final String NS_PREFIX_XJ
The namespace prefix used by xj for typehints- See Also:
- Constant Field Values
-
TYPE_HINT_NAME
public static final String TYPE_HINT_NAME
Name typehint. Used to instruct xj to write a field with that name when converting to json. On the otherhand when converting to xml xj writes the json field name in that attribute.- See Also:
- Constant Field Values
-
TYPE_HINT_TYPE
public static final String TYPE_HINT_TYPE
JSON-Type hint. Used to instruct xj of which type the output is when converting to json. Otherwise when converting to xml the attribute holds the type that was in the original json document.- See Also:
- Constant Field Values
-
-