Class JAXBContextImpl


public final class JAXBContextImpl extends JAXBRIContext
This class provides the implementation of JAXBContext.
  • Field Details

    • beanInfos

      protected Map<RuntimeTypeInfo,JaxBeanInfo> beanInfos
      All created JaxBeanInfos. Updated from each JaxBeanInfos constructors to avoid infinite recursion for a cyclic reference.

      This map is only used while the JAXBContextImpl is built and set to null to avoid keeping references too long.

    • marshallerPool

      public final Pool<Marshaller> marshallerPool
      Pool of Marshallers.
    • unmarshallerPool

      public final Pool<Unmarshaller> unmarshallerPool
    • nameBuilder

      public NameBuilder nameBuilder
      Used to assign indices to known names in this grammar. Reset to null once the build phase is completed.
    • nameList

      public final NameList nameList
      Keeps the list of known names. This field is set once the build pahse is completed.
    • c14nSupport

      protected final boolean c14nSupport
      true to reorder attributes lexicographically in preparation of the c14n support.
    • xmlAccessorFactorySupport

      public final boolean xmlAccessorFactorySupport
      Flag that user has provided a custom AccessorFactory for JAXB to use
    • allNillable

      public final boolean allNillable
      See Also:
    • retainPropertyInfo

      public final boolean retainPropertyInfo
      Store properties, so that they can be recovered in the run (is here because of JSON encoding of Jersey).
    • supressAccessorWarnings

      public final boolean supressAccessorWarnings
      Suppress reflection accessor warnings.
    • improvedXsiTypeHandling

      public final boolean improvedXsiTypeHandling
      Improved xsi type handling.
    • disableSecurityProcessing

      public final boolean disableSecurityProcessing
      Disable security processing.
    • fastBoot

      public final boolean fastBoot
      If true, we aim for faster JAXBContext instantiation performance, instead of going after efficient sustained unmarshalling/marshalling performance.
      Since:
      2.0.4
    • backupWithParentNamespace

      public Boolean backupWithParentNamespace
      If true, despite the specification, unmarshall child element with parent namespace, if child namespace is not specified. The default value is null for System org.glassfish.jaxb.backupWithParentNamespace property to be used, and false is assumed if it's not set either. Boolean
      Since:
      2.3.0
    • maxErrorsCount

      public final int maxErrorsCount
      The maximum number of errors unmarshall operation reports. Use negative value to report all errors. The default value is 10.
      Since:
      2.3.3
  • Method Details