public abstract class JsonSchemaOutputResolver extends SchemaOutputResolver
Purpose:Provides a schema output resolver specifically for Json Schemas. By passing a subclass of JsonSchemaOutputResolver in to the JAXBContext generateSchema method, will indicate that a JsonSchema should be generated instead of an Xml Schema.
Constructor and Description |
---|
JsonSchemaOutputResolver() |
Modifier and Type | Method and Description |
---|---|
abstract Class |
getRootClass()
Returns the root class of the schema to be generated.
|
createOutput
public abstract Class getRootClass()
Copyright © 2017–2020 Eclipse.org - EclipseLink Project. All rights reserved.