420 lines
17 KiB
XML
420 lines
17 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
|
|
Copyright (c) 2004-2013, Willem Cazander
|
|
All rights reserved.
|
|
|
|
Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
|
that the following conditions are met:
|
|
|
|
* Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
|
following disclaimer.
|
|
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
|
the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
|
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
|
|
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
|
THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
|
OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
|
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
-->
|
|
<!-- ==================================================================== -->
|
|
<!-- ===== Automatic generated schema for language: eld ===== -->
|
|
<!-- ==================================================================== -->
|
|
<!--
|
|
Id: eld-module
|
|
ProviderName: Element Language Definition
|
|
ProviderHost: eld.x4o.org
|
|
Namespaces: 3
|
|
Uri: http://eld.x4o.org/xml/ns/eld-lang
|
|
Uri schema http://eld.x4o.org/xml/ns/eld-lang-0.8.xsd
|
|
Created on: Sun Sep 01 12:13:10 CEST 2013
|
|
-->
|
|
<schema xmlns="http://www.w3.org/2001/XMLSchema"
|
|
xmlns:conv="http://eld.x4o.org/xml/ns/eld-conv"
|
|
xmlns:this="http://eld.x4o.org/xml/ns/eld-lang"
|
|
version="1.0" elementFormDefault="qualified" attributeFormDefault="unqualified" targetNamespace="http://eld.x4o.org/xml/ns/eld-lang">
|
|
<import namespace="http://eld.x4o.org/xml/ns/eld-conv" schemaLocation="eld-conv-1.0.xsd"/>
|
|
<complexType name="attributeType">
|
|
<choice minOccurs="0" maxOccurs="unbounded">
|
|
<element ref="conv:beanConverter"/>
|
|
<element ref="conv:booleanConverter"/>
|
|
<element ref="conv:byteConverter"/>
|
|
<element ref="conv:characterConverter"/>
|
|
<element ref="conv:classConverter"/>
|
|
<element ref="conv:doubleConverter"/>
|
|
<element ref="conv:enumConverter"/>
|
|
<element ref="conv:floatConverter"/>
|
|
<element ref="conv:integerConverter"/>
|
|
<element ref="conv:longConverter"/>
|
|
<element ref="conv:stringSplitConverter"/>
|
|
<element ref="conv:urlConverter"/>
|
|
<element name="attributeAlias" type="this:attributeAliasType"/>
|
|
<element name="bean" type="this:beanType"/>
|
|
<element name="description" type="this:descriptionType"/>
|
|
</choice>
|
|
<attribute name="id" type="string">
|
|
<annotation>
|
|
<documentation xml:lang="en">The attribute id. (with name as alias)</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="name" type="string"/>
|
|
<attribute name="required" type="boolean"/>
|
|
<attribute name="runResolveEL" type="boolean"/>
|
|
<attribute name="defaultValue" type="string"/>
|
|
<attribute name="objectConverter" type="string"/>
|
|
<attribute name="runConverters" type="boolean"/>
|
|
<attribute name="runBeanValue" type="boolean"/>
|
|
<attribute name="writeOrder" type="integer"/>
|
|
<attribute name="description" type="string"/>
|
|
</complexType>
|
|
<complexType name="namespaceAttributeType">
|
|
<choice minOccurs="0" maxOccurs="unbounded">
|
|
<element name="description" type="this:descriptionType"/>
|
|
<element name="namespaceAttributeNext" type="this:namespaceAttributeNextType"/>
|
|
</choice>
|
|
<attribute name="attributeName" type="string" use="required">
|
|
<annotation>
|
|
<documentation xml:lang="en">The xml attribute name.</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="id" type="string" use="required">
|
|
<annotation>
|
|
<documentation xml:lang="en">The namespace attribute id.</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="bean.class" type="string" use="required">
|
|
<annotation>
|
|
<documentation xml:lang="en">The class of the namespace attribute.</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<anyAttribute/>
|
|
</complexType>
|
|
<complexType name="namespaceType">
|
|
<choice minOccurs="0" maxOccurs="unbounded">
|
|
<element name="description" type="this:descriptionType"/>
|
|
<element name="element" type="this:elementType"/>
|
|
<element name="namespaceAttribute" type="this:namespaceAttributeType"/>
|
|
</choice>
|
|
<attribute name="id" type="string" use="required">
|
|
<annotation>
|
|
<documentation xml:lang="en">The namespace id.</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="name" type="string"/>
|
|
<attribute name="elementNamespaceInstanceProvider" type="string"/>
|
|
<attribute name="prefixMapping" type="string"/>
|
|
<attribute name="uri" type="string"/>
|
|
<attribute name="schemaUri" type="string"/>
|
|
<attribute name="schemaResource" type="string"/>
|
|
<attribute name="languageRoot" type="boolean"/>
|
|
<attribute name="schemaPrefix" type="string"/>
|
|
<attribute name="description" type="string"/>
|
|
</complexType>
|
|
<complexType name="descriptionType">
|
|
<simpleContent>
|
|
<extension base="string">
|
|
<anyAttribute/>
|
|
</extension>
|
|
</simpleContent>
|
|
</complexType>
|
|
<complexType name="bindingHandlerType">
|
|
<choice minOccurs="0" maxOccurs="unbounded">
|
|
<element name="description" type="this:descriptionType"/>
|
|
</choice>
|
|
<attribute name="id" type="string" use="required">
|
|
<annotation>
|
|
<documentation xml:lang="en">The binding handler id.</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="bean.class" type="string" use="required">
|
|
<annotation>
|
|
<documentation xml:lang="en">The class of the binding handler.</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<anyAttribute/>
|
|
</complexType>
|
|
<complexType name="elementSkipPhaseType">
|
|
<choice minOccurs="0" maxOccurs="unbounded"/>
|
|
<attribute name="name" type="string" use="required">
|
|
<annotation>
|
|
<documentation xml:lang="en">The name of the phase to skip.</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<anyAttribute/>
|
|
</complexType>
|
|
<complexType name="elementType">
|
|
<choice minOccurs="0" maxOccurs="unbounded">
|
|
<element name="attribute" type="this:attributeType"/>
|
|
<element name="attributeFromBody" type="this:attributeFromBodyType"/>
|
|
<element name="bean" type="this:beanType"/>
|
|
<element name="configurator" type="this:configuratorType"/>
|
|
<element name="description" type="this:descriptionType"/>
|
|
<element name="elementParent" type="this:elementParentType"/>
|
|
<element name="elementSkipPhase" type="this:elementSkipPhaseType"/>
|
|
</choice>
|
|
<attribute name="id" type="string">
|
|
<annotation>
|
|
<documentation xml:lang="en">The attribute id. (with tag as alias)</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="tag" type="string"/>
|
|
<attribute name="objectClass" type="string">
|
|
<annotation>
|
|
<documentation xml:lang="en">The class of the wrapped object.</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="elementClass" type="string">
|
|
<annotation>
|
|
<documentation xml:lang="en">An custom element class to config object.</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="schemaContentMixed" type="boolean"/>
|
|
<attribute name="autoAttributes" type="boolean"/>
|
|
<attribute name="schemaContentBase" type="string"/>
|
|
<attribute name="schemaContentComplex" type="boolean"/>
|
|
<attribute name="description" type="string"/>
|
|
</complexType>
|
|
<complexType name="attributeAliasType">
|
|
<choice minOccurs="0" maxOccurs="unbounded"/>
|
|
<attribute name="name" type="string" use="required">
|
|
<annotation>
|
|
<documentation xml:lang="en">The alias name to add to the attribute.</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<anyAttribute/>
|
|
</complexType>
|
|
<complexType name="configuratorGlobalType">
|
|
<choice minOccurs="0" maxOccurs="unbounded">
|
|
<element name="description" type="this:descriptionType"/>
|
|
</choice>
|
|
<attribute name="id" type="string" use="required">
|
|
<annotation>
|
|
<documentation xml:lang="en">The global element configurator id.</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="bean.class" type="string" use="required">
|
|
<annotation>
|
|
<documentation xml:lang="en">The class of the element configurator.</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="configAction" type="string">
|
|
<annotation>
|
|
<documentation xml:lang="en">If set to true then run in config phase.</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<anyAttribute/>
|
|
</complexType>
|
|
<complexType name="configuratorType">
|
|
<choice minOccurs="0" maxOccurs="unbounded">
|
|
<element name="description" type="this:descriptionType"/>
|
|
</choice>
|
|
<attribute name="id" type="string" use="required">
|
|
<annotation>
|
|
<documentation xml:lang="en">The element configurator id.</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="bean.class" type="string" use="required">
|
|
<annotation>
|
|
<documentation xml:lang="en">The class of the global element configurator.</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="configAction" type="string">
|
|
<annotation>
|
|
<documentation xml:lang="en">If set to true then run in config phase.</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<anyAttribute/>
|
|
</complexType>
|
|
<complexType name="beanType">
|
|
<choice minOccurs="0" maxOccurs="unbounded">
|
|
<element name="namespaceAttributeNext" type="this:namespaceAttributeNextType"/>
|
|
</choice>
|
|
<attribute name="bean.class" type="string">
|
|
<annotation>
|
|
<documentation xml:lang="en">The class name of the the class to load.</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<anyAttribute/>
|
|
</complexType>
|
|
<complexType name="classBindingHandlerType">
|
|
<choice minOccurs="0" maxOccurs="unbounded">
|
|
<element name="description" type="this:descriptionType"/>
|
|
</choice>
|
|
<attribute name="id" type="string" use="required">
|
|
<annotation>
|
|
<documentation xml:lang="en">The id for this binding handler.</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="childClass" type="string" use="required">
|
|
<annotation>
|
|
<documentation xml:lang="en">The child class.</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="parentClass" type="string" use="required">
|
|
<annotation>
|
|
<documentation xml:lang="en">The parent class.</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="getMethod" type="string" use="required">
|
|
<annotation>
|
|
<documentation xml:lang="en">The method name of the method used to get the childeren of the parent.</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="addMethod" type="string" use="required">
|
|
<annotation>
|
|
<documentation xml:lang="en">The method name of the method used to add the child to the parent.</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
</complexType>
|
|
<complexType name="elementInterfaceType">
|
|
<choice minOccurs="0" maxOccurs="unbounded">
|
|
<element name="attribute" type="this:attributeType"/>
|
|
<element name="attributeFromBody" type="this:attributeFromBodyType"/>
|
|
<element name="bean" type="this:beanType"/>
|
|
<element name="configurator" type="this:configuratorType"/>
|
|
<element name="description" type="this:descriptionType"/>
|
|
<element name="elementParent" type="this:elementParentType"/>
|
|
</choice>
|
|
<attribute name="id" type="string" use="required">
|
|
<annotation>
|
|
<documentation xml:lang="en">The interface id.</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="interfaceClass" type="string" use="required">
|
|
<annotation>
|
|
<documentation xml:lang="en">The interface class.</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="description" type="string"/>
|
|
</complexType>
|
|
<complexType name="attributeFromBodyType">
|
|
<choice minOccurs="0" maxOccurs="unbounded">
|
|
<element name="description" type="this:descriptionType"/>
|
|
</choice>
|
|
<attribute name="bodyType" type="string">
|
|
<annotation>
|
|
<documentation xml:lang="en">See org.x4o.xml.element.Element.ElementType for options defaults to 'characters'.</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="id" type="string" use="required">
|
|
<annotation>
|
|
<documentation xml:lang="en">The id for this configurator.</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="name" type="string" use="required">
|
|
<annotation>
|
|
<documentation xml:lang="en">The attribute name to fill the value.</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
</complexType>
|
|
<complexType name="elementParentType">
|
|
<choice minOccurs="0" maxOccurs="unbounded"/>
|
|
<attribute name="tag" type="string">
|
|
<annotation>
|
|
<documentation xml:lang="en">The parent tag to have object for.</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="uri" type="string">
|
|
<annotation>
|
|
<documentation xml:lang="en">The element namespace uri if non local parent.</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<anyAttribute/>
|
|
</complexType>
|
|
<complexType name="namespaceAttributeNextType">
|
|
<choice minOccurs="0" maxOccurs="unbounded"/>
|
|
<attribute name="attributeName" type="string" use="required">
|
|
<annotation>
|
|
<documentation xml:lang="en">The attribute name to run after this attribute.</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<anyAttribute/>
|
|
</complexType>
|
|
<element name="attribute" type="this:attributeType">
|
|
<annotation>
|
|
<documentation xml:lang="en">XML Element Attribute tag.</documentation>
|
|
</annotation>
|
|
</element>
|
|
<element name="namespaceAttribute" type="this:namespaceAttributeType">
|
|
<annotation>
|
|
<documentation xml:lang="en">Define an className in bean.class for an ElementNamespaceAttribute.</documentation>
|
|
</annotation>
|
|
</element>
|
|
<element name="namespace" type="this:namespaceType">
|
|
<annotation>
|
|
<documentation xml:lang="en">Defines an namespace for the language.</documentation>
|
|
</annotation>
|
|
</element>
|
|
<element name="description" type="this:descriptionType">
|
|
<annotation>
|
|
<documentation xml:lang="en">An ELD elementDescription field which lets you type text like this one in xml characters instead of an attribute.</documentation>
|
|
</annotation>
|
|
</element>
|
|
<element name="bindingHandler" type="this:bindingHandlerType">
|
|
<annotation>
|
|
<documentation xml:lang="en">Define an className in bean.class for an ElementBindingHandler interface.</documentation>
|
|
</annotation>
|
|
</element>
|
|
<element name="elementSkipPhase" type="this:elementSkipPhaseType">
|
|
<annotation>
|
|
<documentation xml:lang="en">Adds an phase to skip to the parent element.</documentation>
|
|
</annotation>
|
|
</element>
|
|
<element name="element" type="this:elementType">
|
|
<annotation>
|
|
<documentation xml:lang="en">The xml element.</documentation>
|
|
</annotation>
|
|
</element>
|
|
<element name="attributeAlias" type="this:attributeAliasType">
|
|
<annotation>
|
|
<documentation xml:lang="en">Defines an alias for an attribute name.</documentation>
|
|
</annotation>
|
|
</element>
|
|
<element name="configuratorGlobal" type="this:configuratorGlobalType">
|
|
<annotation>
|
|
<documentation xml:lang="en">Define an className in bean.class for an ElementConfiguratorGlobal.</documentation>
|
|
</annotation>
|
|
</element>
|
|
<element name="configurator" type="this:configuratorType">
|
|
<annotation>
|
|
<documentation xml:lang="en">Define an className in bean.class for an ElementConfigurator.</documentation>
|
|
</annotation>
|
|
</element>
|
|
<element name="bean" type="this:beanType">
|
|
<annotation>
|
|
<documentation xml:lang="en">Loads bean into the Element</documentation>
|
|
</annotation>
|
|
</element>
|
|
<element name="classBindingHandler" type="this:classBindingHandlerType">
|
|
<annotation>
|
|
<documentation xml:lang="en">Lets you dynamicly bind to object togecher.</documentation>
|
|
</annotation>
|
|
</element>
|
|
<element name="elementInterface" type="this:elementInterfaceType">
|
|
<annotation>
|
|
<documentation xml:lang="en">Config element objects by java interface.</documentation>
|
|
</annotation>
|
|
</element>
|
|
<element name="attributeFromBody" type="this:attributeFromBodyType">
|
|
<annotation>
|
|
<documentation xml:lang="en">Defines an alias for an attribute name.</documentation>
|
|
</annotation>
|
|
</element>
|
|
<element name="elementParent" type="this:elementParentType">
|
|
<annotation>
|
|
<documentation xml:lang="en">Adds an parent element tag for xsd</documentation>
|
|
</annotation>
|
|
</element>
|
|
<element name="namespaceAttributeNext" type="this:namespaceAttributeNextType">
|
|
<annotation>
|
|
<documentation xml:lang="en">Defines the parameter order.</documentation>
|
|
</annotation>
|
|
</element>
|
|
</schema>
|