jndi-binding-service_1_0.xsd 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xs:schema version="1.0beta" attributeFormDefault="unqualified"
  3. elementFormDefault="qualified"
  4. targetNamespace="urn:jboss:jndi-binding-service:1.0"
  5. xmlns:jndi="urn:jboss:jndi-binding-service:1.0"
  6. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  7. xmlns:jbxb="http://www.jboss.org/xml/ns/jbxb"
  8. >
  9. <xs:annotation>
  10. <xs:documentation>This schema defines the content model for the
  11. JNDIBindingService BindingsConfig attribute content.<![CDATA[
  12. <jndi:bindings xmlns:jndi="urn:jboss:jndi-binding-service"
  13. version="1.0">
  14. ...
  15. </jndi:bindings>
  16. ]]></xs:documentation>
  17. <xs:appinfo>
  18. <jbxb:schemaBindings>
  19. <jbxb:ignoreUnresolvedFieldOrClass>false</jbxb:ignoreUnresolvedFieldOrClass>
  20. <jbxb:replacePropertyRefs>true</jbxb:replacePropertyRefs>
  21. </jbxb:schemaBindings>
  22. </xs:appinfo>
  23. </xs:annotation>
  24. <xs:element name="bindings">
  25. <xs:annotation>
  26. <xs:appinfo>
  27. <jbxb:class impl="org.jboss.naming.JNDIBindings"/>
  28. </xs:appinfo>
  29. </xs:annotation>
  30. <xs:complexType>
  31. <xs:sequence>
  32. <xs:element name="binding" minOccurs="1"
  33. maxOccurs="unbounded">
  34. <xs:annotation>
  35. <xs:appinfo>
  36. <jbxb:class impl="org.jboss.naming.JNDIBinding"/>
  37. <jbxb:property name="Bindings" />
  38. </xs:appinfo>
  39. </xs:annotation>
  40. <xs:complexType>
  41. <xs:choice minOccurs="1" maxOccurs="1">
  42. <xs:element name="value">
  43. <xs:annotation>
  44. <xs:appinfo>
  45. <jbxb:skip/>
  46. </xs:appinfo>
  47. </xs:annotation>
  48. <xs:complexType>
  49. <xs:annotation>
  50. <xs:appinfo>
  51. <jbxb:characters>
  52. <jbxb:property name="text"/>
  53. </jbxb:characters>
  54. </xs:appinfo>
  55. </xs:annotation>
  56. <xs:simpleContent>
  57. <xs:extension base="xs:string">
  58. <xs:attribute name="type" type="xs:string" use="optional">
  59. </xs:attribute>
  60. <xs:attribute name="editor" type="xs:string" use="optional">
  61. </xs:attribute>
  62. <xs:attribute name="trim" type="xs:boolean" default="true">
  63. </xs:attribute>
  64. </xs:extension>
  65. </xs:simpleContent>
  66. </xs:complexType>
  67. </xs:element>
  68. <xs:any namespace="##other">
  69. <xs:annotation>
  70. <xs:documentation>An extension point for arbitrary xml value fragments</xs:documentation>
  71. <xs:appinfo>
  72. <jbxb:property name="value"/>
  73. </xs:appinfo>
  74. </xs:annotation>
  75. </xs:any>
  76. </xs:choice>
  77. <xs:attribute name="name" type="xs:string" use="required">
  78. <xs:annotation>
  79. <xs:documentation>The JNDI name of the binding</xs:documentation>
  80. </xs:annotation>
  81. </xs:attribute>
  82. </xs:complexType>
  83. </xs:element>
  84. </xs:sequence>
  85. </xs:complexType>
  86. </xs:element>
  87. </xs:schema>