The search criteria of a ContentDirectory Search action as a tree (UPnP ContentDirectory service, search criteria grammar), pure Java: relations (dc:title contains "x", =, !=, <, <=, >, >=, doesNotContain, derivedfrom, exists true|false) joined by and and or (and binds stronger), brackets, and * for everything.
More...
|
| class | And |
| |
| class | InvalidSearchException |
| | A refused criteria: not valid, too big, or something this server does not do.
|
| |
| interface | Node |
| | A node of the tree: ALL, a Rel, an And or an Or. More...
|
| |
| enum | Op |
| |
| class | Or |
| |
| class | Rel |
| |
|
| static Node | parse (String criteria) throws InvalidSearchException |
| |
|
|
static final int | MAX_LENGTH = 8000 |
| |
|
static final int | MAX_RELATIONS = 200 |
| |
|
static final int | MAX_DEPTH = 24 |
| |
| static final Node | ALL |
| | Everything matches (*).
|
| |
The search criteria of a ContentDirectory Search action as a tree (UPnP ContentDirectory service, search criteria grammar), pure Java: relations (dc:title contains "x", =, !=, <, <=, >, >=, doesNotContain, derivedfrom, exists true|false) joined by and and or (and binds stronger), brackets, and * for everything.
Strings are in double quotes; a backslash escapes a backslash or a quote. The text comes from the network: it is limited in size, depth and number of relations before anything is built from it.
◆ parse()
| static Node de.yaacc.upnp.search.SearchExpression.parse |
( |
String | criteria | ) |
throws InvalidSearchException |
|
static |
◆ ALL
| final Node de.yaacc.upnp.search.SearchExpression.ALL |
|
static |
The documentation for this class was generated from the following file:
- /github/workspace/yaacc/src/main/java/de/yaacc/upnp/search/SearchExpression.java