xamplr 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.txt +13 -0
- data/LICENSE +3 -0
- data/README.rdoc +26 -0
- data/README.rdoc.orig +118 -0
- data/Rakefile +85 -0
- data/VERSION.yml +4 -0
- data/examples/random-people-shared-addresses/Makefile +16 -0
- data/examples/random-people-shared-addresses/batch-load-users.rb +83 -0
- data/examples/random-people-shared-addresses/find-mentions.rb +47 -0
- data/examples/random-people-shared-addresses/find-people-by-address.rb +104 -0
- data/examples/random-people-shared-addresses/optimise.rb +16 -0
- data/examples/random-people-shared-addresses/people.rb +35 -0
- data/examples/random-people-shared-addresses/query.rb +75 -0
- data/examples/random-people-shared-addresses/query2.rb +73 -0
- data/examples/random-people-shared-addresses/random-names.csv +10000 -0
- data/examples/random-people-shared-addresses/settings.rb +3 -0
- data/examples/random-people-shared-addresses/what-to-query-on.rb +82 -0
- data/examples/random-people-shared-addresses/xampl-gen.rb +36 -0
- data/examples/random-people-shared-addresses/xml/people.xml +14 -0
- data/examples/random-people/Makefile +16 -0
- data/examples/random-people/batch-load-users.rb +61 -0
- data/examples/random-people/optimise.rb +16 -0
- data/examples/random-people/people.rb +22 -0
- data/examples/random-people/query.rb +73 -0
- data/examples/random-people/query2.rb +73 -0
- data/examples/random-people/random-names.csv +10000 -0
- data/examples/random-people/rawtc.rb +91 -0
- data/examples/random-people/settings.rb +3 -0
- data/examples/random-people/what-to-query-on.rb +80 -0
- data/examples/random-people/xampl-gen.rb +36 -0
- data/examples/random-people/xml/people.xml +11 -0
- data/examples/read-testing/Makefile +10 -0
- data/examples/read-testing/load.rb +65 -0
- data/examples/read-testing/read.rb +51 -0
- data/examples/read-testing/rrr.rb +87 -0
- data/examples/read-testing/settings.rb +2 -0
- data/examples/read-testing/xampl-gen.rb +36 -0
- data/examples/read-testing/xml/text.xml +8 -0
- data/examples/tokyo-cabinet-experimental/expt-query.rb +42 -0
- data/examples/tokyo-cabinet-experimental/expt-query2.rb +42 -0
- data/examples/tokyo-cabinet-experimental/expt-query3.rb +41 -0
- data/examples/tokyo-cabinet-experimental/expt-reader.rb +32 -0
- data/examples/tokyo-cabinet-experimental/expt.rb +61 -0
- data/examples/tokyo-cabinet-experimental/xampl-gen.rb +36 -0
- data/examples/tokyo-cabinet-experimental/xml/tcx.xml +6 -0
- data/lib/xampl-generator.rb +3 -0
- data/lib/xampl.rb +3 -0
- data/lib/xamplr-generator.rb +10 -0
- data/lib/xamplr.rb +37 -0
- data/lib/xamplr/README-POSSIBLE-PROBLEMS +5 -0
- data/lib/xamplr/TODO +1 -0
- data/lib/xamplr/exceptions.rb +97 -0
- data/lib/xamplr/from-xml-orig.rb +350 -0
- data/lib/xamplr/from-xml.rb +439 -0
- data/lib/xamplr/gen-elements.xml +6230 -0
- data/lib/xamplr/gen.elements.xml +108 -0
- data/lib/xamplr/generate-elements.rb +15 -0
- data/lib/xamplr/generator.rb +5 -0
- data/lib/xamplr/graphml-out.rb +470 -0
- data/lib/xamplr/handwritten/example.rb +698 -0
- data/lib/xamplr/handwritten/hand-example.rb +533 -0
- data/lib/xamplr/handwritten/test-handwritten.rb +873 -0
- data/lib/xamplr/indexed-array.rb +115 -0
- data/lib/xamplr/mixins.rb +397 -0
- data/lib/xamplr/my.gen.elements.xml +461 -0
- data/lib/xamplr/notifications.rb +57 -0
- data/lib/xamplr/obsolete/fsdb.rb +62 -0
- data/lib/xamplr/persist-to-xml.rb +249 -0
- data/lib/xamplr/persistence.rb +522 -0
- data/lib/xamplr/persistence.rb.more_thread_safe +771 -0
- data/lib/xamplr/persistence.rb.partially_thread_safe +763 -0
- data/lib/xamplr/persister.rb +310 -0
- data/lib/xamplr/persisters/caches.rb +186 -0
- data/lib/xamplr/persisters/caching.rb +172 -0
- data/lib/xamplr/persisters/filesystem.rb +60 -0
- data/lib/xamplr/persisters/in-memory.rb +180 -0
- data/lib/xamplr/persisters/simple.rb +59 -0
- data/lib/xamplr/persisters/tokyo-cabinet.rb +641 -0
- data/lib/xamplr/simpleTemplate/danger.rx +4 -0
- data/lib/xamplr/simpleTemplate/obsolete/input-c.r4 +35 -0
- data/lib/xamplr/simpleTemplate/obsolete/play.r6.txt +12 -0
- data/lib/xamplr/simpleTemplate/obsolete/play_more.r6.txt +20 -0
- data/lib/xamplr/simpleTemplate/obsolete/test001.r5 +8 -0
- data/lib/xamplr/simpleTemplate/obsolete/test002.r5 +13 -0
- data/lib/xamplr/simpleTemplate/obsolete/test003.r5 +37 -0
- data/lib/xamplr/simpleTemplate/old/r6.000.rb +122 -0
- data/lib/xamplr/simpleTemplate/old/r6.001.rb +145 -0
- data/lib/xamplr/simpleTemplate/play.r6 +12 -0
- data/lib/xamplr/simpleTemplate/play_more.r6 +20 -0
- data/lib/xamplr/simpleTemplate/play_noblanks.r6 +21 -0
- data/lib/xamplr/simpleTemplate/playq.r6 +16 -0
- data/lib/xamplr/simpleTemplate/r6.rb +87 -0
- data/lib/xamplr/simpleTemplate/simple-template.rb +75 -0
- data/lib/xamplr/templates/child.template +47 -0
- data/lib/xamplr/templates/child_indexed.template +89 -0
- data/lib/xamplr/templates/child_modules.template +5 -0
- data/lib/xamplr/templates/element_classes.template +11 -0
- data/lib/xamplr/templates/element_data.template +282 -0
- data/lib/xamplr/templates/element_empty.template +285 -0
- data/lib/xamplr/templates/element_mixed.template +277 -0
- data/lib/xamplr/templates/element_simple.template +276 -0
- data/lib/xamplr/templates/package.template +26 -0
- data/lib/xamplr/test-support/Makefile +47 -0
- data/lib/xamplr/test-support/bench-cache.rb +80 -0
- data/lib/xamplr/test-support/bench-script.rb +21 -0
- data/lib/xamplr/test-support/bench.rb +116 -0
- data/lib/xamplr/test-support/bench2.rb +132 -0
- data/lib/xamplr/test-support/test-cache.rb +147 -0
- data/lib/xamplr/test-support/test-data/binding.xml +7 -0
- data/lib/xamplr/test-support/test-data/example.xml +14 -0
- data/lib/xamplr/test-support/test-data/internationalization-utf8.txt +1 -0
- data/lib/xamplr/test-support/test-data/labels.xml +37 -0
- data/lib/xamplr/test-support/test-data/labels001.xml +38 -0
- data/lib/xamplr/test-support/test-deep-change.rb +135 -0
- data/lib/xamplr/test-support/test-elements.rb +109 -0
- data/lib/xamplr/test-support/test-indexed-array.rb +169 -0
- data/lib/xamplr/test-support/test-misc.rb +73 -0
- data/lib/xamplr/test-support/test-names.rb +67 -0
- data/lib/xamplr/test-support/test-rollback.rb +106 -0
- data/lib/xamplr/test-support/test.rb +1504 -0
- data/lib/xamplr/to-ruby.rb +220 -0
- data/lib/xamplr/to-xml.rb +158 -0
- data/lib/xamplr/version.rb +67 -0
- data/lib/xamplr/visitor.rb +140 -0
- data/lib/xamplr/visitors.rb +573 -0
- data/lib/xamplr/xampl-generator.rb +533 -0
- data/lib/xamplr/xampl-hand-generated.rb +1535 -0
- data/lib/xamplr/xampl-module.rb +36 -0
- data/lib/xamplr/xampl-object-internals.rb +6 -0
- data/lib/xamplr/xampl-object.rb +202 -0
- data/lib/xamplr/xampl-persisted-object.rb +122 -0
- data/lib/xamplr/xml-text.rb +117 -0
- data/lib/xamplr/xml/document.xml +7 -0
- data/lib/xamplr/xml/elements.xml +101 -0
- data/lib/xamplr/xml/elements000.xml +73 -0
- data/lib/xamplr/xml/example.xml +23 -0
- data/lib/xamplr/xml/options.xml +12 -0
- data/lib/xamplr/xml/uche.xml +38 -0
- data/lib/xamplr/yEd-sample.graphml +300 -0
- data/test/test_helper.rb +10 -0
- data/test/xamplr_test.rb +7 -0
- metadata +245 -0
@@ -0,0 +1,101 @@
|
|
1
|
+
<xampl-gen:elements pid=''
|
2
|
+
xmlns:xampl-gen='http://xampl.com/generator'>
|
3
|
+
<xampl-gen:element kind='data'
|
4
|
+
package='XamplGenerator'
|
5
|
+
className='Elements'
|
6
|
+
attributeName='elements'
|
7
|
+
hasContent=''
|
8
|
+
name='elements'
|
9
|
+
nstag='{http://xampl.com/generator}elements'
|
10
|
+
namespace='http://xampl.com/generator'>
|
11
|
+
<xampl-gen:childElement namespace='http://xampl.com/generator'
|
12
|
+
name='{http://xampl.com/generator}element'
|
13
|
+
elementName='element'/>
|
14
|
+
</xampl-gen:element>
|
15
|
+
<xampl-gen:element kind='data'
|
16
|
+
indexedByAttr='name'
|
17
|
+
package='XamplGenerator'
|
18
|
+
className='Element'
|
19
|
+
attributeName='element'
|
20
|
+
name='element'
|
21
|
+
nstag='{http://xampl.com/generator}element'
|
22
|
+
namespace='http://xampl.com/generator'>
|
23
|
+
<xampl-gen:attribute name='indexedByAttr'
|
24
|
+
namespace=''/>
|
25
|
+
<xampl-gen:attribute name='persisted'/>
|
26
|
+
<xampl-gen:childElement namespace='http://xampl.com/generator'
|
27
|
+
name='{http://xampl.com/generator}childElement'
|
28
|
+
elementName='childElement'/>
|
29
|
+
<xampl-gen:attribute name='name'/>
|
30
|
+
<xampl-gen:attribute name='kind'/>
|
31
|
+
<xampl-gen:attribute name='namespace'/>
|
32
|
+
<xampl-gen:attribute name='package'/>
|
33
|
+
<xampl-gen:childElement namespace='http://xampl.com/generator'
|
34
|
+
name='{http://xampl.com/generator}attribute'
|
35
|
+
elementName='attribute'/>
|
36
|
+
</xampl-gen:element>
|
37
|
+
<xampl-gen:element kind='empty'
|
38
|
+
indexedByAttr='name'
|
39
|
+
package='XamplGenerator'
|
40
|
+
className='ChildElement'
|
41
|
+
attributeName='childElement'
|
42
|
+
name='childElement'
|
43
|
+
nstag='{http://xampl.com/generator}childElement'
|
44
|
+
namespace='http://xampl.com/generator'
|
45
|
+
empty='true'>
|
46
|
+
<xampl-gen:attribute name='name'/>
|
47
|
+
<xampl-gen:attribute name='namespace'/>
|
48
|
+
<xampl-gen:attribute name='indexClass'/>
|
49
|
+
<xampl-gen:attribute name='index'/>
|
50
|
+
<xampl-gen:attribute name='package'/>
|
51
|
+
</xampl-gen:element>
|
52
|
+
<xampl-gen:element kind='empty'
|
53
|
+
indexedByAttr='name'
|
54
|
+
package='XamplGenerator'
|
55
|
+
className='Attribute'
|
56
|
+
attributeName='attribute'
|
57
|
+
name='attribute'
|
58
|
+
nstag='{http://xampl.com/generator}attribute'
|
59
|
+
namespace='http://xampl.com/generator'
|
60
|
+
empty='true'>
|
61
|
+
<xampl-gen:attribute name='name'/>
|
62
|
+
</xampl-gen:element>
|
63
|
+
<xampl-gen:element kind='data'
|
64
|
+
package='XamplGenerator'
|
65
|
+
className='Options'
|
66
|
+
attributeName='options'
|
67
|
+
name='options'
|
68
|
+
nstag='{http://xampl.com/generator}options'
|
69
|
+
namespace='http://xampl.com/generator'>
|
70
|
+
<xampl-gen:childElement namespace='http://xampl.com/generator'
|
71
|
+
name='{http://xampl.com/generator}index-attribute'
|
72
|
+
elementName='index-attribute'/>
|
73
|
+
<xampl-gen:childElement namespace='http://xampl.com/generator'
|
74
|
+
name='{http://xampl.com/generator}resolve'
|
75
|
+
elementName='resolve'/>
|
76
|
+
</xampl-gen:element>
|
77
|
+
<xampl-gen:element kind='empty'
|
78
|
+
indexedByAttr='name'
|
79
|
+
package='XamplGenerator'
|
80
|
+
className='IndexAttribute'
|
81
|
+
attributeName='indexAttribute'
|
82
|
+
name='index-attribute'
|
83
|
+
nstag='{http://xampl.com/generator}index-attribute'
|
84
|
+
namespace='http://xampl.com/generator'
|
85
|
+
empty='true'>
|
86
|
+
<xampl-gen:attribute name='name'/>
|
87
|
+
<xampl-gen:attribute name='persisted'/>
|
88
|
+
</xampl-gen:element>
|
89
|
+
<xampl-gen:element kind='empty'
|
90
|
+
package='XamplGenerator'
|
91
|
+
className='Resolve'
|
92
|
+
attributeName='resolve'
|
93
|
+
name='resolve'
|
94
|
+
nstag='{http://xampl.com/generator}resolve'
|
95
|
+
namespace='http://xampl.com/generator'
|
96
|
+
empty='true'>
|
97
|
+
<xampl-gen:attribute name='namespace'/>
|
98
|
+
<xampl-gen:attribute name='pkg'/>
|
99
|
+
<xampl-gen:attribute name='preferredPrefix'/>
|
100
|
+
</xampl-gen:element>
|
101
|
+
</xampl-gen:elements>
|
@@ -0,0 +1,73 @@
|
|
1
|
+
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2
|
+
|
3
|
+
<!-- this as an instance does not describe the elements structure that is
|
4
|
+
actually used by xampl, it is *just* an instance for the generator -->
|
5
|
+
|
6
|
+
<elements xmlns='http://xampl.com/generator'>
|
7
|
+
<element name="elements"
|
8
|
+
kind="semistructured"
|
9
|
+
indexedByAttr=""
|
10
|
+
persisted=""
|
11
|
+
namespace="com.xampl"
|
12
|
+
package="com.xampl">
|
13
|
+
<childElement name="element"
|
14
|
+
namespace="com.xampl"
|
15
|
+
index="id"
|
16
|
+
indexClass="java.util.TreeMap"
|
17
|
+
package="com.xampl"/>
|
18
|
+
</element>
|
19
|
+
|
20
|
+
<element name="element"
|
21
|
+
kind="semistructured"
|
22
|
+
namespace="com.xampl"
|
23
|
+
package="com.xampl">
|
24
|
+
<attribute name="kind"/>
|
25
|
+
<attribute name="inherit"/>
|
26
|
+
<attribute name="abstract"/>
|
27
|
+
<attribute name="rhino"/>
|
28
|
+
<attribute name="debris"/>
|
29
|
+
<attribute name="classname"/>
|
30
|
+
<attribute name="contentEncoding"/>
|
31
|
+
<attribute name="id"/>
|
32
|
+
<attribute name="name"/>
|
33
|
+
<attribute name="namespace"/>
|
34
|
+
<attribute name="package"/>
|
35
|
+
<attribute name="className"/>
|
36
|
+
<attribute name="attributeName"/>
|
37
|
+
<attribute name="empty"/>
|
38
|
+
<attribute name="hasContent"/>
|
39
|
+
<!-- characters encountered -->
|
40
|
+
<childElement name="attribute"
|
41
|
+
namespace="com.xampl"
|
42
|
+
indexClass="java.util.TreeMap"
|
43
|
+
index="name"
|
44
|
+
package="com.xampl"/>
|
45
|
+
<childElement name="childElement"
|
46
|
+
namespace="com.xampl"
|
47
|
+
indexClass="java.util.TreeMap"
|
48
|
+
index="name"
|
49
|
+
package="com.xampl"/>
|
50
|
+
</element>
|
51
|
+
|
52
|
+
<element name="attribute"
|
53
|
+
kind="empty"
|
54
|
+
namespace="com.xampl"
|
55
|
+
package="com.xampl">
|
56
|
+
<attribute name="name"/>
|
57
|
+
<attribute name="namespace"/>
|
58
|
+
</element>
|
59
|
+
|
60
|
+
<element name="childElement"
|
61
|
+
kind="empty"
|
62
|
+
namespace="com.xampl"
|
63
|
+
package="com.xampl">
|
64
|
+
<attribute name="namespace"/>
|
65
|
+
<attribute name="name"/>
|
66
|
+
<attribute name="package"/>
|
67
|
+
<attribute name="index"/>
|
68
|
+
<attribute name="indexClass"/>
|
69
|
+
<attribute name="listClass"/>
|
70
|
+
<attribute name="min"/>
|
71
|
+
<attribute name="max"/>
|
72
|
+
</element>
|
73
|
+
</elements>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<things xmlns='http://xampl.com/example'
|
2
|
+
xmlns:xampl='http://xampl.com/example/special'>
|
3
|
+
<thing pid=''
|
4
|
+
info=''>
|
5
|
+
<description kind=''>blah
|
6
|
+
<emph>blah</emph>
|
7
|
+
blah
|
8
|
+
</description>
|
9
|
+
<keyValue id=''
|
10
|
+
value=''/>
|
11
|
+
<stuff kind=''
|
12
|
+
xampl:special=''/>
|
13
|
+
<thing pid=''/>
|
14
|
+
<things/>
|
15
|
+
</thing>
|
16
|
+
<thing pid=''
|
17
|
+
info=''>
|
18
|
+
<branch info=''>
|
19
|
+
<branch info=''/>
|
20
|
+
<leaf info=''/>
|
21
|
+
</branch>
|
22
|
+
</thing>
|
23
|
+
</things>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<options xmlns='http://xampl.com/generator'>
|
2
|
+
|
3
|
+
<index-attribute name='name'/>
|
4
|
+
<index-attribute name='id'/>
|
5
|
+
<index-attribute name='pid'
|
6
|
+
persisted='true'/>
|
7
|
+
|
8
|
+
<resolve pkg='XoxAdHoc'/>
|
9
|
+
<resolve namespace='http://xampl.com/generator'
|
10
|
+
pkg='XamplGenerator'
|
11
|
+
preferred_prefix='gen'/>
|
12
|
+
</options>
|
@@ -0,0 +1,38 @@
|
|
1
|
+
<labels>
|
2
|
+
<label id="tse"
|
3
|
+
added="2003-06-20">
|
4
|
+
<name>Thomas Eliot</name>
|
5
|
+
<address>
|
6
|
+
<street>3 Prufrock Lane</street>
|
7
|
+
<city>Stamford</city>
|
8
|
+
<state>CT</state>
|
9
|
+
</address>
|
10
|
+
<quote>
|
11
|
+
<emph>Midwinter Spring</emph>
|
12
|
+
is its own season…
|
13
|
+
</quote>
|
14
|
+
</label>
|
15
|
+
<label id="ep"
|
16
|
+
added="2003-06-10">
|
17
|
+
<name>Ezra Pound</name>
|
18
|
+
<address>
|
19
|
+
<street>45 Usura Place</street>
|
20
|
+
<city>Hailey</city>
|
21
|
+
<state>ID</state>
|
22
|
+
</address>
|
23
|
+
<quote>
|
24
|
+
What thou lovest well remains, the rest is dross…
|
25
|
+
</quote>
|
26
|
+
</label>
|
27
|
+
<!-- Throw in 10,000 more records just like this -->
|
28
|
+
<label id="lh"
|
29
|
+
added="2004-11-01">
|
30
|
+
<name>Langston Hughes</name>
|
31
|
+
<address>
|
32
|
+
<street>10 Bridge Tunnel</street>
|
33
|
+
<city>Harlem</city>
|
34
|
+
<state>NY</state>
|
35
|
+
</address>
|
36
|
+
</label>
|
37
|
+
</labels>
|
38
|
+
|
@@ -0,0 +1,300 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<graphml xmlns="http://graphml.graphdrawing.org/xmlns/graphml"
|
3
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
4
|
+
xmlns:y="http://www.yworks.com/xml/graphml"
|
5
|
+
xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns/graphml http://www.yworks.com/xml/schema/graphml/1.0/ygraphml.xsd">
|
6
|
+
<key for="node"
|
7
|
+
id="d0"
|
8
|
+
yfiles.type="nodegraphics"/>
|
9
|
+
<key attr.name="description"
|
10
|
+
attr.type="string"
|
11
|
+
for="node"
|
12
|
+
id="d1"/>
|
13
|
+
<key for="edge"
|
14
|
+
id="d2"
|
15
|
+
yfiles.type="edgegraphics"/>
|
16
|
+
<key attr.name="description"
|
17
|
+
attr.type="string"
|
18
|
+
for="edge"
|
19
|
+
id="d3"/>
|
20
|
+
<key for="graphml"
|
21
|
+
id="d4"
|
22
|
+
yfiles.type="resources"/>
|
23
|
+
<graph edgedefault="directed"
|
24
|
+
id="G"
|
25
|
+
parse.edges="3"
|
26
|
+
parse.nodes="4"
|
27
|
+
parse.order="free">
|
28
|
+
<node id="n0">
|
29
|
+
<data key="d0">
|
30
|
+
<y:UMLClassNode>
|
31
|
+
<y:Geometry height="102.0"
|
32
|
+
width="136.0"
|
33
|
+
x="-18.0"
|
34
|
+
y="349.0"/>
|
35
|
+
<y:Fill color="#FFCC99"
|
36
|
+
transparent="false"/>
|
37
|
+
<y:BorderStyle color="#000000"
|
38
|
+
type="line"
|
39
|
+
width="1.0"/>
|
40
|
+
<y:NodeLabel alignment="center"
|
41
|
+
autoSizePolicy="content"
|
42
|
+
fontFamily="Dialog"
|
43
|
+
fontSize="13"
|
44
|
+
fontStyle="bold"
|
45
|
+
hasBackgroundColor="false"
|
46
|
+
hasLineColor="false"
|
47
|
+
height="19.310546875"
|
48
|
+
modelName="internal"
|
49
|
+
modelPosition="c"
|
50
|
+
textColor="#000000"
|
51
|
+
visible="true"
|
52
|
+
width="110.818359375"
|
53
|
+
x="12.5908203125"
|
54
|
+
y="26.1328125">AddressAsChild
|
55
|
+
</y:NodeLabel>
|
56
|
+
<y:UML clipContent="true"
|
57
|
+
constraint=""
|
58
|
+
omitDetails="false"
|
59
|
+
stereotype="mixin"
|
60
|
+
use3DEffect="false">
|
61
|
+
<y:AttributeLabel>bar</y:AttributeLabel>
|
62
|
+
<y:MethodLabel>foo()</y:MethodLabel>
|
63
|
+
</y:UML>
|
64
|
+
</y:UMLClassNode>
|
65
|
+
</data>
|
66
|
+
<data key="d1">UMLClass</data>
|
67
|
+
</node>
|
68
|
+
<node id="n1">
|
69
|
+
<data key="d0">
|
70
|
+
<y:UMLClassNode>
|
71
|
+
<y:Geometry height="102.0"
|
72
|
+
width="111.0"
|
73
|
+
x="-5.5"
|
74
|
+
y="174.0"/>
|
75
|
+
<y:Fill color="#99CCFF"
|
76
|
+
transparent="false"/>
|
77
|
+
<y:BorderStyle color="#000000"
|
78
|
+
type="line"
|
79
|
+
width="2.0"/>
|
80
|
+
<y:NodeLabel alignment="center"
|
81
|
+
autoSizePolicy="content"
|
82
|
+
fontFamily="Dialog"
|
83
|
+
fontSize="13"
|
84
|
+
fontStyle="bold"
|
85
|
+
hasBackgroundColor="false"
|
86
|
+
hasLineColor="false"
|
87
|
+
height="19.310546875"
|
88
|
+
modelName="internal"
|
89
|
+
modelPosition="c"
|
90
|
+
textColor="#000000"
|
91
|
+
visible="true"
|
92
|
+
width="49.6904296875"
|
93
|
+
x="30.65478515625"
|
94
|
+
y="26.1328125">Person
|
95
|
+
</y:NodeLabel>
|
96
|
+
<y:UML clipContent="true"
|
97
|
+
constraint=""
|
98
|
+
omitDetails="false"
|
99
|
+
stereotype="entity, data"
|
100
|
+
use3DEffect="false">
|
101
|
+
<y:AttributeLabel>bar</y:AttributeLabel>
|
102
|
+
<y:MethodLabel>foo()</y:MethodLabel>
|
103
|
+
</y:UML>
|
104
|
+
</y:UMLClassNode>
|
105
|
+
</data>
|
106
|
+
<data key="d1">UMLClass</data>
|
107
|
+
</node>
|
108
|
+
<node id="n2">
|
109
|
+
<data key="d0">
|
110
|
+
<y:UMLClassNode>
|
111
|
+
<y:Geometry height="102.0"
|
112
|
+
width="91.0"
|
113
|
+
x="4.5"
|
114
|
+
y="-1.0"/>
|
115
|
+
<y:Fill color="#CCFFCC"
|
116
|
+
transparent="false"/>
|
117
|
+
<y:BorderStyle color="#000000"
|
118
|
+
type="line"
|
119
|
+
width="1.0"/>
|
120
|
+
<y:NodeLabel alignment="center"
|
121
|
+
autoSizePolicy="content"
|
122
|
+
fontFamily="Dialog"
|
123
|
+
fontSize="13"
|
124
|
+
fontStyle="bold"
|
125
|
+
hasBackgroundColor="false"
|
126
|
+
hasLineColor="false"
|
127
|
+
height="19.310546875"
|
128
|
+
modelName="internal"
|
129
|
+
modelPosition="c"
|
130
|
+
textColor="#000000"
|
131
|
+
visible="true"
|
132
|
+
width="39.83251953125"
|
133
|
+
x="25.583740234375"
|
134
|
+
y="26.1328125">Class
|
135
|
+
</y:NodeLabel>
|
136
|
+
<y:UML clipContent="true"
|
137
|
+
constraint=""
|
138
|
+
omitDetails="false"
|
139
|
+
stereotype="simple"
|
140
|
+
use3DEffect="false">
|
141
|
+
<y:AttributeLabel>bar</y:AttributeLabel>
|
142
|
+
<y:MethodLabel>foo()</y:MethodLabel>
|
143
|
+
</y:UML>
|
144
|
+
</y:UMLClassNode>
|
145
|
+
</data>
|
146
|
+
<data key="d1">UMLClass</data>
|
147
|
+
</node>
|
148
|
+
<node id="n3">
|
149
|
+
<data key="d0">
|
150
|
+
<y:UMLClassNode>
|
151
|
+
<y:Geometry height="102.0"
|
152
|
+
width="127.0"
|
153
|
+
x="161.5"
|
154
|
+
y="174.0"/>
|
155
|
+
<y:Fill color="#99CCFF"
|
156
|
+
transparent="false"/>
|
157
|
+
<y:BorderStyle color="#000000"
|
158
|
+
type="line"
|
159
|
+
width="3.0"/>
|
160
|
+
<y:NodeLabel alignment="center"
|
161
|
+
autoSizePolicy="content"
|
162
|
+
fontFamily="Dialog"
|
163
|
+
fontSize="13"
|
164
|
+
fontStyle="bold"
|
165
|
+
hasBackgroundColor="false"
|
166
|
+
hasLineColor="false"
|
167
|
+
height="19.310546875"
|
168
|
+
modelName="internal"
|
169
|
+
modelPosition="c"
|
170
|
+
textColor="#000000"
|
171
|
+
visible="true"
|
172
|
+
width="59.02783203125"
|
173
|
+
x="33.986083984375"
|
174
|
+
y="26.1328125">Address
|
175
|
+
</y:NodeLabel>
|
176
|
+
<y:UML clipContent="true"
|
177
|
+
constraint=""
|
178
|
+
omitDetails="false"
|
179
|
+
stereotype="entity, empty"
|
180
|
+
use3DEffect="false">
|
181
|
+
<y:AttributeLabel>bar</y:AttributeLabel>
|
182
|
+
<y:MethodLabel>foo()</y:MethodLabel>
|
183
|
+
</y:UML>
|
184
|
+
</y:UMLClassNode>
|
185
|
+
</data>
|
186
|
+
<data key="d1">UMLClass</data>
|
187
|
+
</node>
|
188
|
+
<edge id="e0"
|
189
|
+
source="n1"
|
190
|
+
target="n0">
|
191
|
+
<data key="d2">
|
192
|
+
<y:PolyLineEdge>
|
193
|
+
<y:Path sx="0.0"
|
194
|
+
sy="0.0"
|
195
|
+
tx="0.0"
|
196
|
+
ty="0.0"/>
|
197
|
+
<y:LineStyle color="#000000"
|
198
|
+
type="line"
|
199
|
+
width="1.0"/>
|
200
|
+
<y:Arrows source="none"
|
201
|
+
target="white_delta"/>
|
202
|
+
<y:EdgeLabel alignment="center"
|
203
|
+
distance="2.0"
|
204
|
+
fontFamily="Dialog"
|
205
|
+
fontSize="12"
|
206
|
+
fontStyle="plain"
|
207
|
+
hasBackgroundColor="false"
|
208
|
+
hasLineColor="false"
|
209
|
+
height="4.0"
|
210
|
+
modelName="six_pos"
|
211
|
+
modelPosition="tail"
|
212
|
+
preferredPlacement="anywhere"
|
213
|
+
ratio="0.5"
|
214
|
+
textColor="#000000"
|
215
|
+
visible="true"
|
216
|
+
width="4.0"
|
217
|
+
x="2.0"
|
218
|
+
y="34.529541015625"></y:EdgeLabel>
|
219
|
+
<y:BendStyle smoothed="false"/>
|
220
|
+
</y:PolyLineEdge>
|
221
|
+
</data>
|
222
|
+
<data key="d3">UMLinherits</data>
|
223
|
+
</edge>
|
224
|
+
<edge id="e1"
|
225
|
+
source="n1"
|
226
|
+
target="n3">
|
227
|
+
<data key="d2">
|
228
|
+
<y:PolyLineEdge>
|
229
|
+
<y:Path sx="0.0"
|
230
|
+
sy="0.0"
|
231
|
+
tx="0.0"
|
232
|
+
ty="0.0"/>
|
233
|
+
<y:LineStyle color="#000000"
|
234
|
+
type="line"
|
235
|
+
width="2.0"/>
|
236
|
+
<y:Arrows source="none"
|
237
|
+
target="short"/>
|
238
|
+
<y:EdgeLabel alignment="center"
|
239
|
+
distance="2.0"
|
240
|
+
fontFamily="Dialog"
|
241
|
+
fontSize="12"
|
242
|
+
fontStyle="plain"
|
243
|
+
hasBackgroundColor="false"
|
244
|
+
hasLineColor="false"
|
245
|
+
height="4.0"
|
246
|
+
modelName="six_pos"
|
247
|
+
modelPosition="tail"
|
248
|
+
preferredPlacement="anywhere"
|
249
|
+
ratio="0.5"
|
250
|
+
textColor="#000000"
|
251
|
+
visible="true"
|
252
|
+
width="4.0"
|
253
|
+
x="30.000732421875"
|
254
|
+
y="2.0"></y:EdgeLabel>
|
255
|
+
<y:BendStyle smoothed="false"/>
|
256
|
+
</y:PolyLineEdge>
|
257
|
+
</data>
|
258
|
+
<data key="d3">UMLuses</data>
|
259
|
+
</edge>
|
260
|
+
<edge id="e2"
|
261
|
+
source="n1"
|
262
|
+
target="n2">
|
263
|
+
<data key="d2">
|
264
|
+
<y:PolyLineEdge>
|
265
|
+
<y:Path sx="0.0"
|
266
|
+
sy="0.0"
|
267
|
+
tx="0.0"
|
268
|
+
ty="0.0"/>
|
269
|
+
<y:LineStyle color="#000000"
|
270
|
+
type="line"
|
271
|
+
width="1.0"/>
|
272
|
+
<y:Arrows source="none"
|
273
|
+
target="short"/>
|
274
|
+
<y:EdgeLabel alignment="center"
|
275
|
+
distance="2.0"
|
276
|
+
fontFamily="Dialog"
|
277
|
+
fontSize="12"
|
278
|
+
fontStyle="plain"
|
279
|
+
hasBackgroundColor="false"
|
280
|
+
hasLineColor="false"
|
281
|
+
height="4.0"
|
282
|
+
modelName="six_pos"
|
283
|
+
modelPosition="tail"
|
284
|
+
preferredPlacement="anywhere"
|
285
|
+
ratio="0.5"
|
286
|
+
textColor="#000000"
|
287
|
+
visible="true"
|
288
|
+
width="4.0"
|
289
|
+
x="2.0"
|
290
|
+
y="-38.529541015625"></y:EdgeLabel>
|
291
|
+
<y:BendStyle smoothed="false"/>
|
292
|
+
</y:PolyLineEdge>
|
293
|
+
</data>
|
294
|
+
<data key="d3">UMLuses</data>
|
295
|
+
</edge>
|
296
|
+
</graph>
|
297
|
+
<data key="d4">
|
298
|
+
<y:Resources/>
|
299
|
+
</data>
|
300
|
+
</graphml>
|