Uses of Class
eu.europa.ec.taxud.validation.ValidationContext
Packages that use ValidationContext
Package
Description
Status Message relevant classes
Validation message relevant classes
Contains the
Readers and all relavant to the Readers classesContains various utility classes
Contains all the Validation relevant classes
-
Uses of ValidationContext in eu.europa.ec.taxud.handler
Methods in eu.europa.ec.taxud.handler with parameters of type ValidationContextModifier and TypeMethodDescriptionbooleanAbstractHandler.initContext(ValidationContext context) Generic Init method to initialize the ValidationContext component (such as Validator, Reader).abstract booleanAbstractHandler.initContext(ValidationContext context, String[] args) Initialise ValidationContext based on args of command line interfaces.booleanAbstractHandler.isApplicationDomainSupported(ValidationContext context) Is application domain supported by the current validation handler.voidAbstractHandler.validateContext(ValidationContext context) Validate the current context given. -
Uses of ValidationContext in eu.europa.ec.taxud.instantiation
Methods in eu.europa.ec.taxud.instantiation with parameters of type ValidationContextModifier and TypeMethodDescriptionabstract booleanStatusMessageHandler.initContext(ValidationContext context, StatusMessageRequest statusMessageRequest) Initialise the ValidationContext based on the statusMessageRequest object sent by the EVM interface.abstract booleanStatusMessageHandler.isApplicable(ValidationContext context) Checks if handler is applicable for ValidationContext.abstract StringStatusMessageHandler.process(ValidationContext context) Generate a status message based on ValidationContext information.StatusMessageManager.process(ValidationContext context) Process the providedValidationContextto generate the Status message corresponding to thisValidationContextby calling all the appropriate handlers -
Uses of ValidationContext in eu.europa.ec.taxud.validation
Methods in eu.europa.ec.taxud.validation with parameters of type ValidationContextModifier and TypeMethodDescriptionprotected voidValidationHandler.additionalAttributesProcess(ValidationContext context, ValidationRequest validationRequest) Process the information contains in Additional Attributes of the request.ValidationHandler.getAvailableBusinessRules(ValidationContext context) Gets available business rules.ValidationManager.getAvailableBusinessRules(ValidationContext context) Gets available business rules.abstract StringValidationHandler.handleErrors(ValidationContext context) Generic method that creates a string representation of the errorsbooleanValidationHandler.initContext(ValidationContext context) Generic Init method to initialize the ValidationContext component (such as Validator, Reader).booleanValidationHandler.initContext(ValidationContext context, ValidationRequest validationRequest) Initialise ValidationContext based on ValidationRequest of the EVM interfaces.ValidationAndStatusManager.process(ValidationInput source, ValidationContext context) Validates theValidationInputand generates a Status message according to the providedValidationContextValidationAndStatusManager.process(ValidationContext context, String[] args) Generates a Status message according to the providedValidationContextand the provided argumentsValidationHandler.process(ValidationInput input, ValidationContext context) Process a ValidationInput with a specific ValidationContext.ValidationManager.process(ValidationRequest validationRequest, ValidationContext context) Executes all registered validation handlers on aValidationRequestcontent.ValidationManager.process(ValidationInput source, ValidationContext context) Executes all registered validation handlers on aValidationInputcontent.ValidationManager.process(ValidationContext context, String[] args) Triggers all the appropriate handlers for validation and returns the errors as string -
Uses of ValidationContext in eu.europa.ec.taxud.validation.reader
Methods in eu.europa.ec.taxud.validation.reader with parameters of type ValidationContextModifier and TypeMethodDescriptionvoidJSONFileReader.read(ValidationInput input, ValidationContext context) voidReader.read(ValidationInput input, ValidationContext context) Main method to process the input.voidXMLFileReader.read(ValidationInput input, ValidationContext context) Main method to process the input.voidEndOfFileCallback.run(ValidationContext context) Run.voidXMLFileReader.validate(LightweightElement lwElem, ValidationContext context) Validate the business object expected in the rule (lightweight element).voidXMLFileReader.validate(Node node, ValidationContext context, Class<?> ruleClass) Validate the business object expected in the rule (POJO or Node). -
Uses of ValidationContext in eu.europa.ec.taxud.validation.rules.api
Methods in eu.europa.ec.taxud.validation.rules.api with parameters of type ValidationContextModifier and TypeMethodDescriptionbooleanRuleProxy.condition(Object message, ValidationContext context) Condition of execution of the target rule.voidRuleProxy.logExecutionTime(ValidationContext context) Log execution time of the target rule.voidRuleProxy.validate(Object message, ValidationContext context) Call the validation method of the target rule. -
Uses of ValidationContext in eu.europa.ec.taxud.validation.utils
Methods in eu.europa.ec.taxud.validation.utils with parameters of type ValidationContextModifier and TypeMethodDescriptionXmlUtils.findElements(ValidationContext context, Element element, String path) Search for Element based on XPath and current Validation Context.XmlUtils.findElementsWithoutAncestors(ValidationContext context, Element element, String path) Search for Element based on XPath and current Validation Context.static ObjectXmlUtils.getChildObjectValue(ValidationContext context, Node node, String path, QName type) Get the value of a child object based on XPath, current Node and current Validation Context.static NodeListXmlUtils.getNodeList(ValidationContext context, Element element, String path) Returns the node list based on XPath and current Validation Context.static NodeListXmlUtils.getNodeListWithoutAncestors(ValidationContext context, Element element, String path) Returns the node list based on XPath and current Validation Context.static ObjectXmlUtils.getObjectValue(ValidationContext context, Node node, String path, QName type) Get the value of an object based on XPath, current Node and current Validation Context. -
Uses of ValidationContext in eu.europa.ec.taxud.validation.validator
Methods in eu.europa.ec.taxud.validation.validator with parameters of type ValidationContextModifier and TypeMethodDescriptionprotected booleanSecurityValidator.checkThreats(ValidationInput input, ValidationContext context) Checks if the input does not contain any threat.protected voidXSDValidator.checkXMLDeclaration(ValidationInput input, ValidationContext context) Check xml declaration.protected booleanXSDValidator.checkXMLWellFormed(ValidationInput input, ValidationContext context) Check xml well formed boolean.abstract booleanValidationErrorHandler.initContext(ValidationContext context) Initializes the validation context.voidDroolsValidator.process(ValidationInput input, ValidationContext context) Read input data with provided reader.voidSchematronValidator.process(ValidationInput input, ValidationContext context) voidValidator.process(ValidationInput input, ValidationContext context) Method call to start processing a input data.voidVoidValidator.process(ValidationInput input, ValidationContext context) voidXSDValidator.process(ValidationInput input, ValidationContext context) Validates a file against the XSD.protected voidXSDValidator.recoverValidationFailure(ValidationInput input, ValidationContext context) Callback to recover from potential XSD errors.voidSchematronValidator.setContextProperties(ValidationContext context) Set context properties.voidBaseValidator.validate(Object input, ValidationContext context) Dedicated method for validation of input or fragment of input data.voidDroolsValidator.validate(Object message, ValidationContext context) Execute rules on input data.voidSchematronValidator.validate(Object message, ValidationContext context) voidSecurityValidator.validate(Object input, ValidationContext context) Dedicated method for validation of input or fragment of input data.voidValidator.validate(Object input, ValidationContext context) Dedicated method for validation of input or fragment of input data.SchematronValidator.validateAndReadErrors(ValidationContext context, String rule, InputStream xsl2Dsdl, InputStream xsl2Abstract, InputStream xsl2Svrl) Validate and read errors node list.Constructors in eu.europa.ec.taxud.validation.validator with parameters of type ValidationContextModifierConstructorDescriptionDefault constructor.