Class XsdSchemaParser

java.lang.Object
net.n2oapp.framework.sandbox.resource.XsdSchemaParser

@Component public class XsdSchemaParser extends Object
Класс для работы с xsd схемами. Позволяет получать схему по входному неймспейсу.
  • Constructor Details

    • XsdSchemaParser

      public XsdSchemaParser(org.springframework.core.io.ResourceLoader resourceLoader)
  • Method Details

    • getSchema

      public org.springframework.core.io.Resource getSchema(String schemaNamespace) throws IOException
      Получение ресурса схемы по ее неймспейсу
      Parameters:
      schemaNamespace - Неймспейс схемы
      Returns:
      XSD cхема
      Throws:
      IOException