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.6.3, "build v20160428-59c81c5" API Reference