/** * Creates a new JAXBContext, from which the Marshaller and Unmarshaller can be created, which are used by the Transformer * pipeline stage. * * @param classNames * An array of class names that can be resolved by this JAXBContext * @param properties * JAXB properties * @param kbase * The KnowledgeBase * @return * The JAXB Context * @throws javax.xml.bind.JAXBException */ public static JAXBContext newJAXBContext(String[] classNames, KnowledgeBase kbase) throws JAXBException { return newJAXBContext( classNames, Collections.<String, Object> emptyMap(), kbase ); }
/** * Creates a new JAXBContext, from which the Marshaller and Unmarshaller can be created, which are used by the Transformer * pipeline stage. * * @param classNames * An array of class names that can be resolved by this JAXBContext * @param properties * JAXB properties * @param kbase * The KnowledgeBase * @return * The JAXB Context * @throws JAXBException */ public static JAXBContext newJAXBContext(String[] classNames, KnowledgeBase kbase) throws JAXBException { return newJAXBContext( classNames, Collections.<String, Object> emptyMap(), kbase ); }
/** * Creates a new JAXBContext, from which the Marshaller and Unmarshaller can be created, which are used by the Transformer * pipeline stage. * * @param classNames * An array of class names that can be resolved by this JAXBContext * @param properties * JAXB properties * @param kbase * The KnowledgeBase * @return * The JAXB Context * @throws JAXBException */ public static JAXBContext newJAXBContext(String[] classNames, KnowledgeBase kbase) throws JAXBException { return newJAXBContext( classNames, Collections.<String, Object> emptyMap(), kbase ); }