@Nullable @ReturnsMutableCopy public final ICommonsList <DATATYPE> getAllChildDatas () { if (m_aChildren == null) return null; return m_aChildren.getAllMapped (ITEMTYPE::getData); }
/** * @return A list with all phase IDs. Only phases having a valid ID are * considered. */ @Nonnull @ReturnsMutableCopy public ICommonsList <String> getAllPhaseIDs () { return m_aPhases.getAllMapped (PSPhase::hasID, PSPhase::getID); }
@Nullable @ReturnsMutableCopy public final ICommonsList <DATATYPE> getAllChildDatas () { if (m_aChildren == null) return null; return m_aChildren.getAllMapped (ITEMTYPE::getData); }
@Nonnull @ReturnsMutableCopy public ICommonsList <String> getAllTLSVersionIDs () { return m_aTLSVersions.getAllMapped (ETLSVersion::getID); }
/** * Get a list of all top-level rules that are style rules (implementing * {@link CSSStyleRule}). * * @return A copy of all contained style rules. Never <code>null</code>. */ @Nonnull @ReturnsMutableCopy public ICommonsList <CSSStyleRule> getAllStyleRules () { return m_aRules.getAllMapped (r -> r instanceof CSSStyleRule, r -> (CSSStyleRule) r); }
/** * @return A list with all phase IDs. Only phases having a valid ID are * considered. */ @Nonnull @ReturnsMutableCopy public ICommonsList <String> getAllPhaseIDs () { return m_aPhases.getAllMapped (PSPhase::hasID, PSPhase::getID); }
/** * Get a list of all top-level rules that are page rules (implementing * {@link CSSPageRule}). * * @return A copy of all contained <code>@page</code> rules. Never * <code>null</code>. */ @Nonnull @ReturnsMutableCopy public ICommonsList <CSSPageRule> getAllPageRules () { return m_aRules.getAllMapped (r -> r instanceof CSSPageRule, r -> (CSSPageRule) r); }
/** * Get a list of all top-level rules that are viewport rules (implementing * {@link CSSViewportRule}). * * @return A copy of all contained <code>@viewport</code> rules. Never * <code>null</code>. */ @Nonnull @ReturnsMutableCopy public ICommonsList <CSSViewportRule> getAllViewportRules () { return m_aRules.getAllMapped (r -> r instanceof CSSViewportRule, r -> (CSSViewportRule) r); }
/** * Get a list of all top-level rules that are media rules (implementing * {@link CSSMediaRule}). * * @return A copy of all contained <code>@media</code> rules. Never * <code>null</code>. */ @Nonnull @ReturnsMutableCopy public ICommonsList <CSSMediaRule> getAllMediaRules () { return m_aRules.getAllMapped (r -> r instanceof CSSMediaRule, r -> (CSSMediaRule) r); }
/** * Get a list of all top-level rules that are keyframes rules (implementing * {@link CSSKeyframesRule}). * * @return A copy of all contained <code>@keyframes</code> rules. Never * <code>null</code>. */ @Nonnull @ReturnsMutableCopy public ICommonsList <CSSKeyframesRule> getAllKeyframesRules () { return m_aRules.getAllMapped (r -> r instanceof CSSKeyframesRule, r -> (CSSKeyframesRule) r); }
/** * Get a list of all top-level rules that are support rules (implementing * {@link CSSSupportsRule}). * * @return A copy of all contained <code>@supports</code> rules. Never * <code>null</code>. */ @Nonnull @ReturnsMutableCopy public ICommonsList <CSSSupportsRule> getAllSupportsRules () { return m_aRules.getAllMapped (r -> r instanceof CSSSupportsRule, r -> (CSSSupportsRule) r); }
/** * Get a list of all top-level rules that are font-face rules (implementing * {@link CSSFontFaceRule}). * * @return A copy of all contained <code>@font-face</code> rules. Never * <code>null</code>. */ @Nonnull @ReturnsMutableCopy public ICommonsList <CSSFontFaceRule> getAllFontFaceRules () { return m_aRules.getAllMapped (r -> r instanceof CSSFontFaceRule, r -> (CSSFontFaceRule) r); }
@Nonnull @Nonempty public static ICommonsList <IReadableResource> getAllInvalidSVRLFiles () { return s_aSVRLs.getAllMapped (aFile -> aFile.getFileBaseName ().startsWith ("invalid"), SchematronTestFile::getResource); }
@Nonnull @Nonempty public static ICommonsList <IReadableResource> getAllValidXMLFiles () { return s_aXMLs.getAllMapped (aFile -> !aFile.getFileBaseName ().startsWith ("invalid"), SchematronTestFile::getResource); }
@Nonnull @Nonempty public static ICommonsList <IReadableResource> getAllValidSVRLFiles () { return s_aSVRLs.getAllMapped (aFile -> !aFile.getFileBaseName ().startsWith ("invalid"), SchematronTestFile::getResource); }
@Nonnull @Nonempty public static ICommonsList <IReadableResource> getAllInvalidXMLFiles () { return s_aXMLs.getAllMapped (aFile -> aFile.getFileBaseName ().startsWith ("invalid"), SchematronTestFile::getResource); } }
@Nonnull @Nonempty @ReturnsMutableCopy public ICommonsList <String> getAllResourcePaths () { return m_aResources.getAllMapped (WebSiteResource::getPath); }
/** * @return A list of the IDs of the supported TLS versions in the correct order. * May not be <code>null</code>. */ @Nonnull @ReturnsMutableCopy default ICommonsList <String> getAllTLSVersionIDs () { return getAllTLSVersions ().getAllMapped (ETLSVersion::getID); }
@Nonnull @Nonempty public static ICommonsList <IReadableResource> getAllValidSchematronFiles () { return s_aSCHs.getAllMapped (aFile -> !aFile.getFileBaseName ().startsWith ("invalid") && !aFile.getParentDirBaseName ().equals ("include"), SchematronTestFile::getResource); }
@Nonnull @Nonempty public static ICommonsList <IReadableResource> getAllInvalidSchematronFiles () { return s_aSCHs.getAllMapped (aFile -> aFile.getFileBaseName ().startsWith ("invalid") && !aFile.getParentDirBaseName ().equals ("include"), SchematronTestFile::getResource); }