@Test public void parseLOTLPivotSupport() { LOTLSource lotlSource = new LOTLSource(); lotlSource.setPivotSupport(true); LOTLParsingTask task = new LOTLParsingTask(LOTL, lotlSource); LOTLParsingResult result = task.get(); assertNotNull(result); assertNotNull(result.getIssueDate()); assertNotNull(result.getNextUpdateDate()); assertEquals(5, result.getVersion()); assertEquals(248, result.getSequenceNumber()); assertNull(result.getSigningCertificateAnnouncementURL()); assertNotNull(result.getPivotURLs()); assertEquals(0, result.getPivotURLs().size()); assertEquals(1, result.getLotlPointers().size()); assertEquals(31, result.getTlPointers().size()); assertEquals("EU", result.getTerritory()); }
@Override public LOTLParsingResult get() { LOTLParsingResult result = new LOTLParsingResult(); TrustStatusListType jaxbObject = getJAXBObject(); parseSchemeInformation(result, jaxbObject.getSchemeInformation()); return result; }
LOTLParsingTask extends AbstractParsingTask implements Supplier<LOTLParsingResult> { @Override public LOTLParsingResult get() { LOTLParsingResult result = new LOTLParsingResult(); TrustStatusListType jaxbObject = getJAXBObject(); parseSchemeInformation(result, jaxbObject.getSchemeInformation()); return result; } }
LOTLParsingTask extends AbstractParsingTask implements Supplier<LOTLParsingResult> { @Override public LOTLParsingResult get() { LOTLParsingResult result = new LOTLParsingResult(); TrustStatusListType jaxbObject = getJAXBObject(); parseSchemeInformation(result, jaxbObject.getSchemeInformation()); return result; } LOTLParsingTask(DSSDocument document, LOTLSource lotlSource); }
LOTLParsingTask extends AbstractParsingTask implements Supplier<LOTLParsingResult> { @Override public LOTLParsingResult get() { LOTLParsingResult result = new LOTLParsingResult(); TrustStatusListType jaxbObject = getJAXBObject(); parseSchemeInformation(result, jaxbObject.getSchemeInformation()); return result; } LOTLParsingTask(DSSDocument document, LOTLSource lotlSource); @Override LOTLParsingResult get(); }
LOTLParsingTask extends AbstractParsingTask implements Supplier<LOTLParsingResult> { @Override public LOTLParsingResult get() { LOTLParsingResult result = new LOTLParsingResult(); TrustStatusListType jaxbObject = getJAXBObject(); parseSchemeInformation(result, jaxbObject.getSchemeInformation()); return result; } LOTLParsingTask(DSSDocument document, LOTLSource lotlSource); @Override LOTLParsingResult get();  }