java-properties_1_0.xsd 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- $Id: java-properties_1_0.xsd 33892 2005-07-25 02:47:23Z starksm $
  3. -->
  4. <xs:schema version="1.0"
  5. targetNamespace="urn:jboss:java-properties"
  6. xmlns:java="urn:jboss:custom-object-binding"
  7. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  8. xmlns:jbxb="http://www.jboss.org/xml/ns/jbxb"
  9. attributeFormDefault="unqualified"
  10. elementFormDefault="qualified"
  11. >
  12. <xs:annotation>
  13. <xs:documentation>A JBossXB schema for specifying how a java.util.Properties
  14. object is unmarshalled.
  15. </xs:documentation>
  16. </xs:annotation>
  17. <xs:element name="properties">
  18. <xs:annotation>
  19. <xs:appinfo>
  20. <jbxb:class impl="java.util.Properties"/>
  21. </xs:appinfo>
  22. </xs:annotation>
  23. <xs:complexType>
  24. <xs:sequence>
  25. <xs:element name="property" maxOccurs="unbounded">
  26. <xs:annotation>
  27. <xs:appinfo>
  28. <jbxb:putMethod name="setProperty" keyType="java.lang.String" valueType="java.lang.String"/>
  29. </xs:appinfo>
  30. </xs:annotation>
  31. <xs:complexType id="propertyType">
  32. <xs:annotation>
  33. <xs:appinfo>
  34. <jbxb:mapEntry/>
  35. </xs:appinfo>
  36. </xs:annotation>
  37. <xs:sequence>
  38. <xs:element name="key" type="xs:string">
  39. <xs:annotation>
  40. <xs:appinfo>
  41. <jbxb:mapEntryKey/>
  42. </xs:appinfo>
  43. </xs:annotation>
  44. </xs:element>
  45. <xs:element name="value" type="xs:string">
  46. <xs:annotation>
  47. <xs:appinfo>
  48. <jbxb:mapEntryValue/>
  49. </xs:appinfo>
  50. </xs:annotation>
  51. </xs:element>
  52. </xs:sequence>
  53. </xs:complexType>
  54. </xs:element>
  55. </xs:sequence>
  56. </xs:complexType>
  57. </xs:element>
  58. </xs:schema>