Package eu.europa.esig.dss.tsl.parsing
Class AbstractParsingTask<T extends AbstractParsingResult>
java.lang.Object
eu.europa.esig.dss.tsl.parsing.AbstractParsingTask<T>
- Type Parameters:
T
- implementation of a corresponding parsing task (TL/LOTL)
- All Implemented Interfaces:
Supplier<T>
- Direct Known Subclasses:
LOTLParsingTask
,TLParsingTask
public abstract class AbstractParsingTask<T extends AbstractParsingResult>
extends Object
implements Supplier<T>
Abstract class to parse a LOTL/TL
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractParsingTask
(DSSDocument document) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected void
commonParseSchemeInformation
(AbstractParsingResult result, TSLSchemeInformationType schemeInformation) Extracts the common valuesprotected TrustedListFacade
This method loads aTrustedListFacade
protected TrustStatusListType
Gets theTrustStatusListType
-
Constructor Details
-
AbstractParsingTask
Default constructor- Parameters:
document
-DSSDocument
-
-
Method Details
-
getJAXBObject
Gets theTrustStatusListType
- Returns:
TrustStatusListType
-
createTrustedListFacade
This method loads aTrustedListFacade
- Returns:
TrustedListFacade
-
commonParseSchemeInformation
protected void commonParseSchemeInformation(AbstractParsingResult result, TSLSchemeInformationType schemeInformation) Extracts the common values- Parameters:
result
-AbstractParsingResult
schemeInformation
-TSLSchemeInformationType
-