public class JsonSchemaGenerator extends Object
Purpose: This class generates an instance of JsonSchema based on an EclipseLink project and given a root class. The descriptor for the root class' mappings are traversed and the associated schema artifacts are created.
Constructor and Description |
---|
JsonSchemaGenerator(JAXBContext jaxbContext,
Map properties) |
Modifier and Type | Method and Description |
---|---|
JsonSchema |
generateSchema(Class rootClass) |
public JsonSchemaGenerator(JAXBContext jaxbContext, Map properties)
public JsonSchema generateSchema(Class rootClass)
EclipseLink 2.5.2, "build v20140319-9ad6abd" API Reference