Skip to content

Commit 20199cb

Browse files
committed
First commit
0 parents  commit 20199cb

36 files changed

+5791
-0
lines changed

.classpath

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" path="src"/>
4+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre7">
5+
<attributes>
6+
<attribute name="owner.project.facets" value="java"/>
7+
</attributes>
8+
</classpathentry>
9+
<classpathentry kind="lib" path="C:/StandAloneExe/EclipseLink/eclipselink-2.5.1.v20130918-f2b9fc5/eclipselink/jlib/moxy/com.sun.tools.xjc_2.2.0.jar"/>
10+
<classpathentry kind="lib" path="C:/StandAloneExe/EclipseLink/eclipselink-2.5.1.v20130918-f2b9fc5/eclipselink/jlib/moxy/com.sun.xml.bind_2.2.0.v201004141950.jar"/>
11+
<classpathentry kind="lib" path="C:/StandAloneExe/EclipseLink/eclipselink-2.5.1.v20130918-f2b9fc5/eclipselink/jlib/moxy/javax.xml.bind_2.2.0.v201105210648.jar"/>
12+
<classpathentry kind="lib" path="C:/StandAloneExe/JAK/JavaAPIforKml.jar">
13+
<attributes>
14+
<attribute name="javadoc_location" value="file:/C:/StandAloneExe/JAK/JavaAPIforKml-apidocs/apidocs/"/>
15+
</attributes>
16+
</classpathentry>
17+
<classpathentry kind="output" path="build/classes"/>
18+
</classpath>

.project

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>Trips2</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.wst.common.project.facet.core.builder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
<buildCommand>
19+
<name>org.eclipse.wst.validation.validationbuilder</name>
20+
<arguments>
21+
</arguments>
22+
</buildCommand>
23+
</buildSpec>
24+
<natures>
25+
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
26+
<nature>org.eclipse.jdt.core.javanature</nature>
27+
</natures>
28+
</projectDescription>

.settings/org.eclipse.jdt.core.prefs

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
eclipse.preferences.version=1
2+
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
4+
org.eclipse.jdt.core.compiler.compliance=1.7
5+
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
6+
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
7+
org.eclipse.jdt.core.compiler.source=1.7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<root>
2+
<facet id="jpt.jaxb">
3+
<node name="classgen">
4+
<attribute name="package" value="net.cjhndrx.trips.kml_classes"/>
5+
</node>
6+
<node name="libprov">
7+
<attribute name="provider-id" value="jaxb-jre-library-provider"/>
8+
</node>
9+
<node name="platform">
10+
<attribute name="platform-id" value="generic_2_2"/>
11+
</node>
12+
<node name="schemas">
13+
<node name="schema-1">
14+
<attribute name="location" value="platform:/resource/Trips2/employeeSchema.xsd"/>
15+
</node>
16+
<node name="schema-2">
17+
<attribute name="location" value="platform:/resource/Trips2/purchase_order_example.xsd"/>
18+
</node>
19+
<node name="schema-3">
20+
<attribute name="location" value="platform:/resource/Trips2/ogckml22.xsd"/>
21+
</node>
22+
</node>
23+
</facet>
24+
</root>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<faceted-project>
3+
<runtime name="jre7"/>
4+
<fixed facet="java"/>
5+
<fixed facet="jpt.jaxb"/>
6+
<installed facet="java" version="1.7"/>
7+
<installed facet="jpt.jaxb" version="2.2"/>
8+
</faceted-project>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<jaxb:bindings version="2.1" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
3+
xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" jaxb:extensionBindingPrefixes="xjc">
4+
<jaxb:globalBindings
5+
generateElementClass="false"
6+
mapSimpleTypeDef="false"
7+
generateMixedExtensions="false"
8+
optionalProperty="primitive">
9+
</jaxb:globalBindings>
10+
11+
<jaxb:bindings schemaLocation="atom-author-link.xsd" node="/xs:schema">
12+
<!-- rename the package 'oasis/names/tc/ciq/xsdschema/xal/_2/' to the following: -->
13+
<jaxb:schemaBindings>
14+
<jaxb:package name="de.micromata.opengis.kml.v_2_2_0.atom" />
15+
</jaxb:schemaBindings>
16+
17+
<!-- bind the 'Link' attribute to Java 'LinkDeprecated' -->
18+
<jaxb:bindings node=".//xs:element[@name='link']">
19+
<jaxb:property name="AtomLink" />
20+
</jaxb:bindings>
21+
<jaxb:bindings node=".//xs:element[@name='author']">
22+
<jaxb:property name="AtomAuthor" />
23+
</jaxb:bindings>
24+
</jaxb:bindings>
25+
26+
<!-- this package is referenced by AbstractFeatureType (xal:AddressDetails is used) -->
27+
<jaxb:bindings schemaLocation="http://docs.oasis-open.org/election/external/xAL.xsd" node="/xs:schema">
28+
<!-- rename the package 'oasis/names/tc/ciq/xsdschema/xal/_2/' to the following: -->
29+
<jaxb:schemaBindings>
30+
<jaxb:package name="de.micromata.opengis.kml.v_2_2_0.xal" />
31+
</jaxb:schemaBindings>
32+
33+
<!--
34+
Resolve: [xjc] [ERROR] Property "DependentThoroughfares" is already defined. Use &lt;jaxb:property> to resolve this
35+
conflict. [xjc] line 958 of http://docs.oasis-open.org/election/external/xAL.xsd [xjc] [ERROR] The following location
36+
is relevant to the above error [xjc] line 979 of http://docs.oasis-open.org/election/external/xAL.xsd
37+
-->
38+
<jaxb:bindings node=".//xs:attribute[@name='DependentThoroughfares']">
39+
<jaxb:property name="XalDependentThoroughfares" />
40+
</jaxb:bindings>
41+
42+
<!--
43+
Resolve: [xjc] [ERROR] Property "Address" is already defined. Use &lt;jaxb:property> to resolve this conflict. [xjc]
44+
line 210 of http://docs.oasis-open.org/election/external/xAL.xsd [xjc] [ERROR] The following location is relevant to
45+
the above error [xjc] line 267 of http://docs.oasis-open.org/election/external/xAL.xsd
46+
-->
47+
<jaxb:bindings node=".//xs:element[@name='Address']">
48+
<jaxb:property name="XalAddress" />
49+
</jaxb:bindings>
50+
51+
<!--
52+
Resolve: [xjc] [ERROR] Property "PremiseDependency" is already defined. Use &lt;jaxb:property> to resolve this
53+
conflict. [xjc] line 1486 of http://docs.oasis-open.org/election/external/xAL.xsd [xjc] [ERROR] The following
54+
location is relevant to the above error [xjc] line 1491 of http://docs.oasis-open.org/election/external/xAL.xsd
55+
-->
56+
<jaxb:bindings node=".//xs:attribute[@name='PremiseDependency']">
57+
<jaxb:property name="XalPremiseDependency" />
58+
</jaxb:bindings>
59+
60+
<jaxb:bindings node=".//xs:element[@name='AddressDetails']">
61+
<jaxb:property name="XalAddressDetails" />
62+
</jaxb:bindings>
63+
</jaxb:bindings>
64+
65+
<jaxb:bindings schemaLocation="kml22gx.xsd" node="/xs:schema">
66+
<!-- rename the package 'oasis/names/tc/ciq/xsdschema/xal/_2/' to the following: -->
67+
<jaxb:schemaBindings>
68+
<jaxb:package name="de.micromata.opengis.kml.v_2_2_0.gx" />
69+
</jaxb:schemaBindings>
70+
</jaxb:bindings>
71+
72+
<jaxb:bindings schemaLocation="ogckml22.xsd" node="/xs:schema">
73+
<!-- rename the package 'oasis/names/tc/ciq/xsdschema/xal/_2/' to the following: -->
74+
<jaxb:schemaBindings xmlns="default namespace">
75+
<jaxb:package name="de.micromata.opengis.kml.v_2_2_0" xmlns="default namespace" />
76+
</jaxb:schemaBindings>
77+
78+
<jaxb:bindings node="//xs:element[@name='altitudeMode']">
79+
<!-- <jaxb:class name="AltitudeModeEnumTypeDeprecated" /> -->
80+
<jaxb:factoryMethod name="AltitudeModeEnumTypeDeprecated" />
81+
</jaxb:bindings>
82+
<!--
83+
<jaxb:property name="AltitudeModeEnumType1" />
84+
Resolve: [xjc] [ERROR] Property "Snippet" is already defined. Use &lt;jaxb:property> to resolve this conflict. [xjc]
85+
line 321 of file:/Users/Flori/Documents/workspace34/JavaAPIforKML/src/main/resources/schema/ogckml/ogckml22.xsd [xjc]
86+
[ERROR] The following location is relevant to the above error [xjc] line 320 of
87+
file:/Users/Flori/Documents/workspace34/JavaAPIforKML/src/main/resources/schema/ogckml/ogckml22.xsd
88+
-->
89+
<!-- bind the 'snippet' attribute to Java 'SnippetDeprecated' -->
90+
<jaxb:bindings node="//xs:element[@name='snippet']">
91+
<jaxb:property name="snippetd" />
92+
<jaxb:factoryMethod name="snippetSmall" />
93+
</jaxb:bindings>
94+
95+
<!-- bind the 'scale' attribute to Java 'ScaleDeprecated' -->
96+
<jaxb:bindings node=".//xs:element[@name='scale']">
97+
<jaxb:property name="scale" />
98+
<jaxb:factoryMethod name="scaleSmall" />
99+
</jaxb:bindings>
100+
101+
<!-- only needed if <xjc:simple /> is enabled -->
102+
<!--
103+
Resolve: [xjc] [ERROR] Property "Link" is already defined. Use &lt;jaxb:property> to resolve this conflict. [xjc]
104+
line 744 of file:/Users/Flori/Documents/workspace34/JavaAPIforKML/src/main/resources/schema/ogckml/ogckml22.xsd [xjc]
105+
[ERROR] The following location is relevant to the above error [xjc] line 312 of
106+
file:/Users/Flori/Documents/workspace34/JavaAPIforKML/src/main/resources/schema/ogckml/ogckml22.xsd
107+
-->
108+
</jaxb:bindings>
109+
</jaxb:bindings>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<schema xmlns="http://www.w3.org/2001/XMLSchema"
3+
elementFormDefault="qualified"
4+
targetNamespace="http://www.w3.org/2005/Atom"
5+
xmlns:atom="http://www.w3.org/2005/Atom" version="1.0.0">
6+
7+
<annotation>
8+
<appinfo>atom-author-link.xsd 2008-01-23</appinfo>
9+
<documentation>There is no official atom XSD. This XSD is created based on:
10+
http://atompub.org/2005/08/17/atom.rnc. A subset of Atom as used in the
11+
ogckml22.xsd is defined here. </documentation>
12+
</annotation>
13+
14+
<!-- Person Construct -->
15+
<element name="author">
16+
<complexType>
17+
<choice minOccurs="0" maxOccurs="unbounded">
18+
<element ref="atom:name" />
19+
<element ref="atom:uri" />
20+
<element ref="atom:email" />
21+
</choice>
22+
</complexType>
23+
</element>
24+
<element name="name" type="string"/>
25+
<element name="uri" type="string"/>
26+
<element name="email" type="atom:atomEmailAddress"/>
27+
28+
<!-- atom:author -->
29+
<!-- <element name="author" type="atom:atomPersonConstruct"/>-->
30+
31+
<!-- atom:link -->
32+
<element name="link">
33+
<complexType>
34+
35+
<attribute name="href" use="required"/>
36+
<attribute name="rel"/>
37+
<attribute name="type" type="atom:atomMediaType"/>
38+
<attribute name="hreflang" type="atom:atomLanguageTag"/>
39+
<attribute name="title"/>
40+
<attribute name="length"/>
41+
42+
</complexType>
43+
44+
</element>
45+
46+
<!-- Whatever a media type is, it contains at least one slash -->
47+
<simpleType name="atomMediaType">
48+
<restriction base="string">
49+
<pattern value=".+/.+"/>
50+
</restriction>
51+
</simpleType>
52+
53+
<!-- As defined in RFC 3066 -->
54+
<simpleType name="atomLanguageTag">
55+
<restriction base="string">
56+
<pattern value="[A-Za-z]{1,8}(-[A-Za-z0-9]{1,8})*"/>
57+
</restriction>
58+
</simpleType>
59+
60+
<!-- Whatever an email address is, it contains at least one @ -->
61+
<simpleType name="atomEmailAddress">
62+
<restriction base="string">
63+
<pattern value=".+@.+"/>
64+
</restriction>
65+
</simpleType>
66+
67+
</schema>

0 commit comments

Comments
 (0)