A paser for parsing a sequence of tag strings. Tags maybe either regular tags or machine tags. Machine tags are tag strings with special syntax. An example of a machine tag is geo:lat=32.00
. The syntax of a machine tag is in the form: ns:predicate=value
The ns
field is the namespace prefix. The predicate
field is the predicate (or property) that describes the URL of the bookmark. The value
field is the value of of the predicate.
Machine tags without namespace prefix, which defaults to gnizr
, may be expressed in an alternative syntax: predicate:value
.
Given a sequence of tag string: java programming "foo bar" for:user dc:date=1999-10-10
, the products of this parser is as the follows.
|
|
|
|