Interface ResponseExtractor
- All Known Implementing Classes:
MavenCentralResponseExtractor
,Nx2ResponseExtractor
,ResponseExtractorSupport
public interface ResponseExtractor
A component extracting data from response, that is aware of any remote specifics (like HTML structure).
-
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
populateGA
(Context context, org.jsoup.nodes.Document document, RecordFactory recordFactory, List<Record> page) Method parsing document out of XML Maven Metadata like this one: https://repo.maven.apache.org/maven2/org/apache/maven/indexer/search-api/maven-metadata.xmlint
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/
-
Method Details
-
populateG
int 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/Note: this method is "best effort" and may enlist non-existent As (think nested Gs).
-
populateGA
int populateGA(Context context, org.jsoup.nodes.Document document, RecordFactory recordFactory, List<Record> page) Method parsing document out of XML Maven Metadata like this one: https://repo.maven.apache.org/maven2/org/apache/maven/indexer/search-api/maven-metadata.xml -
populateGAV
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/Note: this method is "best effort" and may enlist fake artifacts.
-