Class ValidationAndStatusHandlerDAC8

java.lang.Object
eu.europa.ec.taxud.handler.AbstractHandler
eu.europa.ec.taxud.validation.ValidationAndStatusHandler
eu.europa.ec.taxud.dac8.vm.validation.ValidationAndStatusHandlerDAC8

public class ValidationAndStatusHandlerDAC8 extends eu.europa.ec.taxud.validation.ValidationAndStatusHandler
ValidationAndStatusHandlerDAC8 contains the logic to validate a DAC8 message and generate the appropriate statue message.
  • Field Summary

    Fields inherited from class eu.europa.ec.taxud.handler.AbstractHandler

    config
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    initContext(eu.europa.ec.taxud.validation.ValidationContext context, String[] args)
    Init method to initialise the ValidationContext component (such as Validator, Reader) according to the provided arguments given by the user from the command line.
    eu.europa.ec.taxud.validation.input.ValidationInput
    initInput(String[] args)
    Initialises the ValidationInput according to the provided arguments.

    Methods inherited from class eu.europa.ec.taxud.validation.ValidationAndStatusHandler

    getRelatedValidationHandler

    Methods inherited from class eu.europa.ec.taxud.handler.AbstractHandler

    initContext, isApplicationDomainSupported, loadConfig, printHelp, validateContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ValidationAndStatusHandlerDAC8

      public ValidationAndStatusHandlerDAC8()
      Default constructor.
  • Method Details

    • initInput

      public eu.europa.ec.taxud.validation.input.ValidationInput initInput(String[] args)
      Initialises the ValidationInput according to the provided arguments.
      Specified by:
      initInput in class eu.europa.ec.taxud.validation.ValidationAndStatusHandler
      Parameters:
      args - the arguments to generate the ValidationInput
      Returns:
      a ValidationInput
    • initContext

      public boolean initContext(eu.europa.ec.taxud.validation.ValidationContext context, String[] args)
      Init method to initialise the ValidationContext component (such as Validator, Reader) according to the provided arguments given by the user from the command line.
      Specified by:
      initContext in class eu.europa.ec.taxud.handler.AbstractHandler
      Parameters:
      context - Validation context
      args - the command line argument by the user
      Returns:
      boolean Is the handler applicable for input message