response.xsd

来自「CroftSoft Code Library是一个开源的可移植的纯Java游戏库」· XSD 代码 · 共 28 行

XSD
28
字号
<schema xmlns="http://www.w3.org/2001/XMLSchema"
  xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
  jaxb:version="1.0"
  targetNamespace="http://croftsoft.com/apps/wyrm/xjc"
       xmlns:wyrm="http://croftsoft.com/apps/wyrm/xjc">

  <element name="response" type="wyrm:ResponseType"/>

  <complexType name="ResponseType">
    <annotation>
      <appinfo>
        <jaxb:class>
          <jaxb:javadoc>
            Simple response.
          </jaxb:javadoc>
        </jaxb:class>
      </appinfo>
    </annotation>
    <sequence>
      <element name="type"     type="string"/>
      <element name="granted"  type="boolean"/>
      <element name="message"  type="string"/>
      <element name="username" type="string"/>
    </sequence>
  </complexType>

</schema>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?