public class XmlTypeToJsonSchemaConverter extends Object
Modifier and Type | Field and Description |
---|---|
protected org.apache.logging.log4j.Logger |
log |
static String |
SCHEMA_DEFINITION_PATH |
Constructor and Description |
---|
XmlTypeToJsonSchemaConverter(List<org.apache.xerces.xs.XSModel> models,
boolean skipArrayElementContainers,
boolean skipRootElement,
String schemaLocation) |
XmlTypeToJsonSchemaConverter(List<org.apache.xerces.xs.XSModel> models,
boolean skipArrayElementContainers,
boolean skipRootElement,
String schemaLocation,
String definitionsPath) |
XmlTypeToJsonSchemaConverter(List<org.apache.xerces.xs.XSModel> models,
boolean skipArrayElementContainers,
String definitionsPath) |
Modifier and Type | Method and Description |
---|---|
jakarta.json.JsonStructure |
createJsonSchema(String elementName,
String namespace) |
jakarta.json.JsonStructure |
createJsonSchema(String elementName,
org.apache.xerces.xs.XSElementDeclaration elementDecl) |
jakarta.json.JsonObject |
getDefinitions() |
protected org.apache.logging.log4j.Logger log
public static final String SCHEMA_DEFINITION_PATH
public XmlTypeToJsonSchemaConverter(List<org.apache.xerces.xs.XSModel> models, boolean skipArrayElementContainers, boolean skipRootElement, String schemaLocation)
public XmlTypeToJsonSchemaConverter(List<org.apache.xerces.xs.XSModel> models, boolean skipArrayElementContainers, boolean skipRootElement, String schemaLocation, String definitionsPath)
public jakarta.json.JsonStructure createJsonSchema(String elementName, String namespace)
public jakarta.json.JsonStructure createJsonSchema(String elementName, org.apache.xerces.xs.XSElementDeclaration elementDecl)
public jakarta.json.JsonObject getDefinitions()
Copyright © 2023 Frank!Framework. All rights reserved.