Class MOXySystemProperties


  • public final class MOXySystemProperties
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String JSON_TYPE_COMPATIBILITY
      If we should treat unqualified type property in JSON as MOXy type discriminator.
      static java.lang.String JSON_USE_XSD_TYPES_PREFIX
      If there should be xsd prefix when using simple types, e.g. xsd.int.
      static java.lang.Boolean jsonTypeCompatibility  
      static java.lang.Boolean jsonUseXsdTypesPrefix  
      static java.lang.String MOXY_LOG_PAYLOAD
      Property for logging Entities content during marshalling/unmarshalling operation in MOXy.
      static java.lang.String MOXY_LOGGING_LEVEL
      Property for MOXy logging level.
      static java.lang.String MOXY_SCHEMA_GENERATOR_SORT
      Property to control disable/enable sorting of generated XML Schemas by MOXy SchemaGenerator.
      static java.lang.String moxyLoggingLevel  
      static java.lang.Boolean moxyLogPayload  
      static java.lang.Boolean moxySchemaGeneratorSort  
      static java.lang.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.
      static java.lang.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.
      static java.lang.Boolean xmlIdExtension  
      static java.lang.Boolean xmlValueExtension  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • XML_ID_EXTENSION

        public static final java.lang.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:
        Constant Field Values
      • XML_VALUE_EXTENSION

        public static final java.lang.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:
        Constant Field Values
      • JSON_TYPE_COMPATIBILITY

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

        public static final java.lang.String JSON_USE_XSD_TYPES_PREFIX
        If there should be xsd prefix when using simple types, e.g. xsd.int.
        See Also:
        Constant Field Values
      • MOXY_LOG_PAYLOAD

        public static final java.lang.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.
        See Also:
        JAXBContextProperties.MOXY_LOG_PAYLOAD, MarshallerProperties.MOXY_LOG_PAYLOAD, UnmarshallerProperties.MOXY_LOG_PAYLOAD, Constant Field Values
        Since:
        3.0
      • MOXY_SCHEMA_GENERATOR_SORT

        public static final java.lang.String MOXY_SCHEMA_GENERATOR_SORT
        Property to control disable/enable sorting of generated XML Schemas by MOXy SchemaGenerator. Usage: set to Boolean.TRUE to enable sorting by XML Namespace URI or Boolean.FALSE to disable it. By default it is enabled Boolean.TRUE.
        See Also:
        Constant Field Values
      • xmlIdExtension

        public static final java.lang.Boolean xmlIdExtension
      • xmlValueExtension

        public static final java.lang.Boolean xmlValueExtension
      • jsonTypeCompatibility

        public static final java.lang.Boolean jsonTypeCompatibility
      • jsonUseXsdTypesPrefix

        public static final java.lang.Boolean jsonUseXsdTypesPrefix
      • moxyLoggingLevel

        public static final java.lang.String moxyLoggingLevel
      • moxyLogPayload

        public static final java.lang.Boolean moxyLogPayload
      • moxySchemaGeneratorSort

        public static final java.lang.Boolean moxySchemaGeneratorSort