Skip to content

Commit 47e5245

Browse files
author
Francesco Cannizzaro
committed
update readme
1 parent ba58ea0 commit 47e5245

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# jsoup-annotations
22
Jsoup 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)
3030
Can 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")
4444
String title;
4545
```
4646

47-
## Attr(query,attr)
47+
## @Attr(String: query, String: attr)
4848
```java
4949
@Text(value="a", attr="href")
5050
String href;
5151
```
5252

53-
## ForEach(query)
53+
## ForEach(String: query)
5454
```java
5555
@ForEach("li")
5656
void iterate(Element el, [, int index]){
5757
// do something
5858
}
5959
```
6060

61-
## Child
61+
## @Child
6262
Denote Field as child element (POJO).
6363

64-
## Items
64+
## @Items
6565
Denote Field as List of Elements (POJO).
6666

6767
# License

0 commit comments

Comments
 (0)