Package eu.europa.esig.dss.tsl.parsing
Class AbstractParsingResult
java.lang.Object
eu.europa.esig.dss.tsl.parsing.AbstractParsingResult
- All Implemented Interfaces:
CachedResult
- Direct Known Subclasses:
LOTLParsingResult
,TLParsingResult
Abstract parsing result
-
Field Summary
FieldsModifier and TypeFieldDescriptionA list of error messages occurred during a structure validation -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Default constructor instantiating object with null values -
Method Summary
Modifier and TypeMethodDescriptionGets distribution pointsGets issuing dateGets next update dateGets the sequence numberGets a list of error messages when occurred during the structure validationGets the territory (country)Gets the TSLTypeGets the versionvoid
setDistributionPoints
(List<String> distributionPoints) Sets a list of distribution point urlsvoid
setIssueDate
(Date issueDate) Sets the issue datevoid
setNextUpdateDate
(Date nextUpdateDate) Sets the next update datevoid
setSequenceNumber
(Integer sequenceNumber) Sets the sequence numbervoid
setStructureValidationMessages
(List<String> structureValidationMessages) Sets the structure validation error messagesvoid
setTerritory
(String territory) Sets the territoryvoid
setTSLType
(TSLType tslType) Sets the TSLTypevoid
setVersion
(Integer version) Sets the version
-
Field Details
-
structureValidationMessages
A list of error messages occurred during a structure validation
-
-
Constructor Details
-
AbstractParsingResult
protected AbstractParsingResult()Default constructor instantiating object with null values
-
-
Method Details
-
getTSLType
Gets the TSLType- Returns:
TSLType
-
setTSLType
Sets the TSLType- Parameters:
tslType
-String
-
getSequenceNumber
Gets the sequence number- Returns:
- sequence number
-
setSequenceNumber
Sets the sequence number- Parameters:
sequenceNumber
- sequence number
-
getVersion
Gets the version- Returns:
- version
-
setVersion
Sets the version- Parameters:
version
- version
-
getTerritory
Gets the territory (country)- Returns:
String
-
setTerritory
Sets the territory- Parameters:
territory
-String
-
getIssueDate
Gets issuing date- Returns:
Date
-
setIssueDate
Sets the issue date- Parameters:
issueDate
-Date
-
getNextUpdateDate
Gets next update date- Returns:
Date
-
setNextUpdateDate
Sets the next update date- Parameters:
nextUpdateDate
-Date
-
getDistributionPoints
Gets distribution points- Returns:
- a list of
String
s
-
setDistributionPoints
Sets a list of distribution point urls- Parameters:
distributionPoints
- a list ofString
s
-
getStructureValidationMessages
Gets a list of error messages when occurred during the structure validation- Returns:
- a list of
String
structure validation messages, empty list if the structure validation succeeded
-
setStructureValidationMessages
Sets the structure validation error messages- Parameters:
structureValidationMessages
- a list ofString
error messages when occurred on the structure validation
-