web-2/wildfly/docs/schema/java-properties_1_0.xsd

58 lines
2.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: java-properties_1_0.xsd 33892 2005-07-25 02:47:23Z starksm $
-->
<xs:schema version="1.0"
targetNamespace="urn:jboss:java-properties"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:jbxb="https://www.jboss.org/xml/ns/jbxb"
attributeFormDefault="unqualified"
elementFormDefault="qualified"
>
<xs:annotation>
<xs:documentation>A JBossXB schema for specifying how a java.util.Properties
object is unmarshalled.
</xs:documentation>
</xs:annotation>
<xs:element name="properties">
<xs:annotation>
<xs:appinfo>
<jbxb:class impl="java.util.Properties"/>
</xs:appinfo>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="property" maxOccurs="unbounded">
<xs:annotation>
<xs:appinfo>
<jbxb:putMethod name="setProperty" keyType="java.lang.String" valueType="java.lang.String"/>
</xs:appinfo>
</xs:annotation>
<xs:complexType id="propertyType">
<xs:annotation>
<xs:appinfo>
<jbxb:mapEntry/>
</xs:appinfo>
</xs:annotation>
<xs:sequence>
<xs:element name="key" type="xs:string">
<xs:annotation>
<xs:appinfo>
<jbxb:mapEntryKey/>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="value" type="xs:string">
<xs:annotation>
<xs:appinfo>
<jbxb:mapEntryValue/>
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>