Class BindingContextFactory

  • Direct Known Subclasses:
    JAXBRIContextFactory

    public abstract class BindingContextFactory
    extends Object
    BindingContextFactory
    Author:
    shih-chang.chen@oracle.com
    • Field Detail

      • JAXB_CONTEXT_FACTORY_PROPERTY

        public static final String JAXB_CONTEXT_FACTORY_PROPERTY
      • LOGGER

        public static final Logger LOGGER
    • Constructor Detail

      • BindingContextFactory

        public BindingContextFactory()
    • Method Detail

      • newContext

        protected abstract BindingContext newContext​(javax.xml.bind.JAXBContext context)
      • isFor

        protected abstract boolean isFor​(String databinding)
        Check to see if the BindingContextFactory is for the databinding mode/flavor. The String parameter can be the package name of the JAXBContext implementation as well.
        Parameters:
        databinding - mode/flavor or the package name of the JAXBContext implementation.
        Returns:
      • getContext

        protected abstract BindingContext getContext​(javax.xml.bind.Marshaller m)
        Deprecated.
        - Does jaxws need this?
      • isContextSupported

        public static boolean isContextSupported​(Object o)
      • getBindingContext

        public static BindingContext getBindingContext​(javax.xml.bind.Marshaller m)
        Deprecated.
        - Does jaxws need this?