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 Summary
Constructors Constructor Description SchemaSetValidationContext(ISchemaSetDefinition schemaSet, ISchemaContract contract)
Public constuctor for testcases only.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NamespaceContext
getNamespaceContext(String namespace)
This method returns the namespace context for the provided namespace.protected String[]
getNamespaces()
-
-
-
Constructor Detail
-
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 Detail
-
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.
-
-