data: A data URI, for example "
http://xyz.com/type1
"
data and type: Both of them
Here, the data element allows for wildcard matching.
Presumed action and category match: A type filter element matches
if the sender’s specified MIME type is contained in the receiver’s list of
allowed MIME types.
Presumed action and category match: A data filter element matches
if the sender’s specified data URI matches any of the receiver’s list of
allowed data URIs (wildcard matching might apply).
Presumed action and category match: A data-and-type filter element
matches if both the MIME type and the data URI match, i.e., are
contained within the receiver’s specified list.
Table 5-2. Category Matches
Receiver Action
Receiver Category
Sender
Match
com.xyz.ACT1
com.xyz.cate1
action = "com.xyz.ACT1"
Yes
com.xyz.ACT1
action = "com.xyz.ACT1"
categ = "com.xyz.cate1"
No
com.xyz.ACT1
com.xyz.cate1
action = "com.xyz.ACT1"
categ = "com.xyz.cate1"
Yes
com.xyz.ACT1
com.xyz.cate1
action = "com.xyz.ACT1"
categ = "com.xyz.cate1"
categ = "com.xyz.cate2"
No
com.xyz.ACT1
com.xyz.cate1
com.xyz.cate2
action = "com.xyz.ACT1"
categ = "com.xyz.cate1"
categ = "com.xyz.cate2"
Yes
com.xyz.ACT1
com.xyz.cate1
com.xyz.cate2
action = "com.xyz.ACT1"
categ = "com.xyz.cate1"
Yes
com.xyz.ACT1
any
action = "com.xyz.ACT2"
categ = any
No
Do'stlaringiz bilan baham: |