File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 11# jsoup-annotations
22Jsoup Annotations POJO
33
4- ![ ] ( https://raw.githubusercontent.com/fcannizzaro/jsoup-annotations/master /icon.png)
4+ ![ ] ( /icon.png )
55
66# Usage
77
@@ -26,7 +26,7 @@ See [Sample Code]()
2626
2727# Annotations
2828
29- ## Selector(query)
29+ ## @ Selector (String: query)
3030Can be used for class or field.
3131
3232``` java
@@ -38,30 +38,30 @@ class Content {
3838}
3939```
4040
41- ## Text(query)
41+ ## @ Text (String: query)
4242``` java
4343@Text (" h3" )
4444String title;
4545```
4646
47- ## Attr(query,attr)
47+ ## @ Attr (String: query, String: attr)
4848``` java
4949@Text (value = " a" , attr = " href" )
5050String href;
5151```
5252
53- ## ForEach(query)
53+ ## ForEach(String: query)
5454``` java
5555@ForEach (" li" )
5656void iterate(Element el, [, int index]){
5757 // do something
5858}
5959```
6060
61- ## Child
61+ ## @ Child
6262Denote Field as child element (POJO).
6363
64- ## Items
64+ ## @ Items
6565Denote Field as List of Elements (POJO).
6666
6767# License
You can’t perform that action at this time.
0 commit comments