Class XmlTypeToJsonSchemaConverter

java.lang.Object
org.frankframework.align.XmlTypeToJsonSchemaConverter

public class XmlTypeToJsonSchemaConverter extends Object
  • Field Details

    • log

      protected org.apache.logging.log4j.Logger log
    • SCHEMA_DEFINITION_PATH

      public static final String SCHEMA_DEFINITION_PATH
      See Also:
  • Constructor Details

    • XmlTypeToJsonSchemaConverter

      public XmlTypeToJsonSchemaConverter(List<org.apache.xerces.xs.XSModel> models, boolean skipArrayElementContainers, boolean skipRootElement, String schemaLocation)
    • XmlTypeToJsonSchemaConverter

      public XmlTypeToJsonSchemaConverter(List<org.apache.xerces.xs.XSModel> models, boolean skipArrayElementContainers, boolean skipRootElement, String schemaLocation, String definitionsPath)
    • XmlTypeToJsonSchemaConverter

      public XmlTypeToJsonSchemaConverter(List<org.apache.xerces.xs.XSModel> models, boolean skipArrayElementContainers, String definitionsPath)
  • Method Details

    • createJsonSchema

      public jakarta.json.JsonStructure createJsonSchema(String elementName, String namespace)
    • createJsonSchema

      public jakarta.json.JsonStructure createJsonSchema(String elementName, org.apache.xerces.xs.XSElementDeclaration elementDecl)
    • getDefinitions

      public jakarta.json.JsonObject getDefinitions()