Commit | Line | Data |
---|---|---|
3e62b034 NR |
1 | package be.nikiroo.gofetch.support; |
2 | ||
3 | import org.jsoup.nodes.Node; | |
4 | ||
5 | /** | |
6 | * A default {@link ElementProcessor} (will not detect or process anything | |
7 | * manually). | |
8 | * | |
9 | * @author niki | |
10 | */ | |
11 | class BasicElementProcessor implements ElementProcessor { | |
12 | @Override | |
13 | public boolean detectQuote(Node node) { | |
14 | return false; | |
15 | } | |
16 | ||
17 | @Override | |
18 | public String processText(String text) { | |
19 | return text; | |
20 | } | |
21 | ||
22 | @Override | |
23 | public boolean ignoreNode(Node node) { | |
24 | return false; | |
25 | } | |
26 | ||
27 | @Override | |
28 | public String manualProcessing(Node node) { | |
29 | return null; | |
30 | } | |
31 | ||
32 | @Override | |
33 | public String isSubtitle(Node node) { | |
34 | return null; | |
35 | } | |
36 | } |