Class XmlMessageValidationContext

java.lang.Object
org.citrusframework.validation.context.DefaultValidationContext
org.citrusframework.validation.context.DefaultMessageValidationContext
org.citrusframework.validation.xml.XmlMessageValidationContext
All Implemented Interfaces:
org.citrusframework.validation.context.MessageValidationContext, org.citrusframework.validation.context.SchemaValidationContext, org.citrusframework.validation.context.ValidationContext
Direct Known Subclasses:
SoapFaultDetailValidationContext, XpathMessageValidationContext

public class XmlMessageValidationContext extends org.citrusframework.validation.context.DefaultMessageValidationContext
XML validation context holding validation specific information needed for XML message validation.
  • Constructor Details

    • XmlMessageValidationContext

      public XmlMessageValidationContext()
      Default constructor.
    • XmlMessageValidationContext

      public XmlMessageValidationContext(XmlMessageValidationContext.XmlValidationContextBuilder<?,?> builder)
      Constructor using fluent builder.
      Parameters:
      builder -
  • Method Details

    • updateStatus

      public void updateStatus(org.citrusframework.validation.context.ValidationStatus status)
      Specified by:
      updateStatus in interface org.citrusframework.validation.context.ValidationContext
      Overrides:
      updateStatus in class org.citrusframework.validation.context.DefaultValidationContext
    • getNamespaces

      public Map<String,String> getNamespaces()
      Get the namespace definitions for this validator.
      Returns:
      the namespaceContext
    • getControlNamespaces

      public Map<String,String> getControlNamespaces()
      Get control namespace elements.
      Returns:
      the controlNamespaces