diff options
author | Raphael Moll <ralf@android.com> | 2013-02-04 15:21:35 -0800 |
---|---|---|
committer | Raphael Moll <ralf@android.com> | 2013-02-07 12:59:05 -0800 |
commit | cba8e11469a9f1c7d1289e272fa099c230207758 (patch) | |
tree | f342624db44bfc43f39715d79e983c8af6681e21 /repository/sdk-addons-list-1.xsd | |
parent | 0942541af07b37b83af9403f65ac7f1e3eed1f78 (diff) | |
download | devtools-cba8e11469a9f1c7d1289e272fa099c230207758.tar.gz |
More SDK prebuilts.
Built from tools/base.git @ 555be9c36fd5ea977273edc9538547f8642af62b
Change-Id: I913a29e5f40db99871701461aad6fc38483015d2
Diffstat (limited to 'repository/sdk-addons-list-1.xsd')
-rwxr-xr-x | repository/sdk-addons-list-1.xsd | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/repository/sdk-addons-list-1.xsd b/repository/sdk-addons-list-1.xsd new file mode 100755 index 0000000..176fb60 --- /dev/null +++ b/repository/sdk-addons-list-1.xsd @@ -0,0 +1,71 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Copyright (C) 2010 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +--> +<xsd:schema + targetNamespace="http://schemas.android.com/sdk/android/addons-list/1" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:sa1="http://schemas.android.com/sdk/android/addons-list/1" + elementFormDefault="qualified" + attributeFormDefault="unqualified" + version="1"> + + <!-- + A simple list of add-ons sites that is loaded by default by the SDK Manager. + --> + + <xsd:element name="sdk-addons-list" type="sa1:addonsListType" /> + + <xsd:complexType name="addonsListType"> + <xsd:annotation> + <xsd:documentation> + A simple list of add-ons site. + </xsd:documentation> + </xsd:annotation> + <xsd:choice minOccurs="0" maxOccurs="unbounded"> + <xsd:element name="addon-site" type="sa1:addonSiteType" /> + </xsd:choice> + </xsd:complexType> + + <!-- The definition of an Add-on Site. --> + + <xsd:complexType name="addonSiteType"> + <xsd:annotation> + <xsd:documentation>An SDK add-on site.</xsd:documentation> + </xsd:annotation> + <xsd:all> + <!-- The URL of the site. + + This can be either the exact URL of the an XML resource conforming + to the latest sdk-addon-N.xsd schema, or it can be the URL of a + 'directory', in which case the manager will look for a resource + named 'addon.xml' at this location. + + Examples: + http://www.example.com/android/my_addons.xml + or + http://www.example.com/android/ + + In the second example, the manager will actually look for: + http://www.example.com/android/addon.xml + --> + <xsd:element name="url" type="xsd:token" /> + + <!-- The UI-visible name of the add-on. --> + <xsd:element name="name" type="xsd:normalizedString" /> + </xsd:all> + </xsd:complexType> + +</xsd:schema> |