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
ConstructorsModifierConstructorDescriptionprotectedDefault 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 versionvoidsetDistributionPoints(List<String> distributionPoints) Sets a list of distribution point urlsvoidsetIssueDate(Date issueDate) Sets the issue datevoidsetNextUpdateDate(Date nextUpdateDate) Sets the next update datevoidsetSequenceNumber(Integer sequenceNumber) Sets the sequence numbervoidsetStructureValidationMessages(List<String> structureValidationMessages) Sets the structure validation error messagesvoidsetTerritory(String territory) Sets the territoryvoidsetTSLType(TSLType tslType) Sets the TSLTypevoidsetVersion(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
Strings
-
setDistributionPoints
Sets a list of distribution point urls- Parameters:
distributionPoints- a list ofStrings
-
getStructureValidationMessages
Gets a list of error messages when occurred during the structure validation- Returns:
- a list of
Stringstructure validation messages, empty list if the structure validation succeeded
-
setStructureValidationMessages
Sets the structure validation error messages- Parameters:
structureValidationMessages- a list ofStringerror messages when occurred on the structure validation
-