public abstract class BindingContextFactory extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DefaultDatabindingMode |
static String |
JAXB_CONTEXT_FACTORY_PROPERTY |
static Logger |
LOGGER |
Constructor and Description |
---|
BindingContextFactory() |
Modifier and Type | Method and Description |
---|---|
static BindingContext |
create(BindingInfo bi) |
static BindingContext |
create(JAXBContext context) |
static BindingContext |
getBindingContext(Marshaller m)
Deprecated.
- Does jaxws need this?
|
protected abstract BindingContext |
getContext(Marshaller m)
Deprecated.
- Does jaxws need this?
|
static boolean |
isContextSupported(Object o) |
protected abstract boolean |
isFor(String databinding)
Check to see if the BindingContextFactory is for the databinding mode/flavor.
|
protected abstract BindingContext |
newContext(BindingInfo bi) |
protected abstract BindingContext |
newContext(JAXBContext context) |
static Iterator<BindingContextFactory> |
serviceIterator() |
public static final String DefaultDatabindingMode
public static final String JAXB_CONTEXT_FACTORY_PROPERTY
public static final Logger LOGGER
public static Iterator<BindingContextFactory> serviceIterator()
protected abstract BindingContext newContext(JAXBContext context)
protected abstract BindingContext newContext(BindingInfo bi)
protected abstract boolean isFor(String databinding)
databinding
- mode/flavor or the package name of the JAXBContext implementation.protected abstract BindingContext getContext(Marshaller m)
public static BindingContext create(JAXBContext context) throws DatabindingException
DatabindingException
public static BindingContext create(BindingInfo bi)
public static boolean isContextSupported(Object o)
public static BindingContext getBindingContext(Marshaller m)
Copyright © 2015 Oracle Corporation. All rights reserved.