Class XmlValidationHelper

java.lang.Object
org.citrusframework.XmlValidationHelper

public class XmlValidationHelper extends Object
Author:
Christoph Deppisch
  • Method Details

    • getSchemaRepositories

      public static List<XsdSchemaRepository> getSchemaRepositories(TestContext context)
      Consult reference resolver in given test context and resolve all available beans of type XsdSchemaRepository.
      Parameters:
      context -
      Returns:
    • getNamespaceContextBuilder

      public static org.citrusframework.xml.namespace.NamespaceContextBuilder getNamespaceContextBuilder(TestContext context)
      Consult reference resolver in given test context and resolve bean of type NamespaceContextBuilder.
      Parameters:
      context - the current test context.
      Returns:
      resolved namespace context builder instance.