• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0"?>
2<template
3    format="1"
4    revision="1"
5    name="New Content Provider"
6    description="Creates a new content provider class">
7
8    <parameter
9        id="className"
10        name="Class Name"
11        type="string"
12        constraints="class|unique|nonempty"
13        default="MyContentProvider" />
14
15    <parameter
16        id="authorities"
17        name="URI Authorities"
18        type="string"
19        constraints="nonempty"
20        default=""
21        help="A list of one or more URI authorities that identify data under the purview of the content provider. " />
22
23    <parameter
24        id="isExported"
25        name="Exported"
26        type="boolean"
27        default="true"
28        help="Whether or not the content provider can be used by components of other applications " />
29
30    <parameter
31        id="isEnabled"
32        name="Enabled"
33        type="boolean"
34        default="true"
35        help="Whether or not the content provider can be instantiated by the system " />
36
37    <globals file="globals.xml.ftl" />
38    <execute file="recipe.xml.ftl" />
39
40</template>
41