|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DroolsJaxbHelperProvider
DroolsJaxbHelperProvider is used by the DroolsJaxbHelperFactory to "provide" it's concrete implementation. This class is not considered stable and may change, the user is protected from this change by using the Factory api, which is considered stable.
This api is experimental and thus the classes and the interfaces returned are subject to change.
Method Summary | |
---|---|
String[] |
addXsdModel(Resource resource,
KnowledgeBuilder kbuilder,
com.sun.tools.xjc.Options xjcOpts,
String systemId)
Deprecated. This is now deprecated, as we now support XSD as a standard ResourceType. Although you'll still need the newJAXBContext method to create a JAXBContext from the KnowledgeBase. |
javax.xml.bind.JAXBContext |
newJAXBContext(String[] classNames,
Map<String,?> properties,
KnowledgeBase kbase)
Creates a new JAXBContext, from which the Marshaller and Unmarshaller can be created, which are used by the Transformer pipeline stage. |
Method Detail |
---|
String[] addXsdModel(Resource resource, KnowledgeBuilder kbuilder, com.sun.tools.xjc.Options xjcOpts, String systemId) throws IOException
resource
- The resource to the XSD modelkbuilder
- the KnowledgeBuilder where the generated .class files will be placedxjcOpts
- XJC OptionssystemId
- XJC systemId
IOException
javax.xml.bind.JAXBContext newJAXBContext(String[] classNames, Map<String,?> properties, KnowledgeBase kbase) throws javax.xml.bind.JAXBException
classNames
- An array of class names that can be resolved by this JAXBContextproperties
- JAXB propertieskbase
- The KnowledgeBase
javax.xml.bind.JAXBException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |