All Known Implementing Classes:
ComplexTypeProcessor, SimpleTypeProcessor

public interface TypeProcessor
The TypeProcessor interface defines methods for processing XML Schema types and converting them into JSON Schema nodes.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    processRootType(org.apache.xerces.xs.XSElementDeclaration element, com.fasterxml.jackson.databind.node.ObjectNode node, String id, boolean addTitle)
    Processes the root XML Schema element declaration and updates the provided JSON Schema object node.
    void
    processType(org.apache.xerces.xs.XSElementDeclaration element, org.apache.xerces.xs.XSParticle elementStructure, com.fasterxml.jackson.databind.node.ObjectNode node, String id, boolean addTitle)
    Processes an XML Schema element declaration and updates the provided JSON Schema object node.
  • Method Details

    • processType

      void processType(org.apache.xerces.xs.XSElementDeclaration element, org.apache.xerces.xs.XSParticle elementStructure, com.fasterxml.jackson.databind.node.ObjectNode node, String id, boolean addTitle)
      Processes an XML Schema element declaration and updates the provided JSON Schema object node.
      Parameters:
      element - the XML Schema element declaration
      elementStructure - the XML Schema particle structure
      node - the JSON Schema object node to update
      id - the identifier for the JSON Schema node
      addTitle - flag indicating if the title should be added
    • processRootType

      void processRootType(org.apache.xerces.xs.XSElementDeclaration element, com.fasterxml.jackson.databind.node.ObjectNode node, String id, boolean addTitle)
      Processes the root XML Schema element declaration and updates the provided JSON Schema object node.
      Parameters:
      element - the XML Schema element declaration
      node - the JSON Schema object node to update
      id - the identifier for the JSON Schema node
      addTitle - flag indicating if the title should be added