summaryrefslogtreecommitdiffstats
path: root/branches/sca-android-r643746/samples/calculator-android/res/raw/sca_interface_cpp.xsd
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2008-09-15 00:17:09 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2008-09-15 00:17:09 +0000
commitf4e3e383071b6947d56794d9af5e9e6438aa3235 (patch)
treea13515aec97e8d21cdf9718ccca7ab2c4787e0d7 /branches/sca-android-r643746/samples/calculator-android/res/raw/sca_interface_cpp.xsd
parent094118252b2f6700cf94f59f46f7dbfec199166b (diff)
Temporarily renamed sca-android branch to pull a recent revision of trunk into sca-android.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@695316 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-android-r643746/samples/calculator-android/res/raw/sca_interface_cpp.xsd')
-rw-r--r--branches/sca-android-r643746/samples/calculator-android/res/raw/sca_interface_cpp.xsd40
1 files changed, 40 insertions, 0 deletions
diff --git a/branches/sca-android-r643746/samples/calculator-android/res/raw/sca_interface_cpp.xsd b/branches/sca-android-r643746/samples/calculator-android/res/raw/sca_interface_cpp.xsd
new file mode 100644
index 0000000000..9cae7e3685
--- /dev/null
+++ b/branches/sca-android-r643746/samples/calculator-android/res/raw/sca_interface_cpp.xsd
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- (c) Copyright SCA Collaboration 2006 -->
+<schema xmlns="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://www.commonj.org/xmlns/sca/1.0/"
+ xmlns:sca="http://www.commonj.org/xmlns/sca/1.0/"
+ xmlns:sdo="commonj.sdo/XML"
+ elementFormDefault="qualified">
+
+ <include schemaLocation="sca_core.xsd"/>
+
+ <element name="interface.cpp" type="sca:CPPInterface" substitutionGroup="sca:interface"/>
+
+ <complexType name="CPPInterface">
+ <complexContent>
+ <extension base="sca:Interface">
+ <sequence>
+ <element name="method" type="sca:CPPMethod" minOccurs="0" maxOccurs="unbounded" />
+ <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="header" type="NCName" use="required"/>
+ <attribute name="class" type="Name" use="required"/>
+ <attribute name="callbackHeader" type="NCName" use="optional"/>
+ <attribute name="callbackClass" type="Name" use="optional"/>
+ <attribute name="remotable" type="boolean" use="optional"/>
+ <anyAttribute namespace="##any" processContents="lax"/>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="CPPMethod">
+ <complexContent>
+ <attribute name="name" type="NCName" use="required"/>
+ <attribute name="oneWay" type="boolean" use="optional"/>
+ <attribute name="endConversation" type="boolean" use="optional"/>
+ <anyAttribute namespace="##any" processContents="lax"/>
+ </complexContent>
+ </complexType>
+
+</schema>
+