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)
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.