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
ModifierConstructorDescriptionprotected
Default constructor instantiating object with null values -
Method Summary
Modifier and TypeMethodDescriptionGets distribution pointsGets issuing dateGets next update dateint
Gets the sequence numberGets the territory (country)Gets the TSLTypeint
Gets 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
(int sequenceNumber) Sets the sequence numbervoid
setTerritory
(String territory) Sets the territoryvoid
setTSLType
(TSLType tslType) Sets the TSLTypevoid
setVersion
(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
String
s
-
setDistributionPoints
Sets a list of distribution point urls- Parameters:
distributionPoints
- a list ofString
s
-