Examples of MessageValidator


Examples of ca.uhn.hl7v2.validation.MessageValidator

     * @param theContext the set of validation rules to be applied to messages parsed or
     *      encoded by this parser (defaults to ValidationContextFactory.DefaultValidation)
     */
    public void setValidationContext(ValidationContext theContext) {
        myContext = theContext;
        myValidator = new MessageValidator(theContext, true);
    }
View Full Code Here

Examples of ca.uhn.hl7v2.validation.MessageValidator

  public GenericParser getGenericParser() {
    return new GenericParser(this);
  }

  public MessageValidator getMessageValidator() {
    return new MessageValidator(this);
  }
View Full Code Here

Examples of ca.uhn.hl7v2.validation.MessageValidator

   *            or encoded by this parser (defaults to
   *            ValidationContextFactory.DefaultValidation)
   */
  public void setValidationContext(ValidationContext theContext) {
    myContext = theContext;
    myValidator = new MessageValidator(theContext, true);
  }
View Full Code Here

Examples of ca.uhn.hl7v2.validation.MessageValidator

        try {
            Message message = exchange.getIn().getBody(Message.class);
            ValidationContext context = validatorExpression != null
                    ? validatorExpression.evaluate(exchange, ValidationContext.class)
                    : dynamicValidationContext(message, exchange.getIn().getHeader(HL7Constants.HL7_CONTEXT, HapiContext.class));
            MessageValidator validator = new MessageValidator(context, false);
            return validator.validate(message);
        } catch (HL7Exception e) {
            throw ObjectHelper.wrapRuntimeCamelException(e);
        }
    }
View Full Code Here

Examples of ca.uhn.hl7v2.validation.MessageValidator

    @Override
    public boolean matches(Exchange exchange) {
        try {
            ValidationContext context = validatorExpression.evaluate(exchange, ValidationContext.class);
            MessageValidator validator = new MessageValidator(context, false);
            return validator.validate(exchange.getIn().getBody(Message.class));
        } catch (HL7Exception e) {
            throw ObjectHelper.wrapRuntimeCamelException(e);
        }
    }
View Full Code Here

Examples of ca.uhn.hl7v2.validation.MessageValidator

     * @param theContext the set of validation rules to be applied to messages parsed or
     *      encoded by this parser (defaults to ValidationContextFactory.DefaultValidation)
     */
    public void setValidationContext(ValidationContext theContext) {
        myContext = theContext;
        myValidator = new MessageValidator(theContext, true);
    }
View Full Code Here

Examples of ca.uhn.hl7v2.validation.MessageValidator

     * @param theContext the set of validation rules to be applied to messages parsed or
     *      encoded by this parser (defaults to ValidationContextFactory.DefaultValidation)
     */
    public void setValidationContext(ValidationContext theContext) {
        myContext = theContext;
        myValidator = new MessageValidator(theContext, true);
    }
View Full Code Here

Examples of org.activiti.validation.validator.impl.MessageValidator

    validatorSet.addValidator(new SubprocessValidator());
    validatorSet.addValidator(new EventSubprocessValidator());
    validatorSet.addValidator(new BoundaryEventValidator());
    validatorSet.addValidator(new IntermediateCatchEventValidator());
    validatorSet.addValidator(new IntermediateThrowEventValidator());
    validatorSet.addValidator(new MessageValidator());
    validatorSet.addValidator(new EventValidator());
    validatorSet.addValidator(new EndEventValidator());
   
    validatorSet.addValidator(new ExecutionListenerValidator());
    validatorSet.addValidator(new ActivitiEventListenerValidator());
View Full Code Here

Examples of org.eclipse.wst.wsi.internal.core.profile.validator.MessageValidator

   * @see org.wsi.test.profile.validator.ProfileValidatorFactory#newMessageValidator()
   */
  public MessageValidator newMessageValidator() throws WSIException
  {
    // Create new message validator
    MessageValidator messageValidator = new MessageValidatorImpl();
    // Return validator
    return messageValidator;
  }
View Full Code Here

Examples of org.jitterbit.integration.data.entity.message.MessageValidator

     * Required properties: SMTP server, Sender, Receiver, Subject, and message text.
     *
     */
    @Override
    protected void validateOtherPropertiesThanTheName(ValidationMessageCollector collector) {
        new MessageValidator(this, collector).run();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.