Package org.faktorips.runtime.xml.javax
Class IpsJAXBContext
java.lang.Object
javax.xml.bind.JAXBContext
org.faktorips.runtime.xml.javax.IpsJAXBContext
Wraps a given
JAXBContext and provides marshallers/unmarshallers that resolve the
reference from configurable model objects to product components. Additionally it provides the
marshalling of Faktor-IPS enumerations that defer their values to an enumeration content that is
held by a Faktor-IPS IRuntimeRepository. See createMarshaller() and
createUnmarshaller() for more details. All other methods just delegate to the wrapped
context.-
Field Summary
Fields inherited from class javax.xml.bind.JAXBContext
JAXB_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionIpsJAXBContext(JAXBContext wrappedCtx, List<? extends org.faktorips.runtime.xml.IIpsXmlAdapter<?, ?>> enumXmlAdapters, org.faktorips.runtime.IRuntimeRepository repository) -
Method Summary
Modifier and TypeMethodDescription<T> Binder<T>createBinder(Class<T> domType) Deprecated.voidgenerateSchema(SchemaOutputResolver outputResolver) org.faktorips.runtime.IRuntimeRepositoryReturns the Faktor-IPS runtime repository.Methods inherited from class javax.xml.bind.JAXBContext
newInstance, newInstance, newInstance, newInstance, newInstance
-
Constructor Details
-
IpsJAXBContext
public IpsJAXBContext(JAXBContext wrappedCtx, List<? extends org.faktorips.runtime.xml.IIpsXmlAdapter<?, ?>> enumXmlAdapters, org.faktorips.runtime.IRuntimeRepository repository)
-
-
Method Details
-
getRepository
public org.faktorips.runtime.IRuntimeRepository getRepository()Returns the Faktor-IPS runtime repository. -
createMarshaller
- Specified by:
createMarshallerin classJAXBContext- Throws:
JAXBException
-
createUnmarshaller
- Specified by:
createUnmarshallerin classJAXBContext- Throws:
JAXBException
-
createValidator
Deprecated.- Specified by:
createValidatorin classJAXBContext- Throws:
JAXBException
-
createBinder
- Overrides:
createBinderin classJAXBContext
-
createBinder
- Overrides:
createBinderin classJAXBContext
-
createJAXBIntrospector
- Overrides:
createJAXBIntrospectorin classJAXBContext
-
generateSchema
- Overrides:
generateSchemain classJAXBContext- Throws:
IOException
-