- Remove commited JAXB stubs
- Export support multiline notes.
This commit is contained in:
159
wise-webapp/src/main/resources/freemind_0.9.0.xsd
Executable file
159
wise-webapp/src/main/resources/freemind_0.9.0.xsd
Executable file
@@ -0,0 +1,159 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
|
||||
|
||||
<xs:element name='Parameters'>
|
||||
<xs:complexType>
|
||||
<!--Is the time management plugin.-->
|
||||
<xs:attribute name='REMINDUSERAT' type='xs:integer' use='optional'/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!--Used for node notes.-->
|
||||
<xs:element name='text' type="xs:string"/>
|
||||
|
||||
<xs:element name='arrowlink'>
|
||||
<xs:complexType>
|
||||
<xs:attribute name='COLOR' type='xs:string' use='optional'/>
|
||||
<xs:attribute name='DESTINATION' type='xs:string' use='required'/>
|
||||
<xs:attribute name='ENDARROW' type='xs:string' use='optional'/>
|
||||
<xs:attribute name='ENDINCLINATION' type='xs:string' use='optional'/>
|
||||
<xs:attribute name='ID' type='xs:string' use='optional'/>
|
||||
<xs:attribute name='STARTARROW' type='xs:string' use='optional'/>
|
||||
<xs:attribute name='STARTINCLINATION' type='xs:string' use='optional'/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name='cloud'>
|
||||
<xs:complexType>
|
||||
<xs:attribute name='COLOR' type='xs:string' use='optional'/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name='edge'>
|
||||
<xs:complexType>
|
||||
<xs:attribute name='COLOR' type='xs:string' use='optional'/>
|
||||
<xs:attribute name='STYLE' type='xs:string' use='optional'/>
|
||||
<xs:attribute name='WIDTH' type='xs:string' use='optional'/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name='font'>
|
||||
<xs:complexType>
|
||||
<xs:attribute name='BOLD' use='optional'>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base='xs:string'>
|
||||
<xs:enumeration value='true'/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name='ITALIC' use='optional'>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base='xs:string'>
|
||||
<xs:enumeration value='true'/>
|
||||
<xs:enumeration value='false'/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name='NAME' type='xs:string' use='required'/>
|
||||
<xs:attribute name='SIZE' use='required' type='xs:integer'/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name='hook'>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref='Parameters' minOccurs='0' maxOccurs='1'/>
|
||||
<xs:element ref='text' minOccurs='0' maxOccurs='1'/>
|
||||
</xs:sequence>
|
||||
<xs:attribute name='NAME' type='xs:string' use='required'/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name='icon'>
|
||||
<xs:complexType>
|
||||
<xs:attribute name='BUILTIN' type='xs:string' use='required'/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name='html'>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<!--Anything that is valid XML, but should be http://www.w3.org/1999/xhtml -->
|
||||
<xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name='richcontent'>
|
||||
<xs:complexType>
|
||||
<!-- And contains XHTML as unique child:-->
|
||||
<xs:sequence>
|
||||
<xs:element ref='html' minOccurs='1' maxOccurs='1'/>
|
||||
</xs:sequence>
|
||||
<!--Currently, only NODE or NOTE is allowed.-->
|
||||
<xs:attribute name='TYPE' use='required'>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base='xs:string'>
|
||||
<xs:enumeration value='NODE'/>
|
||||
<xs:enumeration value='NOTE'/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name='map'>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref='node'/>
|
||||
</xs:sequence>
|
||||
<xs:attribute name='version' type='xs:string' use='required'/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name='node'>
|
||||
<xs:complexType>
|
||||
<xs:choice minOccurs='0' maxOccurs='unbounded'>
|
||||
<xs:element ref='arrowlink'/>
|
||||
<xs:element ref='cloud'/>
|
||||
<xs:element ref='edge'/>
|
||||
<xs:element ref='font'/>
|
||||
<xs:element ref='hook'/>
|
||||
<xs:element ref='icon'/>
|
||||
<xs:element ref='node'/>
|
||||
<!-- For nodes with extended formatting content or for notes to nodes. -->
|
||||
<xs:element ref='richcontent'/>
|
||||
</xs:choice>
|
||||
<xs:attribute name='BACKGROUND_COLOR' type='xs:string' use='optional'/>
|
||||
<xs:attribute name='COLOR' type='xs:string' use='optional'/>
|
||||
<xs:attribute name='FOLDED' use='optional'>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base='xs:string'>
|
||||
<xs:enumeration value='true'/>
|
||||
<xs:enumeration value='false'/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name='ID' type='xs:ID' use='optional'/>
|
||||
<xs:attribute name='LINK' type='xs:string' use='optional'/>
|
||||
<xs:attribute name='POSITION' use='optional'>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base='xs:string'>
|
||||
<xs:enumeration value='left'/>
|
||||
<xs:enumeration value='right'/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name='STYLE' type='xs:string' use='optional'/>
|
||||
<xs:attribute name='TEXT' type='xs:string' use='required'/>
|
||||
<xs:attribute name='CREATED' type='xs:integer' use='optional'/>
|
||||
<xs:attribute name='MODIFIED' type='xs:integer' use='optional'/>
|
||||
<xs:attribute name='HGAP' type='xs:integer' use='optional'/>
|
||||
<xs:attribute name='VGAP' type='xs:integer' use='optional'/>
|
||||
<xs:attribute name='WCOORDS' type='xs:string' use='optional'/>
|
||||
<xs:attribute name='WORDER' type='xs:integer' use='optional'/>
|
||||
|
||||
<xs:attribute name='VSHIFT' type='xs:integer' use='optional'/>
|
||||
<xs:attribute name='ENCRYPTED_CONTENT' type='xs:string' use='optional'/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:schema>
|
14
wise-webapp/src/main/resources/mindmap.xjb
Normal file
14
wise-webapp/src/main/resources/mindmap.xjb
Normal file
@@ -0,0 +1,14 @@
|
||||
<jxb:bindings version="2.0" xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<jxb:bindings schemaLocation="mindmap.xsd">
|
||||
<jxb:schemaBindings>
|
||||
<jxb:package name="com.wisemapping.jaxb.mindmap"/>
|
||||
</jxb:schemaBindings>
|
||||
</jxb:bindings>
|
||||
<jxb:bindings node="/xsd:schema/xsd:complexType[@name='topicType']/xsd:attribute[@name='text']" schemaLocation="mindmap.xsd">
|
||||
<jxb:property name="textAttr"/>
|
||||
</jxb:bindings>
|
||||
<jxb:bindings node="/xsd:schema/xsd:complexType[@name='note']/xsd:attribute[@name='text']" schemaLocation="mindmap.xsd">
|
||||
<jxb:property name="textAttr"/>
|
||||
</jxb:bindings>
|
||||
</jxb:bindings>
|
131
wise-webapp/src/main/resources/mindmap.xsd
Executable file → Normal file
131
wise-webapp/src/main/resources/mindmap.xsd
Executable file → Normal file
@@ -1,64 +1,69 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsd:schema
|
||||
attributeFormDefault="unqualified"
|
||||
elementFormDefault="qualified"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
|
||||
<xsd:element name="map">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element ref="topic" minOccurs="1" maxOccurs='unbounded'/>
|
||||
<xsd:element ref="relationship" minOccurs="0" maxOccurs='unbounded'/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string"/>
|
||||
<xsd:attribute name="version" type="xsd:string"/>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
|
||||
<xsd:element name="topic" type="topicType"/>
|
||||
|
||||
<xsd:complexType name="topicType">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs='0' maxOccurs='unbounded' type="icon" name="icon"/>
|
||||
<xsd:element minOccurs='0' maxOccurs='1' type="link" name="link"/>
|
||||
<xsd:element minOccurs='0' maxOccurs='1' type="note" name="note"/>
|
||||
<xsd:element minOccurs='0' maxOccurs='unbounded' ref="topic"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="text" type="xsd:string"/>
|
||||
<xsd:attribute name="shape" type="xsd:string"/>
|
||||
<xsd:attribute name="fontStyle" type="xsd:string"/>
|
||||
<xsd:attribute name="bgColor" type="xsd:string"/>
|
||||
<xsd:attribute name="brColor" type="xsd:string"/>
|
||||
<xsd:attribute name="order" type="xsd:int"/>
|
||||
<xsd:attribute name="position" type="xsd:string"/>
|
||||
<xsd:attribute name="central" type="xsd:boolean"/>
|
||||
<xsd:attribute name="id" type="xsd:string" use="optional"/>
|
||||
<xsd:attribute name="shrink" type="xsd:boolean"/>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="icon">
|
||||
<xsd:attribute name="id" type="xsd:string"/>
|
||||
<xsd:attribute name="order" type="xsd:string"/>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="link">
|
||||
<xsd:attribute name="url" type="xsd:string"/>
|
||||
<xsd:attribute name="order" type="xsd:string"/>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="note">
|
||||
<xsd:attribute name="text" type="xsd:string"/>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:element name="relationship" type="relationshipType"/>
|
||||
<xsd:complexType name="relationshipType">
|
||||
<xsd:attribute name="id" type="xsd:string"/>
|
||||
<xsd:attribute name="srcTopicId" type="xsd:string"/>
|
||||
<xsd:attribute name="destTopicId" type="xsd:string"/>
|
||||
<xsd:attribute name="lineType" type="xsd:string"/>
|
||||
<xsd:attribute name="srcCtrlPoint" type="xsd:string"/>
|
||||
<xsd:attribute name="destCtrlPoint" type="xsd:string"/>
|
||||
<xsd:attribute name="endArrow" type="xsd:boolean"/>
|
||||
</xsd:complexType>
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsd:schema
|
||||
attributeFormDefault="unqualified"
|
||||
elementFormDefault="qualified"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
|
||||
<xsd:element name="map">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element ref="topic" minOccurs="1" maxOccurs='unbounded'/>
|
||||
<xsd:element ref="relationship" minOccurs="0" maxOccurs='unbounded'/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string"/>
|
||||
<xsd:attribute name="version" type="xsd:string"/>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
|
||||
<xsd:element name="topic" type="topicType"/>
|
||||
|
||||
<xsd:complexType name="topicType">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs='0' maxOccurs='1' type="xsd:string" name="text"/>
|
||||
<xsd:element minOccurs='0' maxOccurs='unbounded' type="icon" name="icon"/>
|
||||
<xsd:element minOccurs='0' maxOccurs='1' type="link" name="link"/>
|
||||
<xsd:element minOccurs='0' maxOccurs='1' type="note" name="note"/>
|
||||
<xsd:element minOccurs='0' maxOccurs='unbounded' ref="topic"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="text" type="xsd:string"/>
|
||||
<xsd:attribute name="shape" type="xsd:string"/>
|
||||
<xsd:attribute name="fontStyle" type="xsd:string"/>
|
||||
<xsd:attribute name="bgColor" type="xsd:string"/>
|
||||
<xsd:attribute name="brColor" type="xsd:string"/>
|
||||
<xsd:attribute name="order" type="xsd:int"/>
|
||||
<xsd:attribute name="position" type="xsd:string"/>
|
||||
<xsd:attribute name="central" type="xsd:boolean"/>
|
||||
<xsd:attribute name="id" type="xsd:string" use="optional"/>
|
||||
<xsd:attribute name="shrink" type="xsd:boolean"/>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="icon">
|
||||
<xsd:attribute name="id" type="xsd:string"/>
|
||||
<xsd:attribute name="order" type="xsd:string"/>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="link">
|
||||
<xsd:attribute name="url" type="xsd:string"/>
|
||||
<xsd:attribute name="order" type="xsd:string"/>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="note">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs='0' maxOccurs='1' type="xsd:string" name="text"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="text" type="xsd:string"/>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:element name="relationship" type="relationshipType"/>
|
||||
<xsd:complexType name="relationshipType">
|
||||
<xsd:attribute name="id" type="xsd:string"/>
|
||||
<xsd:attribute name="srcTopicId" type="xsd:string"/>
|
||||
<xsd:attribute name="destTopicId" type="xsd:string"/>
|
||||
<xsd:attribute name="lineType" type="xsd:string"/>
|
||||
<xsd:attribute name="srcCtrlPoint" type="xsd:string"/>
|
||||
<xsd:attribute name="destCtrlPoint" type="xsd:string"/>
|
||||
<xsd:attribute name="endArrow" type="xsd:boolean"/>
|
||||
<xsd:attribute name="startArrow" type="xsd:boolean"/>
|
||||
</xsd:complexType>
|
||||
|
||||
</xsd:schema>
|
@@ -1,106 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<wsdl:definitions xmlns:sch="http://www.wisemapping.org/ws" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
|
||||
xmlns:tns="http://www.wisemapping.org/ws" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
|
||||
targetNamespace="http://www.wisemapping.org/ws">
|
||||
<wsdl:types>
|
||||
<xsd:schema xmlns:wm="http://www.wisemapping.org/mindmap" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
attributeFormDefault="unqualified" elementFormDefault="qualified"
|
||||
targetNamespace="http://www.wisemapping.org/ws">
|
||||
<xsd:import namespace="http://www.wisemapping.org/mindmap" schemaLocation="mindmap.xsd"/>
|
||||
|
||||
<xsd:element name="loadMindmapRequest">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="mapdId" type="xsd:long"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
|
||||
<xsd:element name="loadMindmapResponse">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="creator" type="xsd:string"/>
|
||||
<xsd:element ref="wm:map"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
|
||||
<xsd:element name="addMindmapRequest">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="creator" type="xsd:string"/>
|
||||
<xsd:element name="title" type="xsd:string"/>
|
||||
<xsd:element name="description" type="xsd:string"/>
|
||||
<xsd:element ref="wm:map"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
|
||||
<xsd:element name="addMindmapResponse">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="mapId" type="xsd:long"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
|
||||
|
||||
</xsd:schema>
|
||||
</wsdl:types>
|
||||
<wsdl:message name="loadMindmapResponse">
|
||||
<wsdl:part element="tns:loadMindmapResponse" name="loadMindmapResponse">
|
||||
</wsdl:part>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="addMindmapRequest">
|
||||
<wsdl:part element="tns:addMindmapRequest" name="addMindmapRequest">
|
||||
</wsdl:part>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="loadMindmapRequest">
|
||||
<wsdl:part element="tns:loadMindmapRequest" name="loadMindmapRequest">
|
||||
</wsdl:part>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="addMindmapResponse">
|
||||
<wsdl:part element="tns:addMindmapResponse" name="addMindmapResponse">
|
||||
</wsdl:part>
|
||||
</wsdl:message>
|
||||
<wsdl:portType name="WiseServicesPortType">
|
||||
<wsdl:operation name="loadMindmap">
|
||||
<wsdl:input message="tns:loadMindmapRequest" name="loadMindmapRequest">
|
||||
</wsdl:input>
|
||||
<wsdl:output message="tns:loadMindmapResponse" name="loadMindmapResponse">
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="addMindmap">
|
||||
<wsdl:input message="tns:addMindmapRequest" name="addMindmapRequest">
|
||||
</wsdl:input>
|
||||
<wsdl:output message="tns:addMindmapResponse" name="addMindmapResponse">
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
</wsdl:portType>
|
||||
<wsdl:binding name="WiseServicesPortTypeSoap11" type="tns:WiseServicesPortType">
|
||||
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
||||
<wsdl:operation name="loadMindmap">
|
||||
<soap:operation soapAction=""/>
|
||||
<wsdl:input name="loadMindmapRequest">
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output name="loadMindmapResponse">
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="addMindmap">
|
||||
<soap:operation soapAction=""/>
|
||||
<wsdl:input name="addMindmapRequest">
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output name="addMindmapResponse">
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
</wsdl:binding>
|
||||
<wsdl:service name="WiseServicesPortTypeService">
|
||||
<wsdl:port binding="tns:WiseServicesPortTypeSoap11" name="WiseServicesPortTypeSoap11">
|
||||
<soap:address location="http://localhost:8080/wise-webapp/ws/"/>
|
||||
</wsdl:port>
|
||||
</wsdl:service>
|
||||
</wsdl:definitions>
|
Reference in New Issue
Block a user