Annotation Type ExtractByUrl
Define a extractor to extract data in url of current page. Only regex can be used.
- Since:
- 0.2.0
- Author:
- code4crafter@gmail.com
-
Optional Element Summary
-
Element Details
-
value
String valueExtractor expression, only regex can be used- Returns:
- extractor expression
- Default:
- ""
-
notNull
boolean notNullDefine whether the field can be null.
If set to 'true' and the extractor get no result, the entire class will be discarded.- Returns:
- whether the field can be null
- Default:
- false
-
multi
boolean multiDeprecated.since 0.4.2Define whether the extractor return more than one result. When set to 'true', the extractor return a list of string (so you should define the field as List).
Deprecated since 0.4.2. This option is determined automatically by the class of field.- Returns:
- whether the extractor return more than one result
- Default:
- false
-