Class CountryCheck
java.lang.Object
eu.europa.esig.dss.validation.process.ChainItem<XmlSubXCV>
eu.europa.esig.dss.validation.process.bbb.AbstractMultiValuesCheckItem<XmlSubXCV>
eu.europa.esig.dss.validation.process.bbb.xcv.sub.checks.CountryCheck
Checks if the country's name is acceptable
-
Field Summary
Fields inherited from class ChainItem
i18nProvider -
Constructor Summary
ConstructorsConstructorDescriptionCountryCheck(I18nProvider i18nProvider, XmlSubXCV result, CertificateWrapper certificate, MultiValuesRule constraint) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected MessageTagReturns an i18n key String of an error message to getprotected IndicationGets an Indication in case of failureprotected SubIndicationGets a SubIndication in case of failureprotected MessageTagReturns an i18n key String of a message to getprotected booleanprocess()Performs the checkMethods inherited from class AbstractMultiValuesCheckItem
processValueCheck, processValuesCheckMethods inherited from class ChainItem
buildAdditionalInfo, buildConstraintMessage, buildErrorMessage, buildXmlMessage, continueProcessOnFail, execute, getAdditionalInfo, getBlockType, getLevel, getPreviousErrors, getSuccessIndication, getSuccessSubIndication, isIndeterminateConclusion, isInvalidConclusion, isValid, isValidConclusion, setNextItem
-
Constructor Details
-
CountryCheck
public CountryCheck(I18nProvider i18nProvider, XmlSubXCV result, CertificateWrapper certificate, MultiValuesRule constraint) Default constructor- Parameters:
i18nProvider-I18nProviderresult- the resultcertificate-CertificateWrapperconstraint-MultiValuesRule
-
-
Method Details
-
process
-
getMessageTag
Description copied from class:ChainItemReturns an i18n key String of a message to get- Overrides:
getMessageTagin classChainItem<XmlSubXCV>- Returns:
MessageTagkey
-
getErrorMessageTag
Description copied from class:ChainItemReturns an i18n key String of an error message to get- Overrides:
getErrorMessageTagin classChainItem<XmlSubXCV>- Returns:
MessageTagkey
-
getFailedIndicationForConclusion
Description copied from class:ChainItemGets an Indication in case of failure- Specified by:
getFailedIndicationForConclusionin classChainItem<XmlSubXCV>- Returns:
Indication
-
getFailedSubIndicationForConclusion
Description copied from class:ChainItemGets a SubIndication in case of failure- Specified by:
getFailedSubIndicationForConclusionin classChainItem<XmlSubXCV>- Returns:
SubIndication
-