x4o/x4o-driver/src/main/resources/META-INF/eld/eld-lang-1.0.xsd

445 lines
16 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<!-- ==================================================================== -->
<!-- ===== Automatic generated schema for language: eld ===== -->
<!-- ==================================================================== -->
2012-09-11 13:15:26 +02:00
<!--
ID: eld-module
ProviderName: Element Language Definition
ProviderHost: eld.x4o.org
2012-09-11 13:15:26 +02:00
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 Apr 28 11:56:32 CEST 2013
2012-09-11 13:15:26 +02:00
-->
2013-04-08 08:34:51 +02:00
<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"
2012-09-11 13:15:26 +02:00
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="namespaceType">
<choice minOccurs="0" maxOccurs="unbounded">
<element name="description" type="this:descriptionType"/>
2012-09-11 13:15:26 +02:00
<element name="element" type="this:elementType"/>
</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="uri" type="string"/>
2012-09-11 13:15:26 +02:00
<attribute name="schemaUri" type="string"/>
<attribute name="schemaResource" type="string"/>
<attribute name="schemaPrefix" type="string"/>
<attribute name="prefixMapping" type="string"/>
<attribute name="languageRoot" type="boolean"/>
<attribute name="description" type="string"/>
2012-09-11 13:15:26 +02:00
</complexType>
<complexType name="descriptionType">
<simpleContent>
<extension base="string">
<anyAttribute/>
</extension>
</simpleContent>
</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>
2012-09-11 13:15:26 +02:00
<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"/>
2012-09-11 13:15:26 +02:00
</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="schemaContentComplex" type="boolean"/>
<attribute name="autoAttributes" type="boolean"/>
<attribute name="schemaContentMixed" type="boolean"/>
<attribute name="schemaContentBase" type="string"/>
<attribute name="description" type="string"/>
2012-09-11 13:15:26 +02:00
</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>
2012-09-11 13:15:26 +02:00
<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>
2012-09-11 13:15:26 +02:00
<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>
2012-09-11 13:15:26 +02:00
<anyAttribute/>
</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>
2012-09-11 13:15:26 +02:00
</complexType>
<complexType name="attributeHandlerType">
<choice minOccurs="0" maxOccurs="unbounded">
<element name="attributeHandlerNextAttribute" type="this:attributeHandlerNextAttributeType"/>
<element name="description" type="this:descriptionType"/>
</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 atttribute handler id.
</documentation>
</annotation>
</attribute>
<attribute name="bean.class" type="string" use="required">
<annotation>
<documentation xml:lang="en">The class of the attribute handler.
</documentation>
</annotation>
</attribute>
2012-09-11 13:15:26 +02:00
<anyAttribute/>
</complexType>
<complexType name="attributeHandlerNextAttributeType">
<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>
2012-09-11 13:15:26 +02:00
<anyAttribute/>
</complexType>
<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"/>
2012-09-11 13:15:26 +02:00
</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="defaultValue" type="string"/>
<attribute name="objectConverter" type="string"/>
<attribute name="runBeanValue" type="boolean"/>
<attribute name="writeOrder" type="integer"/>
<attribute name="runConverters" type="boolean"/>
<attribute name="runResolveEL" type="boolean"/>
<attribute name="description" type="string"/>
2012-09-11 13:15:26 +02:00
</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>
2012-09-11 13:15:26 +02:00
<anyAttribute/>
</complexType>
<complexType name="beanType">
<choice minOccurs="0" maxOccurs="unbounded">
<element name="attributeHandlerNextAttribute" type="this:attributeHandlerNextAttributeType"/>
</choice>
<attribute name="bean.class" type="string">
<annotation>
<documentation xml:lang="en">The class name of the the class to load.
</documentation>
</annotation>
</attribute>
2012-09-11 13:15:26 +02:00
<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>
2012-09-11 13:15:26 +02:00
</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="bindingHandler" type="this:bindingHandlerType"/>
<element name="classBindingHandler" type="this:classBindingHandlerType"/>
<element name="configurator" type="this:configuratorType"/>
<element name="description" type="this:descriptionType"/>
<element name="elementParent" type="this:elementParentType"/>
2012-09-11 13:15:26 +02:00
</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>
2012-09-11 13:15:26 +02:00
<attribute name="description" type="string"/>
</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>
2012-09-11 13:15:26 +02:00
<anyAttribute/>
</complexType>
<element name="namespace" type="this:namespaceType">
<annotation>
<documentation xml:lang="en">Defines an namespace for the language.
</documentation>
</annotation>
</element>
2012-09-11 13:15:26 +02:00
<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="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>
2012-09-11 13:15:26 +02:00
<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>
2012-09-11 13:15:26 +02:00
<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="attributeFromBody" type="this:attributeFromBodyType">
<annotation>
<documentation xml:lang="en">Defines an alias for an attribute name.
</documentation>
</annotation>
</element>
<element name="attributeHandler" type="this:attributeHandlerType">
<annotation>
<documentation xml:lang="en">Define an className in bean.class for an ElementAttributeHandler.
</documentation>
</annotation>
</element>
<element name="attributeHandlerNextAttribute" type="this:attributeHandlerNextAttributeType">
<annotation>
<documentation xml:lang="en">Defines the parameter order.
</documentation>
</annotation>
</element>
<element name="attribute" type="this:attributeType">
<annotation>
<documentation xml:lang="en">XML Element Attribute tag.
</documentation>
</annotation>
</element>
2012-09-11 13:15:26 +02:00
<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="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>
2012-09-11 13:15:26 +02:00
<element name="elementParent" type="this:elementParentType">
<annotation>
<documentation xml:lang="en">Adds an parent element tag for xsd
</documentation>
</annotation>
</element>
</schema>