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
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor instantiating object with null values -
Method Summary
Modifier and TypeMethodDescriptionGets distribution pointsGets issuing dateGets next update dateintGets the sequence numberGets the territory (country)Gets the TSLTypeintGets 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(int sequenceNumber) Sets the sequence numbervoidsetTerritory(String territory) Sets the territoryvoidsetTSLType(TSLType tslType) Sets the TSLTypevoidsetVersion(int version) Sets the version
-
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
public int getSequenceNumber()Gets the sequence number- Returns:
- sequence number
-
setSequenceNumber
public void setSequenceNumber(int sequenceNumber) Sets the sequence number- Parameters:
sequenceNumber- sequence number
-
getVersion
public int getVersion()Gets the version- Returns:
- version
-
setVersion
public void setVersion(int version) 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
-