Class MOXySystemProperties

java.lang.Object
org.eclipse.persistence.jaxb.MOXySystemProperties

public final class MOXySystemProperties extends Object
  • Field Details

    • XML_ID_EXTENSION

      public static final String XML_ID_EXTENSION
      User can specify via org.eclipse.persistence.moxy.annotation.xml-id-extension property, that he wants to use extended behavior of XmlId annotation. When extended behavior is used, XmlId can be of different type than java.lang.String.
      See Also:
    • XML_VALUE_EXTENSION

      public static final String XML_VALUE_EXTENSION
      User can specify via org.eclipse.persistence.moxy.annotation.xml-value-extension property, that he wants to use extended behavior of XmlValue annotation. When extended behavior is used, class with field annotated with XmlValue can extend classes different than java.lang.Object.
      See Also:
    • JSON_TYPE_COMPATIBILITY

      public static final String JSON_TYPE_COMPATIBILITY
      If we should treat unqualified type property in JSON as MOXy type discriminator.
      See Also:
    • JSON_USE_XSD_TYPES_PREFIX

      public static final String JSON_USE_XSD_TYPES_PREFIX
      If there should be xsd prefix when using simple types, e.g. xsd.int.
      See Also:
    • MOXY_LOGGING_LEVEL

      public static final String MOXY_LOGGING_LEVEL
      Property for MOXy logging level. This is to make maintenance easier and to allow MOXy generate more diagnostic log messages. Allowed values are specified in LogLevel Default value is LogLevel.INFO
      Since:
      3.0
      See Also:
    • MOXY_LOG_PAYLOAD

      public static final String MOXY_LOG_PAYLOAD
      Property for logging Entities content during marshalling/unmarshalling operation in MOXy. It calls toString() method from entity. This is to make maintenance easier and to allow for debugging to check marshalled/unmarshalled content. Use it carefully. It can produce high amount of data in the log files. Usage: set to Boolean.TRUE to enable payload logging, set to Boolean.FALSE to disable it. It can be set via system property with name "eclipselink.logging.payload.moxy" too. By default it is disabled.
      Since:
      3.0
      See Also:
    • xmlIdExtension

      public static final Boolean xmlIdExtension
    • xmlValueExtension

      public static final Boolean xmlValueExtension
    • jsonTypeCompatibility

      public static final Boolean jsonTypeCompatibility
    • jsonUseXsdTypesPrefix

      public static final Boolean jsonUseXsdTypesPrefix
    • moxyLoggingLevel

      public static final String moxyLoggingLevel
    • moxyLogPayload

      public static final Boolean moxyLogPayload