Class MoxyXmlFeature

java.lang.Object
org.glassfish.jersey.moxy.xml.MoxyXmlFeature
All Implemented Interfaces:
Feature

public class MoxyXmlFeature extends Object implements Feature
Feature used to register MOXy XML providers.
Author:
Pavel Bucek
  • Constructor Details

    • MoxyXmlFeature

      public MoxyXmlFeature()
      Default constructor creates standard JAXBContext without any activated features and properties. Current context ClassLoader will be used.
    • MoxyXmlFeature

      public MoxyXmlFeature(Class<?>... classes)
      Constructor which allows MOXy JAXBContext customization.
      Parameters:
      classes - additional classes used for creating JAXBContext.
    • MoxyXmlFeature

      public MoxyXmlFeature(Map<String,Object> properties, ClassLoader classLoader, boolean oxmMappingLookup, Class... classes)
      Constructor which allows MOXy JAXBContext customization.
      Parameters:
      properties - properties to be passed to JAXBContextFactory.createContext(Class[], java.util.Map, ClassLoader). May be null.
      classLoader - will be used to load classes. If null, current context ClassLoader will be used.
      oxmMappingLookup - if true, lookup for file with custom mappings will be performed.
      classes - additional classes used for creating JAXBContext.
  • Method Details