Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Geronimo application client XML Schema Document

Code Block
xml
xml
borderStylesolid
titlegeronimo-application-client-1.1.xsdxml

<?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright 2004 The Apache Software Foundation

    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.
-->
<!-- @version $Rev: 409817 $ $Date: 2006-05-27 03:56:38 -0400 (Sat, 27 May 2006) $ -->
<xs:schema
    xmlns:geronimo="http://geronimo.apache.org/xml/ns/j2ee/application-client-1.1"
    targetNamespace="http://geronimo.apache.org/xml/ns/j2ee/application-client-1.1"
    xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.1"
    xmlns:connector="http://geronimo.apache.org/xml/ns/j2ee/connector-1.1"
    xmlns:security="http://geronimo.apache.org/xml/ns/security-1.1"
    xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.1"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified"
    version="1.0">

    <xs:import namespace="http://geronimo.apache.org/xml/ns/naming-1.1" schemaLocation="geronimo-naming-1.1.xsd"/>
    <xs:import namespace="http://geronimo.apache.org/xml/ns/security-1.1" schemaLocation="geronimo-security-1.1.xsd"/>
    <xs:import namespace="http://geronimo.apache.org/xml/ns/j2ee/connector-1.1" schemaLocation="geronimo-connector-1.1.xsd"/>
    <xs:import namespace="http://geronimo.apache.org/xml/ns/deployment-1.1" schemaLocation="geronimo-module-1.1.xsd"/>

    <xs:element name="application-client" type="geronimo:application-clientType"/>

    <xs:complexType name="application-clientType">
        <xs:sequence>
            <xs:element ref="sys:client-environment"/>
            <xs:element ref="sys:server-environment"/>

            <xs:element ref="naming:gbean-ref" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element ref="naming:ejb-ref" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element ref="naming:service-ref" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element ref="naming:resource-ref" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element ref="naming:resource-env-ref" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element ref="naming:message-destination" minOccurs="0" maxOccurs="unbounded"/>

            <xs:element ref="security:default-principal" minOccurs="0"/>

            <xs:sequence minOccurs="0">
                <xs:element name="realm-name" type="xs:string"/>
                <xs:element name="callback-handler" type="xs:string" minOccurs="0"/>
            </xs:sequence>


            <xs:element name="resource" type="geronimo:resourceType" minOccurs="0" maxOccurs="unbounded"/>

            <xs:element ref="sys:gbean" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>

    </xs:complexType>

    <xs:complexType name="resourceType">
        <xs:sequence>
            <xs:choice>
                <xs:element name="external-rar" type="xs:string"/>
                <xs:element name="internal-rar" type="xs:string"/>
            </xs:choice>
            <xs:element ref="connector:connector"/>
        </xs:sequence>
    </xs:complexType>


</xs:schema>

...

Schema Component Representation

Code Block
xml
xml
borderStylesolid
titleSchema Component Representationxml
<xs:schema
    xmlns:geronimo="http://geronimo.apache.org/xml/ns/j2ee/application-client-1.1"
    targetNamespace="http://geronimo.apache.org/xml/ns/j2ee/application-client-1.1"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified"
    <xs:import namespace="http://geronimo.apache.org/xml/ns/naming-1.1" schemaLocation="geronimo-naming-1.1.xsd"/>
    <xs:import namespace="http://geronimo.apache.org/xml/ns/security-1.1" schemaLocation="geronimo-security-1.1.xsd"/>
    <xs:import namespace="http://geronimo.apache.org/xml/ns/j2ee/connector-1.1" schemaLocation="geronimo-connector-1.1.xsd"/>
    <xs:import namespace="http://geronimo.apache.org/xml/ns/deployment-1.1" schemaLocation="geronimo-module-1.1.xsd"/>

    <xs:element name="application-client" type="geronimo:application-clientType"/>
........
</xs:schema>

...

Name

application-client

Type

Geronimo:application-clientType

Nillable

no

Abstract

no

Code Block
xml
xml
borderStylesolid
titleXML Instance Representation: application-client
Code Block
xml
Code Block
xml
borderStylesolid
titleSchema Component Representation: application-clientxml
<xs:element name="application-client" type="geronimo:application-clientType"/>

...

Super-types:

None

Sub-types:

None

Name

application-clientType

Abstract

no

Code Block
xml
xml
borderStylesolid
titleXML Instance Representation: application-clientType
code
Code Block
xml
xml
borderStylesolid
titleSchema Component Representation: application-clientTypexml
 <xs:complexType name="application-clientType">
        <xs:sequence>
            <xs:element ref="sys:client-environment"/>
            <xs:element ref="sys:server-environment"/>
            <xs:element ref="naming:gbean-ref" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element ref="naming:ejb-ref" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element ref="naming:service-ref" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element ref="naming:resource-ref" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element ref="naming:resource-env-ref" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element ref="naming:message-destination" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element ref="security:default-principal" minOccurs="0"/>

            <xs:sequence minOccurs="0">
                <xs:element name="realm-name" type="xs:string"/>
                <xs:element name="callback-handler" type="xs:string" minOccurs="0"/>
            </xs:sequence>


            <xs:element name="resource" type="geronimo:resourceType" minOccurs="0" maxOccurs="unbounded"/>

            <xs:element ref="sys:gbean" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>

    </xs:complexType>

...

Super-types:None

Sub-types: None

Name

resourceType

Abstract

no

Code Block
xml
xml
borderStylesolid
titleXML Instance Representation: resourceTypexml
<...> 
 Start Choice [1]  
 
<geronimo:external-rar>  xs:string </geronimo:external-rar> [1] 
<geronimo:internal-rar>  xs:string </geronimo:internal-rar> [1] 
End Choice 
 
<connector:connector> ... </connector:connector> [1] 
</...>
Code Block
xml
xml
borderStylesolid
titleSchema Component Representation: resourceTypexml
 <xs:complexType name="resourceType">
        <xs:sequence>
            <xs:choice>
                <xs:element name="external-rar" type="xs:string"/>
                <xs:element name="internal-rar" type="xs:string"/>
            </xs:choice>
            <xs:element ref="connector:connector"/>
        </xs:sequence>
    </xs:complexType>

...

The table above displays the properties of this schema component.

Code Block
xml
xml
borderStylesolid
titleXML Instance Represenation: AusAddressxml
<...   country="Australia" > 
 <unitNo> string </unitNo> [0..1]  
 <houseNo> string </houseNo> [1]  
 <street> string </street> [1]  
 Start Choice [1]  
 <city> string </city> [1]  
 <town> string </town> [1]  
 End Choice 
  <state> AusStates </state> [1]  
 <postcode> string <<pattern = [1-9][0-9]{3}>> </postcode> [1] ?  
  </...> 

...

  • If a local element/attribute has documentation, it will be displayed in a window that pops up when the
    question mark inside the attribute or next to the element is clicked, e.g. <postcode>.
Code Block
xml
xml
borderStylesolid
titleSchema Component Representation: AusAddressxml
<complexType name="AusAddress"> 
 <complexContent> 
 <extension base=" Address "> 
 <sequence> 
 <element name="state" type=" AusStates "/> 
 <element name="postcode"> 
 <simpleType> 
 <restriction base=" string "> 
 <pattern value="[1-9][0-9]{3}"/> 
 </restriction> 
 </simpleType> 
 </element> 
 </sequence> 
 <attribute name="country" type=" string " fixed="Australia"/> 
 </extension> 
 </complexContent> 
 </complexType> 

...