Annotation Type ComboExtract
Combo 'ExtractBy' extractor with and/or operator.
- Since:
- 0.2.1
- Author:
- code4crafter@gmail.com
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
types of source for extracting. -
Required Element Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
Deprecated.since 0.4.2boolean
Define whether the field can be null.
If set to 'true' and the extractor get no result, the entire class will be discarded.Combining operation of extractors.The source for extracting.
-
Element Details
-
value
ExtractBy[] valueThe extractors to be combined.- Returns:
- the extractors to be combined
-
-
-
op
Combining operation of extractors.- Returns:
- combining operation of extractors
- Default:
- And
-
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
-
source
ComboExtract.Source sourceThe source for extracting.
It works only if you already added 'ExtractBy' to Class.- Returns:
- the source for extracting
- Default:
- SelectedHtml
-
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
-