Class SchemaContextTemplate

java.lang.Object
com.aquima.interactions.test.templates.context.EventContextTemplate
com.aquima.interactions.test.templates.context.SchemaContextTemplate

public class SchemaContextTemplate extends EventContextTemplate
Template that may be used to create an schema context.
Since:
9.0
Author:
O. Kerpershoek
  • Constructor Details

    • SchemaContextTemplate

      public SchemaContextTemplate()
      Constructs the template with an new application template.
    • SchemaContextTemplate

      public SchemaContextTemplate(IApplicationTemplate application)
      Constructs the template with the specified application template.
      Parameters:
      application - The application template that should be used by the action context.
  • Method Details

    • addParameter

      public void addParameter(String name, String strValue)
      This method may be used to add a parameter for the container.
      Parameters:
      name - The name of the parameter.
      strValue - The value of the parameter.
    • getParameters

      protected com.aquima.interactions.foundation.IParameters getParameters()
    • getApplicationTemplate

      public IApplicationTemplate getApplicationTemplate()
      This method returns the application template that is used by the action context.
      Specified by:
      getApplicationTemplate in class EventContextTemplate
      Returns:
      the application template that is used by the action context.
    • setXmlElementContext

      public void setXmlElementContext(com.aquima.interactions.communication.IXmlElementContext context)
      This method may be used to set the xml element context that should be used for this schema context.
      Parameters:
      context - The xml element context.
    • toContext

      public com.aquima.interactions.portal.ISchemaContext toContext()
      This method converts the template to an schema context.
      Returns:
      Schema context based on the template.