Class SchemaMapper<T>

java.lang.Object
com.axelor.studio.mapper.xml.SchemaMapper<T>
Direct Known Subclasses:
EntitySchemaMapper, ViewSchemaMapper

public abstract class SchemaMapper<T> extends Object
  • Constructor Details

    • SchemaMapper

      public SchemaMapper(String schemaName, Class<T> contextType)
  • Method Details

    • getNamespace

      protected String getNamespace()
    • getSchema

      protected String getSchema()
    • getSchemaLocation

      protected String getSchemaLocation()
    • getMarshaller

      protected jakarta.xml.bind.Marshaller getMarshaller() throws jakarta.xml.bind.JAXBException, SAXException
      Throws:
      jakarta.xml.bind.JAXBException
      SAXException
    • write

      public void write(Writer writer, T obj) throws jakarta.xml.bind.JAXBException, SAXException
      Throws:
      jakarta.xml.bind.JAXBException
      SAXException