diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-02-17 16:42:28 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-02-17 16:42:28 +0000 |
commit | 5d822e23be57e5a38572d96a621211b4a0ea81dc (patch) | |
tree | 18754ee61e515f921671b4a2f298d21a4338fc71 /java/sca-contrib/tools/eclipse/plugins/core/xsd/sca-policy.xsd | |
parent | 33f6f2b164dcaec53049ccfcddb24f95717c42d2 (diff) |
Move eclipse plugin to sca-contrib till its brought up (and when it is brought up consider making it a standalone project outside of the sca project
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@745138 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca-contrib/tools/eclipse/plugins/core/xsd/sca-policy.xsd')
-rw-r--r-- | java/sca-contrib/tools/eclipse/plugins/core/xsd/sca-policy.xsd | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/java/sca-contrib/tools/eclipse/plugins/core/xsd/sca-policy.xsd b/java/sca-contrib/tools/eclipse/plugins/core/xsd/sca-policy.xsd new file mode 100644 index 0000000000..c22ffd6618 --- /dev/null +++ b/java/sca-contrib/tools/eclipse/plugins/core/xsd/sca-policy.xsd @@ -0,0 +1,76 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- (c) Copyright SCA Collaboration 2006, 2007 --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.osoa.org/xmlns/sca/1.0" + xmlns:sca="http://www.osoa.org/xmlns/sca/1.0" + xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" + elementFormDefault="qualified"> + + <include schemaLocation="sca-core.xsd"/> + + <element name="intent" type="sca:Intent"/> + <complexType name="Intent"> + <sequence> + <element name="description" type="string" minOccurs="0" maxOccurs="1" /> + <any namespace="##other" processContents="lax" + minOccurs="0" maxOccurs="unbounded"/> + </sequence> + <attribute name="name" type="QName" use="required"/> + <attribute name="constrains" type="sca:listOfQNames" use="optional"/> + <attribute name="requires" type="sca:listOfQNames" use="optional"/> + <anyAttribute namespace="##any" processContents="lax"/> + </complexType> + + <element name="policySet" type="sca:PolicySet"/> + <complexType name="PolicySet"> + <choice minOccurs="0" maxOccurs="unbounded"> + <element name="policySetReference" type="sca:PolicySetReference"/> + <element name="intentMap" type="sca:IntentMap"/> + <any namespace="##other" processContents="lax"/> + </choice> + <attribute name="name" type="QName" use="required"/> + <attribute name="provides" type="sca:listOfQNames" use="optional"/> + <attribute name="appliesTo" type="string" use="required"/> + <anyAttribute namespace="##any" processContents="lax"/> + </complexType> + + <complexType name="PolicySetReference"> + <attribute name="name" type="QName" use="required"/> + <anyAttribute namespace="##any" processContents="lax"/> + </complexType> + + <complexType name="IntentMap"> + <choice minOccurs="1" maxOccurs="unbounded"> + <element name="qualifier" type="sca:Qualifier"/> + <any namespace="##other" processContents="lax"/> + </choice> + <attribute name="provides" type="QName" use="required"/> + <attribute name="default" type="string" use="optional"/> + <anyAttribute namespace="##any" processContents="lax"/> + </complexType> + + <complexType name="Qualifier"> + <choice minOccurs="1" maxOccurs="unbounded"> + <element name="intentMap" type="sca:IntentMap"/> + <any namespace="##other" processContents="lax"/> + </choice> + <attribute name="name" type="string" use="required"/> + <anyAttribute namespace="##any" processContents="lax"/> + </complexType> + + <element name="allow" type="sca:Allow"/> + <complexType name="Allow"> + <attribute name="roles" type="string" use="required"/> + </complexType> + + <element name="permitAll" type="sca:PermitAll"/> + <complexType name="PermitAll"/> + + <element name="denyAll" type="sca:DenyAll"/> + <complexType name="DenyAll"/> + + <element name="runAs" type="sca:RunAs"/> + <complexType name="RunAs"> + <attribute name="role" type="string" use="required"/> + </complexType> +</schema> |