Class SchemaSetValidationContext

java.lang.Object
com.aquima.interactions.communication.impl.validator.SchemaSetValidationContext

public final class SchemaSetValidationContext extends Object
Object that rewrites the schema's in a SchemaSet and creates a NamespaceContext object per schema.
Since:
9.0
Author:
Nicky van Noorloos
  • Constructor Details

    • SchemaSetValidationContext

      public SchemaSetValidationContext(ISchemaSetDefinition schemaSet, ISchemaContract contract)
      Public constuctor for testcases only.
      Parameters:
      schemaSet - The schema set definition, may not be null.
      contract - The contract definition, may not be null.
  • Method Details

    • getNamespaces

      protected String[] getNamespaces()
    • getNamespaceContext

      public NamespaceContext getNamespaceContext(String namespace)
      This method returns the namespace context for the provided namespace.
      Parameters:
      namespace - The namespace used for lookup of the context.
      Returns:
      The namespace context, never null.