Class MavenCentralResponseExtractor
java.lang.Object
org.apache.maven.search.backend.remoterepository.extractor.ResponseExtractorSupport
org.apache.maven.search.backend.remoterepository.extractor.MavenCentralResponseExtractor
- All Implemented Interfaces:
ResponseExtractor
Extractor for Maven Central.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
populateG
(Context context, org.jsoup.nodes.Document document, RecordFactory recordFactory, List<Record> page) Method parsing document out of HTML page like this one: https://repo.maven.apache.org/maven2/org/apache/maven/indexer/int
populateGAV
(Context context, org.jsoup.nodes.Document document, RecordFactory recordFactory, List<Record> page) Method parsing document out of HTML page like this one: https://repo.maven.apache.org/maven2/org/apache/maven/indexer/search-api/7.0.3/Methods inherited from class org.apache.maven.search.backend.remoterepository.extractor.ResponseExtractorSupport
accept, isChecksum, isMetadata, isSignature, populateGA, populateGAVName
-
Constructor Details
-
MavenCentralResponseExtractor
public MavenCentralResponseExtractor()
-
-
Method Details
-
populateG
public int populateG(Context context, org.jsoup.nodes.Document document, RecordFactory recordFactory, List<Record> page) Description copied from interface:ResponseExtractor
Method parsing document out of HTML page like this one: https://repo.maven.apache.org/maven2/org/apache/maven/indexer/Note: this method is "best effort" and may enlist non-existent As (think nested Gs).
-
populateGAV
public int populateGAV(Context context, org.jsoup.nodes.Document document, RecordFactory recordFactory, List<Record> page) Description copied from interface:ResponseExtractor
Method parsing document out of HTML page like this one: https://repo.maven.apache.org/maven2/org/apache/maven/indexer/search-api/7.0.3/Note: this method is "best effort" and may enlist fake artifacts.
-