Java Reference
In-Depth Information
able to the caller. We'll take a look at some of these advanced options in the next recipe, but
this is all you need for general-purpose use.
If you want to explore more options in creating the schema factory, check out these methods:
factory.setErrorHandler(errorHandler)
factory.setFeature(string, value)
factory.setResourceResolver(resourceResolver)
factory.setProperty(prop, obj)
See Also
Creating a Web Service That Uses Complex Types Based on Custom WSDL and a Custom
Schema explains in detail a web service you can deploy and use to generate JAXB types from
its schema. You can then use the techniques in this recipe to validate the Java object used to
invoke the service.
Search WWH ::




Custom Search