isidorus-cvs
Threads by month
- ----- 2025 -----
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
July 2011
- 1 participants
- 156 discussions

[isidorus-cvs] r656 - in branches/gdl-frontend/src/anaToMia/GDL_Widgets: src/us/isidor/gdl/anaToMia/Widgets src/us/isidor/gdl/anaToMia/Widgets/base war/gdl_widgets
by lgiessmann@common-lisp.net 21 Jul '11
by lgiessmann@common-lisp.net 21 Jul '11
21 Jul '11
Author: lgiessmann
Date: Thu Jul 21 02:55:39 2011
New Revision: 656
Log:
Modified:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/TODO.txt
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TmHelper.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/gdl_widgets/test.gdl.jtm
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/TODO.txt
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/TODO.txt Thu Jul 21 01:31:07 2011 (r655)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/TODO.txt Thu Jul 21 02:55:39 2011 (r656)
@@ -1,5 +1,5 @@
1. Use a Hyperlink element in GdlReference instead of the inner class Reference
-2. Implement GdlLineBreak
+2. Implement GdlLineBreak => placeholder
3. Implement TopicMaps data consumption
4. Implement TopicMaps data generation
3. Implement GdlButton(s)
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TmHelper.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TmHelper.java Thu Jul 21 01:31:07 2011 (r655)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TmHelper.java Thu Jul 21 02:55:39 2011 (r656)
@@ -15,6 +15,7 @@
import us.isidor.gdl.anaToMia.Widgets.base.GdlPsis.RoleType;
import us.isidor.gdl.anaToMia.Widgets.base.GdlPsis.TMDM;
import us.isidor.gdl.anaToMia.Widgets.base.GdlPsis.TopicType;
+import us.isidor.gdl.anaToMia.Widgets.container.GdlUnit;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
import us.isidor.gdl.anaToMia.Widgets.environment.Pair;
import us.isidor.gdl.anaToMia.Widgets.environment.TopicIdentifierTypes;
@@ -308,10 +309,23 @@
Topic typeOfTopic = topic.getTypes().length() != 0 ? topic.getTypes().get(0) : null;
localRolePlayertypesAndTypes.add(new Pair<Topic, Topic>(typeOfTopic, roleType));
- for (Association assoc : allPotentialAssocs) if(hasRoles(assoc, localRolePlayertypesAndTypes)) assocsWoScope.add(assoc);
+ for (Association assoc : allPotentialAssocs){
+ if(getAnyIdOfTopic(topic).equals("http://psi.test.org/gdl-test/unit-1")){ // TODO: remove
+ String str = "";
+ for (Pair<Topic, Topic> pair : localRolePlayertypesAndTypes)
+ str += ", [" + getAnyIdOfTopic(pair.getFirst()) + ", " + getAnyIdOfTopic(pair.getSecond()) + "]";
+
+ Window.alert(str);
+ }
+
+ if(hasRoles(assoc, localRolePlayertypesAndTypes)) assocsWoScope.add(assoc);
+ }
for (Association assoc : assocsWoScope) if(hasThemes(assoc, scope)) result.add(assoc);
+
+
+
return result;
}
@@ -411,6 +425,14 @@
rolePlayertypesAndTypes.add(new Pair<Topic, Topic>(position, descriptorRoleType));
ArrayList<Association> descendantAssocsOfContainer = TmHelper.getAssociationsOfTopic(container, ancestorRoleType, positionAssocType, null, rolePlayertypesAndTypes);
+ if(getAnyIdOfTopic(container).equals("http://psi.test.org/gdl-test/unit-1")){ // TODO: remove
+ Association assoc = container.getRolesPlayed(ancestorRoleType, positionAssocType).get(0).getParent();
+ String str = "";
+ for(int i = 0; i != assoc.getRoles().length(); ++i)
+ str += ", [" + getAnyIdOfTopic(assoc.getRoles().get(i).getType()) + ", " + getAnyIdOfTopic(assoc.getRoles().get(i).getPlayer()) + "]";
+ Window.alert(getAnyIdOfTopic(container) + " >> " + descendantAssocsOfContainer.size() + " >> " + str);
+ }
+
ArrayList<Topic> validDescendants = new ArrayList<Topic>();
for (Association descendantAssociation : descendantAssocsOfContainer) {
JsArray<Role> descendantRoles = descendantAssociation.getRoles(descendantRoleType);
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/gdl_widgets/test.gdl.jtm
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/gdl_widgets/test.gdl.jtm Thu Jul 21 01:31:07 2011 (r655)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/gdl_widgets/test.gdl.jtm Thu Jul 21 02:55:39 2011 (r656)
@@ -54,8 +54,10 @@
{"subject_identifiers":["[doc:list-item-2]"], "instance_of":["si:[gdl:Text]"], "occurrences":[{"type":"si:[gdl:id]", "value":"list_item_2_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:padding]", "value":"5px"}, {"type":"si:[gdl:margin-top]", "value":"5px"}]},
{"subject_identifiers":["[gdl:List-Box]"]},
{"subject_identifiers":["[doc:text-1]"], "instance_of":["si:[gdl:Text]"], "occurrences":[{"type":"si:[gdl:id]", "value":"text_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:readonly]", "value":"false", "datatype":"[xsd:boolean]"}]},
- {"subject_identifiers":["[doc:unit-1]"], "instance_of":["si:[gdl:Unit]"], "occurrences":[{"type":"si:[gdl:id]", "value":"unit_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:unit-name]", "value":"unit 1"}, {"type":"si:[gdl:width]", "value":"100px"}, {"type":"si:[gdl:height]", "value":"100px"}, {"type":"si:[gdl:border-style]", "value":"dashed"}, {"type":"si:[gdl:border-width]", "value":"1px"}, {"type":"si:[gdl:text-decoration]", "value":"line-through"},{"type":"si:[gdl:background-color]", "value":"yellow"}]},
+ {"subject_identifiers":["[doc:unit-1]"], "instance_of":["si:[gdl:Unit]"], "occurrences":[{"type":"si:[gdl:id]", "value":"unit_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:unit-name]", "value":"unit 1"}, {"type":"si:[gdl:width]", "value":"400px"}, {"type":"si:[gdl:height]", "value":"200px"}, {"type":"si:[gdl:border-style]", "value":"dashed"}, {"type":"si:[gdl:border-width]", "value":"1px"}, {"type":"si:[gdl:text-decoration]", "value":"line-through"},{"type":"si:[gdl:background-color]", "value":"lime"}]},
{"subject_identifiers":["[doc:title-1]"], "instance_of":["si:[gdl:Title]"], "occurrences":[{"type":"si:[gdl:id]", "value":"title_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:text-decoration]", "value":"underline"}, {"type":"si:[gdl:background-color]", "value":"#ccc"}, {"type":"si:[gdl:font-weight]", "value":"bold"}]},
+ {"subject_identifiers":["[doc:unit-1-reference]"], "instance_of":["si:[gdl:Reference]"]},
+ {"subject_identifiers":["[doc:pos-of-unit-1-reference]"], "instance_of":["si:[gdl:Reference]"]},
{"subject_identifiers":["[doc:reference-1]"], "instance_of":["si:[gdl:Reference]"], "occurrences":[{"type":"si:[gdl:id]", "value":"reference_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:margin-left]", "value":"200px"}, {"type":"si:[gdl:background-color]", "value":"yellow"}]},
{"subject_identifiers":["[doc:list-box-1]"], "instance_of":["si:[gdl:List-Box]"], "occurrences":[{"type":"si:[gdl:id]", "value":"list_box_1_id", "datatype":"[xsd:ID]"}]},
{"subject_identifiers":["[gdl:Value]"], "instance_of":["si:[tmcl:topic-type]"]},
@@ -155,5 +157,7 @@
{"type":"si:[gdl:position]", "roles":[{"type":"si:[gdl:descriptor]", "player":"si:[doc:pos-of-unit]"},{"type":"si:[gdl:ancestor]", "player":"si:[doc:person-list]"}, {"type":"si:[gdl:descendant]", "player":"si:[doc:unit-1]"}]},
{"type":"si:[gdl:contains]", "roles":[{"type":"si:[gdl:container]", "player":"si:[doc:person-list]"},{"type":"si:[gdl:containee]", "player":"si:[doc:list-item-1]"}, {"type":"si:[gdl:nth-element]", "player":"si:[doc:nth-elem-1]"}]},
{"type":"si:[gdl:contains]", "roles":[{"type":"si:[gdl:container]", "player":"si:[doc:person-list]"},{"type":"si:[gdl:containee]", "player":"si:[doc:list-item-2]"}, {"type":"si:[gdl:nth-element]", "player":"si:[doc:nth-elem-2]"}]},
- {"type":"si:[gdl:contains]", "roles":[{"type":"si:[gdl:container]", "player":"si:[doc:person-list]"},{"type":"si:[gdl:containee]", "player":"si:[doc:list-item-3]"}, {"type":"si:[gdl:nth-element]", "player":"si:[doc:nth-elem-3]"}]}
+ {"type":"si:[gdl:contains]", "roles":[{"type":"si:[gdl:container]", "player":"si:[doc:person-list]"},{"type":"si:[gdl:containee]", "player":"si:[doc:list-item-3]"}, {"type":"si:[gdl:nth-element]", "player":"si:[doc:nth-elem-3]"}]},
+ {"type":"si:[gdl:contains]", "roles":[{"type":"si:[gdl:container]", "player":"si:[doc:unit-1]"},{"type":"si:[gdl:containee]", "player":"si:[doc:unit-1-reference]"}]},
+ {"type":"si:[gdl:position]", "roles":[{"type":"si:[gdl:descriptor]", "player":"si:[doc:pos-of-unit-1-reference]"},{"type":"si:[gdl:ancestor]", "player":"si:[doc:unit-1]"}, {"type":"si:[gdl:descendant]", "player":"si:[doc:unit-1-reference]"}]}
]}
\ No newline at end of file
1
0

[isidorus-cvs] r655 - branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base
by lgiessmann@common-lisp.net 21 Jul '11
by lgiessmann@common-lisp.net 21 Jul '11
21 Jul '11
Author: lgiessmann
Date: Thu Jul 21 01:31:07 2011
New Revision: 655
Log:
gdl-frontend: Widgets: fixed a bug in GdlVisibleObject.getBorderColor when getting the default border color
Modified:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java Thu Jul 21 01:26:39 2011 (r654)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java Thu Jul 21 01:31:07 2011 (r655)
@@ -424,8 +424,10 @@
colorOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderColor);
}
- if(colorOcc == null ){
+ if(colorOcc == null && styleClass != null){
return null;
+ } else if(colorOcc == null) {
+ return new ColorValue();
} else {
return new ColorValue(colorOcc.getValue());
}
1
0

[isidorus-cvs] r654 - in branches/gdl-frontend/src/anaToMia/GDL_Widgets: src/us/isidor/gdl/anaToMia/Widgets/base src/us/isidor/gdl/anaToMia/Widgets/container war/gdl_widgets
by lgiessmann@common-lisp.net 21 Jul '11
by lgiessmann@common-lisp.net 21 Jul '11
21 Jul '11
Author: lgiessmann
Date: Thu Jul 21 01:26:39 2011
New Revision: 654
Log:
gdl-frontend: Widgets: changed the style properties of GdlUnit => unit-border styles are removed, i.e. the unit-border is used also as the element border
Modified:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPsis.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlUnit.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/gdl_widgets/test.gdl.jtm
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPsis.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPsis.java Wed Jul 20 11:21:32 2011 (r653)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPsis.java Thu Jul 21 01:26:39 2011 (r654)
@@ -175,36 +175,6 @@
public final static String gdlResize = gdl + "resize";
public final static String gdlTitleOrder = gdl + "title-order";
public final static String gdlUnitName = gdl + "unit-name";
- public final static String gdlUnitBorderWidth = gdl + "unit-border-width";
- public final static String gdlUnitBorderTopWidth = gdl + "unit-border-top-width";
- public final static String gdlUnitBorderRightWidth = gdl + "unit-border-right-width";
- public final static String gdlUnitBorderBottomWidth = gdl + "unit-border-bottom-width";
- public final static String gdlUnitBorderLeftWidth = gdl + "unit-border-left-width";
- public final static String gdlUnitBorderColor = gdl + "unit-border-color";
- public final static String gdlUnitBorderTopColor = gdl + "unit-border-top-color";
- public final static String gdlUnitBorderRightColor = gdl + "unit-border-right-color";
- public final static String gdlUnitBorderBottomColor = gdl + "unit-border-bottom-color";
- public final static String gdlUnitBorderLeftColor = gdl + "unit-border-left-color";
- public final static String gdlUnitBorderStyle = gdl + "unit-border-style";
- public final static String gdlUnitBorderTopStyle = gdl + "unit-border-top-style";
- public final static String gdlUnitBorderRightStyle = gdl + "unit-border-right-style";
- public final static String gdlUnitBorderBottomStyle = gdl + "unit-border-bottom-style";
- public final static String gdlUnitBorderLeftStyle = gdl + "unit-border-left-style";
- public final static String gdlUnitBorderPadding = gdl + "unit-border-padding";
- public final static String gdlUnitBorderTopPadding = gdl + "unit-border-top-padding";
- public final static String gdlUnitBorderRightPadding = gdl + "unit-border-right-padding";
- public final static String gdlUnitBorderBottomPadding = gdl + "unit-border-bottom-padding";
- public final static String gdlUnitBorderLeftPadding = gdl + "unit-border-left-padding";
- public final static String gdlUnitBorderMargin = gdl + "unit-border-margin";
- public final static String gdlUnitBorderTopMargin = gdl + "unit-border-top-margin";
- public final static String gdlUnitBorderRightMargin = gdl + "unit-border-right-margin";
- public final static String gdlUnitBorderBottomMargin = gdl + "unit-border-bottom-margin";
- public final static String gdlUnitBorderLeftMargin = gdl + "unit-border-left-margin";
- public final static String gdlUnitBorderRadius = gdl + "unit-border-radius";
- public final static String gdlUnitborderTopRightRadius = gdl + "unit-border-top-right-radius";
- public final static String gdlUnitBorderBottomRightRadius = gdl + "unit-border-bottom-right-radius";
- public final static String gdlUnitBorderBottomLeftRadius = gdl + "unit-border-bottom-left-radius";
- public final static String gdlUnitBorderTopLeftRadius = gdl + "unit-border-top-left-radius";
public final static String gdlContentOrientation = gdl + "content-orientation";
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlUnit.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlUnit.java Wed Jul 20 11:21:32 2011 (r653)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlUnit.java Thu Jul 21 01:26:39 2011 (r654)
@@ -22,10 +22,8 @@
import com.google.gwt.event.dom.client.MouseUpHandler;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.user.client.DOM;
-import com.google.gwt.user.client.ui.AbsolutePanel;
import com.google.gwt.user.client.ui.CaptionPanel;
import com.google.gwt.user.client.ui.Composite;
-import com.google.gwt.user.client.ui.SimplePanel;
import com.google.gwt.user.client.ui.Widget;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Occurrence;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
@@ -40,22 +38,11 @@
import us.isidor.gdl.anaToMia.Widgets.environment.GdlInstantiator;
import us.isidor.gdl.anaToMia.Widgets.environment.HoverStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
-import us.isidor.gdl.anaToMia.Widgets.environment.Pair;
import us.isidor.gdl.anaToMia.Widgets.text.GdlTextObject;
-import us.isidor.gdl.anaToMia.Widgets.value.AbsoluteNumValue;
-import us.isidor.gdl.anaToMia.Widgets.value.AutoNumUnitValue;
import us.isidor.gdl.anaToMia.Widgets.value.BorderStyleValue;
-import us.isidor.gdl.anaToMia.Widgets.value.ColorValue;
-import us.isidor.gdl.anaToMia.Widgets.value.NumUnitValue;
-import us.isidor.gdl.anaToMia.Widgets.value.TextDecorationValue;
-public class GdlUnit extends GdlTextObject implements IGdlContainer {
- protected ArrayList<Pair<String, String>> unitActiveCssNamesAndStyles = new ArrayList<Pair<String,String>>();
- protected ArrayList<Pair<String, String>> unitFocusCssNamesAndStyles = new ArrayList<Pair<String,String>>();
- protected ArrayList<Pair<String, String>> unitHoverCssNamesAndStyles = new ArrayList<Pair<String,String>>();
-
-
+public class GdlUnit extends GdlTextObject implements IGdlContainer {
// some constructors
protected GdlUnit() throws InvalidGdlSchemaException, ExecutionException {
super();
@@ -101,1813 +88,187 @@
}
- // returns a AbsoluteNumValue instance that represents the width of this element's group border.
- // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
- // null, null otherwise. If the styleClass is null and no occurrence was found, the default value for this
- // property is returned.
- public AbsoluteNumValue getUnitBorderWidth(String styleClass) throws InvalidGdlSchemaException {
- Occurrence widthOcc = null;
- if(styleClass != null){
- widthOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderWidth, styleClass);
- } else {
- widthOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderWidth);
- }
+ // returns a String instance that represents the literal value of this elements name.
+ public String getUnitName() throws InvalidGdlSchemaException {
+ Occurrence nameOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlUnitName);
- if(widthOcc == null && styleClass != null){
- return null;
- } else if(widthOcc == null) {
- return new AbsoluteNumValue("2px");
+ if(nameOcc == null){
+ return "";
} else {
- return new AbsoluteNumValue(widthOcc.getValue());
+ return nameOcc.getValue();
}
}
+
+
+ // sets the passed string a caption/unit-name of the group item
+ public void setUnitName(Widget widget, String value){
+ ((UnitWidget)widget).setCaption(value);
+ }
- // returns a AbsoluteNumValue instance that represents the width of this element's border-top.
+ // returns a ColorValue instance that represents the style of this element's border.
// If a styleClass is set, only the corresponding value of the scoped occurrence is returned
- // null, null otherwise.
- public AbsoluteNumValue getUnitBorderTopWidth(String styleClass) throws InvalidGdlSchemaException {
- Occurrence widthOcc = null;
+ // null, null otherwise. If the styleClass is null and no occurrence was found, the default value for this
+ // property is returned.
+ @Override
+ public BorderStyleValue getBorderStyle(String styleClass) throws InvalidGdlSchemaException {
+ Occurrence styleOcc = null;
if(styleClass != null){
- widthOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderTopWidth, styleClass);
+ styleOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlBorderStyle, styleClass);
} else {
- widthOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderTopWidth);
+ styleOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlBorderStyle);
}
- if(widthOcc == null){
+ if(styleOcc == null && styleClass != null){
return null;
+ } else if(styleOcc == null) {
+ return BorderStyleValue.GROOVE;
} else {
- return new AbsoluteNumValue(widthOcc.getValue());
+ try{
+ return BorderStyleValue.valueOf(styleOcc.getValue().toUpperCase());
+ }catch(IllegalArgumentException e){
+ String values = "none, hidden, dotted, dashed, solid, double, groove, ridge, inset, outset";
+ throw new InvalidGdlSchemaException("border-style must be set to one of " + values + ", but is " + styleOcc.getValue());
+ }
}
}
-
- // returns a AbsoluteNumValue instance that represents the width of this element's border-right.
- // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
- // null, null otherwise.
- public AbsoluteNumValue getUnitBorderRightWidth(String styleClass) throws InvalidGdlSchemaException {
- Occurrence widthOcc = null;
- if(styleClass != null){
- widthOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderRightWidth, styleClass);
- } else {
- widthOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderRightWidth);
- }
-
- if(widthOcc == null){
- return null;
- } else {
- return new AbsoluteNumValue(widthOcc.getValue());
- }
+
+ // sets all GDL styles that are defined by the topic map representative to tha passed widget
+ @Override
+ public void setGdlStyle(Widget widget) throws InvalidGdlSchemaException, ExecutionException {
+ super.setGdlStyle(widget);
+
+ this.setUnitName(widget, this.getUnitName());
}
-
- // returns a AbsoluteNumValue instance that represents the width of this element's border-bottom.
- // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
- // null, null otherwise.
- public AbsoluteNumValue getUnitBorderBottomWidth(String styleClass) throws InvalidGdlSchemaException {
- Occurrence widthOcc = null;
- if(styleClass != null){
- widthOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderBottomWidth, styleClass);
- } else {
- widthOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderBottomWidth);
- }
-
- if(widthOcc == null){
- return null;
- } else {
- return new AbsoluteNumValue(widthOcc.getValue());
- }
+
+ @Override
+ @Deprecated
+ public GdlVisibleObject append(Topic ancestor, Topic current) throws InvalidGdlSchemaException, ExecutionException {
+ // do nothing this method has no effect on the mainpanle
+ return null;
}
-
-
- // returns a AbsoluteNumValue instance that represents the width of this element's border-left.
- // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
- // null, null otherwise.
- public AbsoluteNumValue getUnitBorderLeftWidth(String styleClass) throws InvalidGdlSchemaException {
- Occurrence widthOcc = null;
- if(styleClass != null){
- widthOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderLeftWidth, styleClass);
- } else {
- widthOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderLeftWidth);
- }
-
- if(widthOcc == null){
- return null;
- } else {
- return new AbsoluteNumValue(widthOcc.getValue());
- }
+
+
+ // returns all topics that are bound to this tm representative topic via a
+ // contains association
+ @Override
+ public ArrayList<Topic> contains() throws InvalidGdlSchemaException {
+ return TmHelper.topicContains(this.tmRepresentative);
}
- // returns a ColorValue instance that represents the color of this element's group border.
- // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
- // null, null otherwise. If the styleClass is null and no occurrence was found, the default value for this
- // property is returned.
- public ColorValue getUnitBorderColor(String styleClass) throws InvalidGdlSchemaException {
- Occurrence colorOcc = null;
- if(styleClass != null){
- colorOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderColor, styleClass);
- } else {
- colorOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderColor);
- }
-
- if(colorOcc == null && styleClass != null){
- return null;
- } else if(colorOcc == null) {
- return new ColorValue();
- } else {
- return new ColorValue(colorOcc.getValue());
- }
+ // Searches the topic that represents the first item that is placed within this view instance
+ // i.e. such an item must not have an association that is bound to it via a role of the type
+ // gdl:ancestor.
+ protected Topic getStartElement(ArrayList<Topic> containees) throws InvalidGdlSchemaException {
+ return TmHelper.getFirstContainee(super.getTmRepresentative(), containees);
}
- // returns a ColorValue instance that represents the color of this element's group border.
- // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
- // null, null otherwise. If the styleClass is null and no occurrence was found, the default value for this
- // property is returned.
- public ColorValue getUnitBorderTopColor(String styleClass) throws InvalidGdlSchemaException {
- Occurrence colorOcc = null;
- if(styleClass != null){
- colorOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderTopColor, styleClass);
- } else {
- colorOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderTopColor);
- }
-
- if(colorOcc == null ){
- return null;
- } else {
- return new ColorValue(colorOcc.getValue());
+
+ protected class UnitWidget extends Composite implements HasFocusHandlers, HasBlurHandlers, HasMouseOutHandlers, HasMouseOverHandlers, HasMouseDownHandlers, HasMouseUpHandlers{
+ private CaptionPanel basePanel = new CaptionPanel();
+ private Topic tmRepresentative = null;
+ private ArrayList<Widget> subElements = new ArrayList<Widget>();
+
+
+ private UnitWidget(){
+ initWidget(this.basePanel);
}
- }
-
-
- // returns a ColorValue instance that represents the color of this element's group border.
- // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
- // null, null otherwise. If the styleClass is null and no occurrence was found, the default value for this
- // property is returned.
- public ColorValue getUnitBorderRightColor(String styleClass) throws InvalidGdlSchemaException {
- Occurrence colorOcc = null;
- if(styleClass != null){
- colorOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderRightColor, styleClass);
- } else {
- colorOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderRightColor);
+
+
+ public UnitWidget(Topic tmRepresentative){
+ this();
+ this.tmRepresentative = tmRepresentative;
}
-
- if(colorOcc == null ){
- return null;
- } else {
- return new ColorValue(colorOcc.getValue());
+
+
+ public Topic getTmRepresentative(){
+ return this.tmRepresentative;
}
- }
-
-
- // returns a ColorValue instance that represents the color of this element's group border.
- // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
- // null, null otherwise. If the styleClass is null and no occurrence was found, the default value for this
- // property is returned.
- public ColorValue getUnitBorderBottomColor(String styleClass) throws InvalidGdlSchemaException {
- Occurrence colorOcc = null;
- if(styleClass != null){
- colorOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderBottomColor, styleClass);
- } else {
- colorOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderBottomColor);
+
+
+
+ // appends a new element in form of a topic to this unit-widget
+ public GdlVisibleObject append(Topic ancestor, Topic current) throws ExecutionException, InvalidGdlSchemaException {
+ if(ancestor == null || current == null) throw new ExecutionException("to append \"" + TmHelper.getAnyIdOfTopic(current) + "\" on \"" + TmHelper.getAnyIdOfTopic(ancestor) + "\" both topics must be present");
+ GdlPosition position = new GdlPosition(TmHelper.getPositionOf(ancestor, current));
+
+ GdlVisibleObject newObj = GdlInstantiator.instantiate(current);
+ GdlVisibleObject oldObj = null;
+ for (Widget widget : this.subElements){
+ if(((GdlVisibleObject)widget).getTmRepresentative().equals(ancestor)){
+ oldObj = (GdlVisibleObject)widget;
+ break;
+ }
+ }
+
+ this.subElements.add(newObj);
+ if(this.getTmRepresentative().equals(ancestor)){
+ this.basePanel.add(newObj);
+ }
+ else{
+ Element elemBefore = oldObj.getElement();
+ Element elemAfter = DOM.getNextSibling(elemBefore);
+ // insert before seems to be a more accepted and stable
+ // way of inserting new child elements than insertAfter
+ if(elemAfter == null) this.basePanel.add(newObj);
+ else this.basePanel.getElement().insertBefore(newObj.getElement(), elemAfter);
+ }
+ position.setAttributes(newObj);
+ return newObj;
}
-
- if(colorOcc == null ){
- return null;
- } else {
- return new ColorValue(colorOcc.getValue());
+
+
+ public void setId(String id){
+ DOM.setElementAttribute(this.basePanel.getElement(), "id", id);
}
- }
-
-
- // returns a ColorValue instance that represents the color of this element's group border.
- // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
- // null, null otherwise. If the styleClass is null and no occurrence was found, the default value for this
- // property is returned.
- public ColorValue getUnitBorderLeftColor(String styleClass) throws InvalidGdlSchemaException {
- Occurrence colorOcc = null;
- if(styleClass != null){
- colorOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderLeftColor, styleClass);
- } else {
- colorOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderLeftColor);
+
+ public String getCaption() {
+ return this.basePanel.getCaptionText();
}
-
- if(colorOcc == null ){
- return null;
- } else {
- return new ColorValue(colorOcc.getValue());
+
+
+ // sets the unit's name. If the name is "" or null,
+ // the legend element is set to non-visible
+ public void setCaption(String caption) {
+ if(caption == null || caption.length() == 0){
+ this.basePanel.setCaptionText(caption);
+ } else {
+ this.basePanel.setCaptionText(caption);
+ }
}
- }
-
- // returns a ColorValue instance that represents the style of this element's unit border.
- // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
- // null, null otherwise. If the styleClass is null and no occurrence was found, the default value for this
- // property is returned.
- public BorderStyleValue getUnitBorderStyle(String styleClass) throws InvalidGdlSchemaException {
- Occurrence styleOcc = null;
- if(styleClass != null){
- styleOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderStyle, styleClass);
- } else {
- styleOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderStyle);
+
+ @Override
+ public HandlerRegistration addMouseUpHandler(MouseUpHandler handler) {
+ return this.addDomHandler(handler, MouseUpEvent.getType());
}
- if(styleOcc == null && styleClass != null){
- return null;
- } else if(styleOcc == null) {
- return BorderStyleValue.GROOVE;
- } else {
- try{
- return BorderStyleValue.valueOf(styleOcc.getValue().toUpperCase());
- }catch(IllegalArgumentException e){
- String values = "none, hidden, dotted, dashed, solid, double, groove, ridge, inset, outset";
- throw new InvalidGdlSchemaException("border-style must be set to one of " + values + ", but is " + styleOcc.getValue());
- }
+
+ @Override
+ public HandlerRegistration addMouseDownHandler(MouseDownHandler handler) {
+ return this.addDomHandler(handler, MouseDownEvent.getType());
}
- }
- // returns a ColorValue instance that represents the style of this element's unit border-top.
- // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
- // null, null otherwise.
- public BorderStyleValue getUnitBorderTopStyle(String styleClass) throws InvalidGdlSchemaException {
- Occurrence styleOcc = null;
- if(styleClass != null){
- styleOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderTopStyle, styleClass);
- } else {
- styleOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderTopStyle);
+ @Override
+ public HandlerRegistration addMouseOverHandler(MouseOverHandler handler) {
+ return this.addDomHandler(handler, MouseOverEvent.getType());
}
- if(styleOcc == null){
- return null;
- } else {
- try{
- return BorderStyleValue.valueOf(styleOcc.getValue().toUpperCase());
- }catch(IllegalArgumentException e){
- String values = "none, hidden, dotted, dashed, solid, double, groove, ridge, inset, outset";
- throw new InvalidGdlSchemaException("border-top-style must be set to one of " + values + ", but is " + styleOcc.getValue());
- }
+
+ @Override
+ public HandlerRegistration addMouseOutHandler(MouseOutHandler handler) {
+ return this.addDomHandler(handler, MouseOutEvent.getType());
}
- }
- // returns a ColorValue instance that represents the style of this element's border-right.
- // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
- // null, null otherwise.
- public BorderStyleValue getUnitBorderRightStyle(String styleClass) throws InvalidGdlSchemaException {
- Occurrence styleOcc = null;
- if(styleClass != null){
- styleOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderRightStyle, styleClass);
- } else {
- styleOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderRightStyle);
- }
-
- if(styleOcc == null){
- return null;
- } else {
- try{
- return BorderStyleValue.valueOf(styleOcc.getValue().toUpperCase());
- }catch(IllegalArgumentException e){
- String values = "none, hidden, dotted, dashed, solid, double, groove, ridge, inset, outset";
- throw new InvalidGdlSchemaException("border-right-style must be set to one of " + values + ", but is " + styleOcc.getValue());
- }
- }
- }
-
-
- // returns a ColorValue instance that represents the style of this element's border-bottom.
- // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
- // null, null otherwise.
- public BorderStyleValue getUnitBorderBottomStyle(String styleClass) throws InvalidGdlSchemaException {
- Occurrence styleOcc = null;
- if(styleClass != null){
- styleOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderBottomStyle, styleClass);
- } else {
- styleOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderBottomStyle);
- }
-
- if(styleOcc == null){
- return null;
- } else {
- try{
- return BorderStyleValue.valueOf(styleOcc.getValue().toUpperCase());
- }catch(IllegalArgumentException e){
- String values = "none, hidden, dotted, dashed, solid, double, groove, ridge, inset, outset";
- throw new InvalidGdlSchemaException("border-bottom-style must be set to one of " + values + ", but is " + styleOcc.getValue());
- }
- }
- }
-
-
- // returns a ColorValue instance that represents the style of this element's border-left.
- // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
- // null, null otherwise.
- public BorderStyleValue getUnitBorderLeftStyle(String styleClass) throws InvalidGdlSchemaException {
- Occurrence styleOcc = null;
- if(styleClass != null){
- styleOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderLeftStyle, styleClass);
- } else {
- styleOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderLeftStyle);
- }
-
- if(styleOcc == null){
- return null;
- } else {
- try{
- return BorderStyleValue.valueOf(styleOcc.getValue().toUpperCase());
- }catch(IllegalArgumentException e){
- String values = "none, hidden, dotted, dashed, solid, double, groove, ridge, inset, outset";
- throw new InvalidGdlSchemaException("border-left-style must be set to one of " + values + ", but is " + styleOcc.getValue());
- }
- }
- }
-
-
- // returns a String instance that represents the literal value of this elements name.
- public String getUnitName() throws InvalidGdlSchemaException {
- Occurrence nameOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlUnitName);
-
- if(nameOcc == null){
- return "";
- } else {
- return nameOcc.getValue();
- }
- }
-
-
- // returns a NumUnitValue instance that represents the padding of this element's unit-border.
- // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
- // null, null otherwise. If the styleClass is null and no occurrence was found, the default value for this
- // property is returned.
- public NumUnitValue getUnitBorderPadding(String styleClass) throws InvalidGdlSchemaException {
- Occurrence paddingOcc = null;
- if(styleClass != null){
- paddingOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderPadding, styleClass);
- } else {
- paddingOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderPadding);
- }
-
- if(paddingOcc == null && styleClass != null){
- return null;
- } else if(paddingOcc == null) {
- return new NumUnitValue();
- } else {
- return new NumUnitValue(paddingOcc.getValue());
- }
- }
-
-
- // returns a NumUnitValue instance that represents the padding of this element's unit-border.
- // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
- // null, null otherwise. If the styleClass is null and no occurrence was found, the default value for this
- // property is returned.
- public NumUnitValue getUnitBorderTopPadding(String styleClass) throws InvalidGdlSchemaException {
- Occurrence paddingOcc = null;
- if(styleClass != null){
- paddingOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderTopPadding, styleClass);
- } else {
- paddingOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderTopPadding);
- }
-
- if(paddingOcc == null){
- return null;
- } else {
- return new NumUnitValue(paddingOcc.getValue());
- }
- }
-
-
- // returns a NumUnitValue instance that represents the padding of this element's unit-border.
- // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
- // null, null otherwise. If the styleClass is null and no occurrence was found, the default value for this
- // property is returned.
- public NumUnitValue getUnitBorderRightPadding(String styleClass) throws InvalidGdlSchemaException {
- Occurrence paddingOcc = null;
- if(styleClass != null){
- paddingOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderRightPadding, styleClass);
- } else {
- paddingOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderRightPadding);
- }
-
- if(paddingOcc == null){
- return null;
- } else {
- return new NumUnitValue(paddingOcc.getValue());
- }
- }
-
-
- // returns a NumUnitValue instance that represents the padding of this element's unit-border.
- // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
- // null, null otherwise. If the styleClass is null and no occurrence was found, the default value for this
- // property is returned.
- public NumUnitValue getUnitBorderBottomPadding(String styleClass) throws InvalidGdlSchemaException {
- Occurrence paddingOcc = null;
- if(styleClass != null){
- paddingOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderBottomPadding, styleClass);
- } else {
- paddingOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderBottomPadding);
- }
-
- if(paddingOcc == null){
- return null;
- } else {
- return new NumUnitValue(paddingOcc.getValue());
- }
- }
-
-
- // returns a NumUnitValue instance that represents the padding of this element's unit-border.
- // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
- // null, null otherwise. If the styleClass is null and no occurrence was found, the default value for this
- // property is returned.
- public NumUnitValue getUnitBorderLeftPadding(String styleClass) throws InvalidGdlSchemaException {
- Occurrence paddingOcc = null;
- if(styleClass != null){
- paddingOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderLeftPadding, styleClass);
- } else {
- paddingOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderLeftPadding);
- }
-
- if(paddingOcc == null){
- return null;
- } else {
- return new NumUnitValue(paddingOcc.getValue());
- }
- }
-
-
- // returns a NumUnitValue instance that represents the margin of this element's border padding.
- // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
- // or null. If the styleClass is null and no occurrence was found, the default value for this
- // property is returned.
- public NumUnitValue getUnitBorderMargin(String styleClass) throws InvalidGdlSchemaException {
- Occurrence marginOcc = null;
- if(styleClass != null){
- marginOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderMargin, styleClass);
- } else {
- marginOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderMargin);
- }
-
- if(marginOcc == null && styleClass != null){
- return null;
- } else if(marginOcc == null) {
- return new NumUnitValue();
- } else {
- return new NumUnitValue(marginOcc.getValue());
- }
- }
-
-
- // returns a NumUnitValue instance that represents the margin of this element's border padding.
- // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
- // or null. If the styleClass is null and no occurrence was found, the default value for this
- // property is returned.
- public NumUnitValue getUnitBorderTopMargin(String styleClass) throws InvalidGdlSchemaException {
- Occurrence marginOcc = null;
- if(styleClass != null){
- marginOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderTopMargin, styleClass);
- } else {
- marginOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderTopMargin);
- }
-
- if(marginOcc == null){
- return null;
- } else {
- return new NumUnitValue(marginOcc.getValue());
- }
- }
-
-
- // returns a NumUnitValue instance that represents the margin of this element's border padding.
- // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
- // or null. If the styleClass is null and no occurrence was found, the default value for this
- // property is returned.
- public NumUnitValue getUnitBorderRightMargin(String styleClass) throws InvalidGdlSchemaException {
- Occurrence marginOcc = null;
- if(styleClass != null){
- marginOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderRightMargin, styleClass);
- } else {
- marginOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderRightMargin);
- }
-
- if(marginOcc == null){
- return null;
- } else {
- return new NumUnitValue(marginOcc.getValue());
- }
- }
-
-
- // returns a NumUnitValue instance that represents the margin of this element's border padding.
- // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
- // or null. If the styleClass is null and no occurrence was found, the default value for this
- // property is returned.
- public NumUnitValue getUnitBorderBottomMargin(String styleClass) throws InvalidGdlSchemaException {
- Occurrence marginOcc = null;
- if(styleClass != null){
- marginOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderBottomMargin, styleClass);
- } else {
- marginOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderBottomMargin);
- }
-
- if(marginOcc == null){
- return null;
- } else {
- return new NumUnitValue(marginOcc.getValue());
- }
- }
-
-
- // returns a NumUnitValue instance that represents the margin of this element's border padding.
- // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
- // or null. If the styleClass is null and no occurrence was found, the default value for this
- // property is returned.
- public NumUnitValue getUnitBorderLeftMargin(String styleClass) throws InvalidGdlSchemaException {
- Occurrence marginOcc = null;
- if(styleClass != null){
- marginOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderLeftMargin, styleClass);
- } else {
- marginOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderLeftMargin);
- }
-
- if(marginOcc == null){
- return null;
- } else {
- return new NumUnitValue(marginOcc.getValue());
- }
- }
-
-
- // returns a NumUnitValue instance that represents the radius of this element's unit-border.
- // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
- // null, null otherwise. If the styleClass is null and no occurrence was found, the default value for this
- // property is returned.
- public NumUnitValue getUnitBorderRadius(String styleClass) throws InvalidGdlSchemaException {
- Occurrence radiusOcc = null;
- if(styleClass != null){
- radiusOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderRadius, styleClass);
- } else {
- radiusOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderRadius);
- }
-
- if(radiusOcc == null && styleClass != null){
- return null;
- } else if(radiusOcc == null) {
- return new NumUnitValue();
- } else {
- return new NumUnitValue(radiusOcc.getValue());
- }
- }
-
-
- // returns a NumUnitValue instance that represents the radius of this element's unit-border.
- // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
- // null, null otherwise. If the styleClass is null and no occurrence was found, the default value for this
- // property is returned.
- public NumUnitValue getUnitBorderTopLeftRadius(String styleClass) throws InvalidGdlSchemaException {
- Occurrence radiusOcc = null;
- if(styleClass != null){
- radiusOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderTopLeftRadius, styleClass);
- } else {
- radiusOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderTopLeftRadius);
- }
-
- if(radiusOcc == null && styleClass != null){
- return null;
- } else if(radiusOcc == null){
- return null;
- } else {
- return new NumUnitValue(radiusOcc.getValue());
- }
- }
-
-
- // returns a NumUnitValue instance that represents the radius of this element's unit-border.
- // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
- // null, null otherwise. If the styleClass is null and no occurrence was found, the default value for this
- // property is returned.
- public NumUnitValue getUnitBorderTopRightRadius(String styleClass) throws InvalidGdlSchemaException {
- Occurrence radiusOcc = null;
- if(styleClass != null){
- radiusOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlUnitborderTopRightRadius, styleClass);
- } else {
- radiusOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlUnitborderTopRightRadius);
- }
-
- if(radiusOcc == null && styleClass != null){
- return null;
- } else if(radiusOcc == null){
- return null;
- } else {
- return new NumUnitValue(radiusOcc.getValue());
- }
- }
-
-
- // returns a NumUnitValue instance that represents the radius of this element's unit-border.
- // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
- // null, null otherwise. If the styleClass is null and no occurrence was found, the default value for this
- // property is returned.
- public NumUnitValue getUnitBorderBottomLeftRadius(String styleClass) throws InvalidGdlSchemaException {
- Occurrence radiusOcc = null;
- if(styleClass != null){
- radiusOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderBottomLeftRadius, styleClass);
- } else {
- radiusOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderBottomLeftRadius);
- }
-
- if(radiusOcc == null && styleClass != null){
- return null;
- } else if(radiusOcc == null){
- return null;
- } else {
- return new NumUnitValue(radiusOcc.getValue());
- }
- }
-
-
- // returns a NumUnitValue instance that represents the radius of this element's unit-border.
- // If a styleClass is set, only the corresponding value of the scoped occurrence is returned
- // null, null otherwise. If the styleClass is null and no occurrence was found, the default value for this
- // property is returned.
- public NumUnitValue getUnitBorderBottomRightRadius(String styleClass) throws InvalidGdlSchemaException {
- Occurrence radiusOcc = null;
- if(styleClass != null){
- radiusOcc = getNoneOrOneScopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderBottomRightRadius, styleClass);
- } else {
- radiusOcc = getNoneOrOneUnscopedOccurrence(GdlPsis.OccurrenceType.gdlUnitBorderBottomRightRadius);
- }
-
- if(radiusOcc == null && styleClass != null){
- return null;
- } else if(radiusOcc == null){
- return null;
- } else {
- return new NumUnitValue(radiusOcc.getValue());
- }
- }
-
-
- // adds the passed css style to the corresponding ArrayLists
- private void addStyleToStore(String styleClass, String property, String value) throws InvalidGdlSchemaException {
- if(styleClass == null) return;
- else if(styleClass.equals(GdlPsis.Scope.gdlActive)) this.unitActiveCssNamesAndStyles.add(new Pair<String, String>(property, value));
- else if(styleClass.equals(GdlPsis.Scope.gdlFocus)) this.unitFocusCssNamesAndStyles.add(new Pair<String, String>(property, value));
- else if(styleClass.equals(GdlPsis.Scope.gdlHover)) this.unitHoverCssNamesAndStyles.add(new Pair<String, String>(property, value));
- else {
- String values = GdlPsis.Scope.gdlActive + ", " + GdlPsis.Scope.gdlFocus + ", " + GdlPsis.Scope.gdlHover;
- throw new InvalidGdlSchemaException("GDL defines only the style classes " + values + ", but found " + styleClass);
- }
- }
-
-
- // sets the height style property of this element by using the GWT DOM class
- public void setHeight(Widget widget, AutoNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setHeight(value.getCssValue());
- else this.addStyleToStore(styleClass, "height", value.getCssValue());
- }
- }
-
-
- // sets the min-height style property of this element by using the GWT DOM class
- public void setMinHeight(Widget widget, AutoNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setMinHeight(value.getCssValue());
- else this.addStyleToStore(styleClass, "minHeight", value.getCssValue());
- }
- }
-
-
- // sets the max-height style property of this element by using the GWT DOM class
- public void setMaxHeight(Widget widget, AutoNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setMaxHeight(value.getCssValue());
- else this.addStyleToStore(styleClass, "maxHeight", value.getCssValue());
- }
- }
-
-
- // sets the min-width style property of this element by using the GWT DOM class
- public void setWidth(Widget widget, AutoNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setWidth(value.getCssValue());
- else this.addStyleToStore(styleClass, "width", value.getCssValue());
- }
- }
-
-
- // sets the min-width style property of this element by using the GWT DOM class
- @Override
- public void setTextDecoration(Widget widget, TextDecorationValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setTextDecoration(value.getCssValue());
- else this.addStyleToStore(styleClass, "textDecoration", value.getCssValue());
- }
- }
-
-
- // sets the max-width style property of this element by using the GWT DOM class
- public void setMinWidth(Widget widget, AutoNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setMinWidth(value.getCssValue());
- else this.addStyleToStore(styleClass, "minWidth", value.getCssValue());
- }
- }
-
-
- // sets the max-width style property of this element by using the GWT DOM class
- public void setMaxWidth(Widget widget, AutoNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setMaxWidth(value.getCssValue());
- else this.addStyleToStore(styleClass, "maxWidth", value.getCssValue());
- }
- }
-
-
- // sets the passed string a caption/unit-name of the group item
- public void setUnitName(Widget widget, String value){
- ((UnitWidget)widget).setCaption(value);
- }
-
-
- // sets the border-width style property of this element by using the GWT DOM class
- public void setUnitBorderWidth(Widget widget, AbsoluteNumValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setUnitBorderWidth(value.getCssValue());
- else this.addStyleToStore(styleClass, "borderWidth", value.getCssValue());
- }
- }
-
-
- // sets the border-width style property of this element by using the GWT DOM class
- public void setUnitBorderTopWidth(Widget widget, AbsoluteNumValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setUnitBorderWidth(value.getCssValue());
- else this.addStyleToStore(styleClass, "borderTopWidth", value.getCssValue());
- }
- }
-
-
- // sets the border-width style property of this element by using the GWT DOM class@Override
- public void setUnitBorderRightWidth(Widget widget, AbsoluteNumValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setUnitBorderWidth(value.getCssValue());
- else this.addStyleToStore(styleClass, "borderRightWidth", value.getCssValue());
- }
- }
-
-
- // sets the border-width style property of this element by using the GWT DOM class
- public void setUnitBorderBottomWidth(Widget widget, AbsoluteNumValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setUnitBorderWidth(value.getCssValue());
- else this.addStyleToStore(styleClass, "borderBottomWidth", value.getCssValue());
- }
- }
-
-
- // sets the border-width style property of this element by using the GWT DOM class
- public void setUnitBorderLeftWidth(Widget widget, AbsoluteNumValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setUnitBorderWidth(value.getCssValue());
- else this.addStyleToStore(styleClass, "borderLeftWidth", value.getCssValue());
- }
- }
-
-
- // sets the border-color style property of this element by using the GWT DOM class
- public void setUnitBorderColor(Widget widget, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setUnitBorderColor(value.getCssValue());
- else this.addStyleToStore(styleClass, "borderColor", value.getCssValue());
- }
- }
-
-
- // sets the border-color style property of this element by using the GWT DOM class
- public void setUnitBorderTopColor(Widget widget, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setUnitBorderColor(value.getCssValue());
- else this.addStyleToStore(styleClass, "borderTopColor", value.getCssValue());
- }
- }
-
-
- // sets the border-color style property of this element by using the GWT DOM class@Override
- public void setUnitBorderRightColor(Widget widget, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setUnitBorderColor(value.getCssValue());
- else this.addStyleToStore(styleClass, "borderRightColor", value.getCssValue());
- }
- }
-
-
- // sets the border-color style property of this element by using the GWT DOM class
- public void setUnitBorderBottomColor(Widget widget, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setUnitBorderColor(value.getCssValue());
- else this.addStyleToStore(styleClass, "borderBottomColor", value.getCssValue());
- }
- }
-
-
- // sets the border-color style property of this element by using the GWT DOM class
- public void setUnitBorderLeftColor(Widget widget, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setUnitBorderColor(value.getCssValue());
- else this.addStyleToStore(styleClass, "borderLeftColor", value.getCssValue());
- }
- }
-
-
- // sets the border-style style property of this element by using the GWT DOM class
- public void setUnitBorderStyle(Widget widget, BorderStyleValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setUnitBorderStyle(value.getCssValue());
- else this.addStyleToStore(styleClass, "borderStyle", value.getCssValue());
- }
- }
-
-
- // sets the border-style style property of this element by using the GWT DOM class
- public void setUnitBorderTopStyle(Widget widget, BorderStyleValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setUnitBorderStyle(value.getCssValue());
- else this.addStyleToStore(styleClass, "borderTopStyle", value.getCssValue());
- }
- }
-
-
- // sets the border-style style property of this element by using the GWT DOM class@Override
- public void setUnitBorderRightStyle(Widget widget, BorderStyleValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setUnitBorderStyle(value.getCssValue());
- else this.addStyleToStore(styleClass, "borderRightStyle", value.getCssValue());
- }
- }
-
-
- // sets the border-style style property of this element by using the GWT DOM class
- public void setUnitBorderBottomStyle(Widget widget, BorderStyleValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setUnitBorderStyle(value.getCssValue());
- else this.addStyleToStore(styleClass, "borderBottomStyle", value.getCssValue());
- }
- }
-
-
- // sets the border-style style property of this element by using the GWT DOM class
- public void setUnitBorderLeftStyle(Widget widget, BorderStyleValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setUnitBorderStyle(value.getCssValue());
- else this.addStyleToStore(styleClass, "borderLeftStyle", value.getCssValue());
- }
- }
-
-
- // sets the border-padding style property of this element by using the GWT DOM class
- public void setUnitBorderPadding(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setUnitBorderPadding(value.getCssValue());
- else this.addStyleToStore(styleClass, "padding", value.getCssValue());
- }
- }
-
-
- // sets the border-padding style property of this element by using the GWT DOM class
- public void setUnitBorderTopPadding(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setUnitBorderTopPadding(value.getCssValue());
- else this.addStyleToStore(styleClass, "paddingTop", value.getCssValue());
- }
- }
-
-
- // sets the border-padding style property of this element by using the GWT DOM class@Override
- public void setUnitBorderRightPadding(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setUnitBorderRightPadding(value.getCssValue());
- else this.addStyleToStore(styleClass, "paddingRight", value.getCssValue());
- }
- }
-
-
- // sets the border-padding style property of this element by using the GWT DOM class
- public void setUnitBorderBottomPadding(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setUnitBorderBottomPadding(value.getCssValue());
- else this.addStyleToStore(styleClass, "paddingBottom", value.getCssValue());
- }
- }
-
-
- // sets the border-padding style property of this element by using the GWT DOM class
- public void setUnitBorderLeftPadding(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setUnitBorderLeftPadding(value.getCssValue());
- else this.addStyleToStore(styleClass, "paddingLeft", value.getCssValue());
- }
- }
-
-
- // sets the border-margin style property of this element by using the GWT DOM class
- public void setUnitBorderMargin(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setUnitBorderMargin(value.getCssValue());
- else this.addStyleToStore(styleClass, "margin", value.getCssValue());
- }
- }
-
-
- // sets the border-margin style property of this element by using the GWT DOM class
- public void setUnitBorderTopMargin(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setUnitBorderTopMargin(value.getCssValue());
- else this.addStyleToStore(styleClass, "marginTop", value.getCssValue());
- }
- }
-
-
- // sets the border-margin style property of this element by using the GWT DOM class@Override
- public void setUnitBorderRightMargin(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setUnitBorderRightMargin(value.getCssValue());
- else this.addStyleToStore(styleClass, "marginRight", value.getCssValue());
- }
- }
-
-
- // sets the border-margin style property of this element by using the GWT DOM class
- public void setUnitBorderBottomMargin(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setUnitBorderBottomMargin(value.getCssValue());
- else this.addStyleToStore(styleClass, "marginBottom", value.getCssValue());
- }
- }
-
-
- // sets the border-margin style property of this element by using the GWT DOM class
- public void setUnitBorderLeftMargin(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setUnitBorderLeftMargin(value.getCssValue());
- else this.addStyleToStore(styleClass, "marginLeft", value.getCssValue());
- }
- }
-
-
- // sets the border-radius style property of this element by using the GWT DOM class
- public void setUnitBorderRadius(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setUnitBorderRadius(value.getCssValue());
- else this.addStyleToStore(styleClass, "borderRadius", value.getCssValue());
- }
- }
-
-
- // sets the border-top-right-radius style property of this element by using the GWT DOM class
- public void setUnitBorderTopRightRadius(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setUnitBorderTopRightRadius(value.getCssValue());
- else this.addStyleToStore(styleClass, "borderTopRightRadius", value.getCssValue());
- }
- }
-
-
- // sets the border-bottom-right-radius style property of this element by using the GWT DOM class
- public void setUnitBorderBottomRightRadius(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setUnitBorderBottomRightRadius(value.getCssValue());
- else this.addStyleToStore(styleClass, "borderBottomRightRadius", value.getCssValue());
- }
- }
-
-
- // sets the border-bottom-left-radius style property of this element by using the GWT DOM class
- public void setUnitBorderBottomLeftRadius(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setUnitBorderBottomLeftRadius(value.getCssValue());
- else this.addStyleToStore(styleClass, "borderBottomLeftRadius", value.getCssValue());
- }
- }
-
-
- // sets the border-top-left-radius style property of this element by using the GWT DOM class
- public void setUnitBorderTopLeftRadius(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null){
- if(styleClass == null)((UnitWidget)widget).setUnitBorderTopLeftRadius(value.getCssValue());
- else this.addStyleToStore(styleClass, "borderTopLeftRadius", value.getCssValue());
- }
- }
-
-
- // sets all GDL styles that are defined by the topic map representative to tha passed widget
- @Override
- public void setGdlStyle(Widget widget) throws InvalidGdlSchemaException, ExecutionException {
- super.setGdlStyle(widget);
-
- this.setUnitName(widget, this.getUnitName());
-
- String[] styleClasses = new String[]{null, GdlPsis.Scope.gdlActive, GdlPsis.Scope.gdlFocus, GdlPsis.Scope.gdlHover};
- for (String styleClass : styleClasses) {
- this.setUnitBorderWidth(widget, this.getUnitBorderWidth(styleClass), styleClass);
- this.setUnitBorderTopWidth(widget, this.getUnitBorderTopWidth(styleClass), styleClass);
- this.setUnitBorderRightWidth(widget, this.getUnitBorderRightWidth(styleClass), styleClass);
- this.setUnitBorderBottomWidth(widget, this.getUnitBorderBottomWidth(styleClass), styleClass);
- this.setUnitBorderLeftWidth(widget, this.getUnitBorderLeftWidth(styleClass), styleClass);
-
- this.setUnitBorderColor(widget, this.getUnitBorderColor(styleClass), styleClass);
- this.setUnitBorderTopColor(widget, this.getUnitBorderTopColor(styleClass), styleClass);
- this.setUnitBorderRightColor(widget, this.getUnitBorderRightColor(styleClass), styleClass);
- this.setUnitBorderBottomColor(widget, this.getUnitBorderBottomColor(styleClass), styleClass);
- this.setUnitBorderLeftColor(widget, this.getUnitBorderLeftColor(styleClass), styleClass);
-
- this.setUnitBorderStyle(widget, this.getUnitBorderStyle(styleClass), styleClass);
- this.setUnitBorderTopStyle(widget, this.getUnitBorderTopStyle(styleClass), styleClass);
- this.setUnitBorderRightStyle(widget, this.getUnitBorderRightStyle(styleClass), styleClass);
- this.setUnitBorderBottomStyle(widget, this.getUnitBorderBottomStyle(styleClass), styleClass);
- this.setUnitBorderLeftStyle(widget, this.getUnitBorderLeftStyle(styleClass), styleClass);
-
- this.setUnitBorderPadding(widget, this.getUnitBorderPadding(styleClass), styleClass);
- this.setUnitBorderTopPadding(widget, this.getUnitBorderTopPadding(styleClass), styleClass);
- this.setUnitBorderRightPadding(widget, this.getUnitBorderRightPadding(styleClass), styleClass);
- this.setUnitBorderBottomPadding(widget, this.getUnitBorderBottomPadding(styleClass), styleClass);
- this.setUnitBorderLeftPadding(widget, this.getUnitBorderLeftPadding(styleClass), styleClass);
-
- this.setUnitBorderMargin(widget, this.getUnitBorderMargin(styleClass), styleClass);
- this.setUnitBorderTopMargin(widget, this.getUnitBorderTopMargin(styleClass), styleClass);
- this.setUnitBorderRightMargin(widget, this.getUnitBorderRightMargin(styleClass), styleClass);
- this.setUnitBorderBottomMargin(widget, this.getUnitBorderBottomMargin(styleClass), styleClass);
- this.setUnitBorderLeftMargin(widget, this.getUnitBorderLeftMargin(styleClass), styleClass);
-
- this.setUnitBorderRadius(widget, this.getUnitBorderRadius(styleClass), styleClass);
- this.setUnitBorderTopRightRadius(widget, this.getUnitBorderTopRightRadius(styleClass), styleClass);
- this.setUnitBorderBottomRightRadius(widget, this.getUnitBorderBottomRightRadius(styleClass), styleClass);
- this.setUnitBorderBottomLeftRadius(widget, this.getUnitBorderBottomLeftRadius(styleClass), styleClass);
- this.setUnitBorderTopLeftRadius(widget, this.getUnitBorderTopLeftRadius(styleClass), styleClass);
- }
- }
-
-
-
- // calls the super applies the GdlStyle for every TextArea item of this instance
- @Override
- protected void setGdlStyle() throws InvalidGdlSchemaException, ExecutionException{
- super.setGdlStyle();
-
- if(this.subElements != null){
- for (Widget item : this.subElements) {
- this.setGdlStyle(item);
- }
- }
- }
-
-
- // some handlers for applying the css style bound to the pseudo classes hover, active and focus
- @Override
- public void onHoverStart(MouseOverEvent event, HoverStyleHandler handler) {
- Widget source = (Widget)event.getSource();
- super.onHoverStart(event, handler);
- if(source.getClass().equals(UnitWidget.class)){
- UnitWidget unit = (UnitWidget)source;
- for (Pair<String, String> pair : this.unitHoverCssNamesAndStyles) {
- if(pair.getFirst().equals("textDecoration"))unit.setTextDecoration(pair.getSecond());
- else DOM.setStyleAttribute(unit.basePanel.getElement(), pair.getFirst(), pair.getSecond());
-
- if(unit.styleOfUnitWidgetBase(pair.getFirst())) DOM.setStyleAttribute(unit.basePanel.getElement(), pair.getFirst(), pair.getSecond());
- }
- }
- }
-
-
- // applies the styles bound to hover and the passed element
- @Override
- protected void onHoverStart(Widget widget){
- super.onHoverStart(widget);
- if(widget.getClass().equals(UnitWidget.class)){
- UnitWidget unit = (UnitWidget)widget;
- for (Pair<String, String> pair : this.unitHoverCssNamesAndStyles) {
- if(pair.getFirst().equals("textDecoration"))unit.setTextDecoration(pair.getSecond());
- else DOM.setStyleAttribute(unit.basePanel.getElement(), pair.getFirst(), pair.getSecond());
-
- if(unit.styleOfUnitWidgetBase(pair.getFirst())) DOM.setStyleAttribute(unit.basePanel.getElement(), pair.getFirst(), pair.getSecond());
- }
- }
- }
-
-
- // applies the styles bound to focus and the passed element
- @Override
- protected void onFocusStart(Widget widget){
- super.onFocusStart(widget);
- if(widget.getClass().equals(UnitWidget.class)){
- UnitWidget unit = (UnitWidget)widget;
- for (Pair<String, String> pair : this.unitFocusCssNamesAndStyles) {
- if(pair.getFirst().equals("textDecoration"))unit.setTextDecoration(pair.getSecond());
- else DOM.setStyleAttribute(unit.basePanel.getElement(), pair.getFirst(), pair.getSecond());
-
- if(unit.styleOfUnitWidgetBase(pair.getFirst())) DOM.setStyleAttribute(unit.basePanel.getElement(), pair.getFirst(), pair.getSecond());
- }
- }
- }
-
-
- // shall be called to apply the styles of the focus class
- @Override
- public void onFocusStart(FocusEvent event, FocusStyleHandler handler) {
- Widget source = (Widget)event.getSource();
- super.onFocusStart(event, handler);
- if(source.getClass().equals(UnitWidget.class)){
- UnitWidget unit = (UnitWidget)source;
- for (Pair<String, String> pair : this.unitFocusCssNamesAndStyles) {
- if(pair.getFirst().equals("textDecoration"))unit.setTextDecoration(pair.getSecond());
- else DOM.setStyleAttribute(unit.basePanel.getElement(), pair.getFirst(), pair.getSecond());
-
- if(unit.styleOfUnitWidgetBase(pair.getFirst())) DOM.setStyleAttribute(unit.basePanel.getElement(), pair.getFirst(), pair.getSecond());
- }
- }
- }
-
-
- // applies the styles bound to acitve and the passed element
- @Override
- protected void onActiveStart(Widget widget){
- super.onActiveStart(widget);
- if(widget.getClass().equals(UnitWidget.class)){
- UnitWidget unit = (UnitWidget)widget;
- for (Pair<String, String> pair : this.unitActiveCssNamesAndStyles) {
- if(pair.getFirst().equals("textDecoration"))unit.setTextDecoration(pair.getSecond());
- else DOM.setStyleAttribute(unit.basePanel.getElement(), pair.getFirst(), pair.getSecond());
-
- if(unit.styleOfUnitWidgetBase(pair.getFirst())) DOM.setStyleAttribute(unit.basePanel.getElement(), pair.getFirst(), pair.getSecond());
- }
- }
- }
-
-
- // shall be called to apply the styles of the active class
- @Override
- public void onActiveStart(MouseDownEvent event, ActiveStyleHandler handler) {
- Widget source = (Widget)event.getSource();
- super.onActiveStart(event, handler);
- if(source.getClass().equals(UnitWidget.class)){
- UnitWidget unit = (UnitWidget)source;
- for (Pair<String, String> pair : this.unitActiveCssNamesAndStyles) {
- if(pair.getFirst().equals("textDecoration"))unit.setTextDecoration(pair.getSecond());
- else DOM.setStyleAttribute(unit.basePanel.getElement(), pair.getFirst(), pair.getSecond());
-
- if(unit.styleOfUnitWidgetBase(pair.getFirst())) DOM.setStyleAttribute(unit.basePanel.getElement(), pair.getFirst(), pair.getSecond());
- }
- }
- }
-
-
- @Override
- @Deprecated
- public GdlVisibleObject append(Topic ancestor, Topic current) throws InvalidGdlSchemaException, ExecutionException {
- // do nothing this method has no effect on the mainpanle
- return null;
- }
-
-
- // returns all topics that are bound to this tm representative topic via a
- // contains association
- @Override
- public ArrayList<Topic> contains() throws InvalidGdlSchemaException {
- return TmHelper.topicContains(this.tmRepresentative);
- }
-
-
- // Searches the topic that represents the first item that is placed within this view instance
- // i.e. such an item must not have an association that is bound to it via a role of the type
- // gdl:ancestor.
- protected Topic getStartElement(ArrayList<Topic> containees) throws InvalidGdlSchemaException {
- return TmHelper.getFirstContainee(super.getTmRepresentative(), containees);
- }
-
-
-
- protected class UnitWidget extends Composite implements HasFocusHandlers, HasBlurHandlers, HasMouseOutHandlers, HasMouseOverHandlers, HasMouseDownHandlers, HasMouseUpHandlers{
- private SimplePanel basePanel = new SimplePanel();
- private CaptionPanel innerPanel = new CaptionPanel();
- private Topic tmRepresentative = null;
- private ArrayList<Widget> subElements = new ArrayList<Widget>();
-
-
- private UnitWidget(){
- initWidget(this.basePanel);
- this.basePanel.add(this.innerPanel);
- }
-
-
- public UnitWidget(Topic tmRepresentative){
- this();
- this.tmRepresentative = tmRepresentative;
- }
-
-
- public Topic getTmRepresentative(){
- return this.tmRepresentative;
- }
-
-
-
- // appends a new element in form of a topic to this unit-widget
- public GdlVisibleObject append(Topic ancestor, Topic current) throws ExecutionException, InvalidGdlSchemaException {
- if(ancestor == null || current == null) throw new ExecutionException("to append \"" + TmHelper.getAnyIdOfTopic(current) + "\" on \"" + TmHelper.getAnyIdOfTopic(ancestor) + "\" both topics must be present");
- GdlPosition position = new GdlPosition(TmHelper.getPositionOf(ancestor, current));
-
- GdlVisibleObject newObj = GdlInstantiator.instantiate(current);
- GdlVisibleObject oldObj = null;
- for (Widget widget : this.subElements){
- if(((GdlVisibleObject)widget).getTmRepresentative().equals(ancestor)){
- oldObj = (GdlVisibleObject)widget;
- break;
- }
- }
-
- this.subElements.add(newObj);
- if(this.getTmRepresentative().equals(ancestor)){
- this.innerPanel.add(newObj);
- }
- else{
- Element elemBefore = oldObj.getElement();
- Element elemAfter = DOM.getNextSibling(elemBefore);
- // insert before seems to be a more accepted and stable
- // way of inserting new child elements than insertAfter
- if(elemAfter == null) this.innerPanel.add(newObj);
- else this.innerPanel.getElement().insertBefore(newObj.getElement(), elemAfter);
- }
- position.setAttributes(newObj);
- return newObj;
- }
-
-
- public void setId(String id){
- DOM.setElementAttribute(this.basePanel.getElement(), "id", id);
- }
-
-
- // some css style setters
- public void setHeight(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "height", value);
- }
-
-
- public void setMaxHeight(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "maxHeight", value);
- }
-
-
- public void setMinHeight(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "minHeight", value);
- }
-
-
- public void setWidth(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "width", value);
- }
-
-
- public void setMaxWidth(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "maxWidth", value);
- }
-
-
- public void setMinWidth(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "minWidth", value);
- }
-
-
- public void setUnitBorderWidth(String value){
- DOM.setStyleAttribute(this.innerPanel.getElement(), "borderWidth", value);
- }
-
-
- public void setUnitBorderTopWidth(String value){
- DOM.setStyleAttribute(this.innerPanel.getElement(), "borderTopWidth", value);
- }
-
-
- public void setUnitBorderRightWidth(String value){
- DOM.setStyleAttribute(this.innerPanel.getElement(), "borderRightWidth", value);
- }
-
-
- public void setUnitBorderBottomWidth(String value){
- DOM.setStyleAttribute(this.innerPanel.getElement(), "borderBottomWidth", value);
- }
-
-
- public void setUnitBorderLeftWidth(String value){
- DOM.setStyleAttribute(this.innerPanel.getElement(), "borderLeftWidth", value);
- }
-
-
- public void setUnitBorderColor(String value){
- DOM.setStyleAttribute(this.innerPanel.getElement(), "borderColor", value);
- }
-
-
- public void setUnitBorderTopColor(String value){
- DOM.setStyleAttribute(this.innerPanel.getElement(), "borderTopColor", value);
- }
-
-
- public void setUnitBorderRightColor(String value){
- DOM.setStyleAttribute(this.innerPanel.getElement(), "borderRightColor", value);
- }
-
-
- public void setTextDecoration(String value){
- DOM.setStyleAttribute(this.innerPanel.getElement(), "textDecoration", value);
- }
-
-
- public void setUnitBorderBottomColor(String value){
- DOM.setStyleAttribute(this.innerPanel.getElement(), "borderBottomColor", value);
- }
-
-
- public void setUnitBorderLeftColor(String value){
- DOM.setStyleAttribute(this.innerPanel.getElement(), "borderLeftColor", value);
- }
-
-
- public void setUnitBorderStyle(String value){
- DOM.setStyleAttribute(this.innerPanel.getElement(), "borderStyle", value);
- }
-
-
- public void setUnitBorderTopStyle(String value){
- DOM.setStyleAttribute(this.innerPanel.getElement(), "borderTopStyle", value);
- }
-
-
- public void setUnitBorderRightStyle(String value){
- DOM.setStyleAttribute(this.innerPanel.getElement(), "borderRightStyle", value);
- }
-
-
- public void setUnitBorderBottomStyle(String value){
- DOM.setStyleAttribute(this.innerPanel.getElement(), "borderBottomStyle", value);
- }
-
-
- public void setUnitBorderLeftStyle(String value){
- DOM.setStyleAttribute(this.innerPanel.getElement(), "borderLeftStyle", value);
- }
-
-
- public void setUnitBorderPadding(String value){
- DOM.setStyleAttribute(this.innerPanel.getElement(), "padding", value);
- }
-
-
- public void setUnitBorderTopPadding(String value){
- DOM.setStyleAttribute(this.innerPanel.getElement(), "paddingTop", value);
- }
-
-
- public void setUnitBorderRightPadding(String value){
- DOM.setStyleAttribute(this.innerPanel.getElement(), "paddingRight", value);
- }
-
-
- public void setUnitBorderBottomPadding(String value){
- DOM.setStyleAttribute(this.innerPanel.getElement(), "paddingBottom", value);
- }
-
-
- public void setUnitBorderLeftPadding(String value){
- DOM.setStyleAttribute(this.innerPanel.getElement(), "paddingLeft", value);
- }
-
-
- public void setUnitBorderMargin(String value){
- DOM.setStyleAttribute(this.innerPanel.getElement(), "margin", value);
- }
-
-
- public void setUnitBorderTopMargin(String value){
- DOM.setStyleAttribute(this.innerPanel.getElement(), "marginTop", value);
- }
-
-
- public void setUnitBorderRightMargin(String value){
- DOM.setStyleAttribute(this.innerPanel.getElement(), "marginRight", value);
- }
-
-
- public void setUnitBorderBottomMargin(String value){
- DOM.setStyleAttribute(this.innerPanel.getElement(), "marginBottom", value);
- }
-
-
- public void setUnitBorderLeftMargin(String value){
- DOM.setStyleAttribute(this.innerPanel.getElement(), "marginLeft", value);
- }
-
-
- public void setUnitBorderRadius(String value){
- DOM.setStyleAttribute(this.innerPanel.getElement(), "borderRadius", value);
- }
-
-
- public void setUnitBorderTopRightRadius(String value){
- DOM.setStyleAttribute(this.innerPanel.getElement(), "borderTopRightRadius", value);
- }
-
-
- public void setUnitBorderBottomRightRadius(String value){
- DOM.setStyleAttribute(this.innerPanel.getElement(), "borderBottomRightRadius", value);
- }
-
-
- public void setUnitBorderBottomLeftRadius(String value){
- DOM.setStyleAttribute(this.innerPanel.getElement(), "borderBottomLeftRadius", value);
- }
-
-
- public void setUnitBorderTopLeftRadius(String value){
- DOM.setStyleAttribute(this.innerPanel.getElement(), "borderTopLeftRadius", value);
- }
-
-
- public String getCaption() {
- return this.innerPanel.getCaptionText();
- }
-
-
- // sets the unit's name. If the name is "" or null,
- // the legend element is set to non-visible
- public void setCaption(String caption) {
- if(caption == null || caption.length() == 0){
- this.innerPanel.setCaptionText(caption);
- //DOM.setStyleAttribute(this.legend, "display", "none");
- } else {
- this.innerPanel.setCaptionText(caption);
- //DOM.setStyleAttribute(this.legend, "display", "inline");
- }
- }
-
-
- // returns true if the passed style property must be applied on both the fieldset and absolutepanel
- public boolean styleOfUnitWidgetBase(String styleProperty){
- if(styleProperty.equals("borderWidth") || styleProperty.equals("borderTopWidth") || styleProperty.equals("borderRightWidth") || styleProperty.equals("borderBottomWidth") || styleProperty.equals("borderLeftWidth")){
- return false;
- }else if(styleProperty.equals("borderColor") || styleProperty.equals("borderTopColor") || styleProperty.equals("borderRightColor") || styleProperty.equals("borderBottomColor") || styleProperty.equals("borderLeftColor")){
- return false;
- }else if(styleProperty.equals("padding") || styleProperty.equals("paddingTop") || styleProperty.equals("paddingRight") || styleProperty.equals("paddingBottom") || styleProperty.equals("paddingLeft")){
- return false;
- }else if(styleProperty.equals("margin") || styleProperty.equals("marginTop") || styleProperty.equals("marginRight") || styleProperty.equals("marginBottom") || styleProperty.equals("marginLeft")){
- return false;
- }else if(styleProperty.equals("borderRadius") || styleProperty.equals("borderTopRightRadius") || styleProperty.equals("borderBottomRightRadius") || styleProperty.equals("borderBottomLeftRadius") || styleProperty.equals("borderTopLeftRadius")){
- return false;
- }else {
- return true;
- }
- }
-
-
- @Override
- public HandlerRegistration addMouseUpHandler(MouseUpHandler handler) {
- return this.addDomHandler(handler, MouseUpEvent.getType());
- }
-
-
- @Override
- public HandlerRegistration addMouseDownHandler(MouseDownHandler handler) {
- return this.addDomHandler(handler, MouseDownEvent.getType());
- }
-
-
- @Override
- public HandlerRegistration addMouseOverHandler(MouseOverHandler handler) {
- return this.addDomHandler(handler, MouseOverEvent.getType());
- }
-
-
- @Override
- public HandlerRegistration addMouseOutHandler(MouseOutHandler handler) {
- return this.addDomHandler(handler, MouseOutEvent.getType());
- }
-
-
- @Override
- public HandlerRegistration addBlurHandler(BlurHandler handler) {
- return this.addDomHandler(handler, BlurEvent.getType());
- }
-
-
- @Override
- public HandlerRegistration addFocusHandler(FocusHandler handler) {
- return this.addDomHandler(handler, FocusEvent.getType());
- }
- }
-
-
- /*
- // wraps a fieldset with a legend item that represent a group-element
- protected class UnitWidget extends Composite implements HasFocusHandlers, HasBlurHandlers, HasMouseOutHandlers, HasMouseOverHandlers, HasMouseDownHandlers, HasMouseUpHandlers{
- private AbsolutePanel basePanel = new AbsolutePanel();
- private Element fieldset = DOM.createFieldSet();
- private Element legend = DOM.createLegend();
- private ArrayList<Widget> subElements = new ArrayList<Widget>();
- private Topic tmRepresentative = null;
-
-
- private UnitWidget() {}
-
-
- public UnitWidget(Topic tmRepresentative) throws ExecutionException{
- if(tmRepresentative == null) throw new ExecutionException("tmRepresentative must be set");
- this.tmRepresentative = tmRepresentative;
- initWidget(this.basePanel);
- DOM.setStyleAttribute(this.basePanel.getElement(), "overflow", "visible");
- this.fieldset.appendChild(this.legend);
- this.basePanel.getElement().appendChild(this.fieldset);
- DOM.setStyleAttribute(this.legend, "float", "left");
- DOM.setStyleAttribute(this.legend, "display", "none");
- DOM.setStyleAttribute(this.legend, "marginLeft", "1em");
- DOM.setStyleAttribute(this.legend, "marginRight", "1em");
- }
-
-
- public Topic getTmRepresentative(){
- return this.tmRepresentative;
- }
-
-
- // some css style setters
- public void setHeight(String value){
- DOM.setStyleAttribute(this.fieldset, "height", value);
- }
-
-
- public void setMaxHeight(String value){
- DOM.setStyleAttribute(this.fieldset, "maxHeight", value);
- }
-
-
- public void setMinHeight(String value){
- DOM.setStyleAttribute(this.fieldset, "minHeight", value);
- }
-
-
- public void setWidth(String value){
- DOM.setStyleAttribute(this.fieldset, "width", value);
- }
-
-
- public void setMaxWidth(String value){
- DOM.setStyleAttribute(this.fieldset, "maxWidth", value);
- }
-
-
- public void setMinWidth(String value){
- DOM.setStyleAttribute(this.fieldset, "minWidth", value);
- }
-
-
- public void setBorderWidth(String value){
- DOM.setStyleAttribute(this.fieldset, "borderWidth", value);
- }
-
-
- public void setBorderTopWidth(String value){
- DOM.setStyleAttribute(this.fieldset, "borderTopWidth", value);
- }
-
-
- public void setBorderRightWidth(String value){
- DOM.setStyleAttribute(this.fieldset, "borderRightWidth", value);
- }
-
-
- public void setBorderBottomWidth(String value){
- DOM.setStyleAttribute(this.fieldset, "borderBottomWidth", value);
- }
-
-
- public void setBorderLeftWidth(String value){
- DOM.setStyleAttribute(this.fieldset, "borderLeftWidth", value);
- }
-
-
- public void setBorderColor(String value){
- DOM.setStyleAttribute(this.fieldset, "borderColor", value);
- }
-
-
- public void setBorderTopColor(String value){
- DOM.setStyleAttribute(this.fieldset, "borderTopColor", value);
- }
-
-
- public void setBorderRightColor(String value){
- DOM.setStyleAttribute(this.fieldset, "borderRightColor", value);
- }
-
-
- public void setTextDecoration(String value){
- DOM.setStyleAttribute(this.legend, "textDecoration", value);
- }
-
-
- public void setBorderBottomColor(String value){
- DOM.setStyleAttribute(this.fieldset, "borderBottomColor", value);
- }
-
-
- public void setBorderLeftColor(String value){
- DOM.setStyleAttribute(this.fieldset, "borderLeftColor", value);
- }
-
-
- public void setBorderStyle(String value){
- DOM.setStyleAttribute(this.fieldset, "borderStyle", value);
- }
-
-
- public void setBorderTopStyle(String value){
- DOM.setStyleAttribute(this.fieldset, "borderTopStyle", value);
- }
-
-
- public void setBorderRightStyle(String value){
- DOM.setStyleAttribute(this.fieldset, "borderRightStyle", value);
- }
-
-
- public void setBorderBottomStyle(String value){
- DOM.setStyleAttribute(this.fieldset, "borderBottomStyle", value);
- }
-
-
- public void setBorderLeftStyle(String value){
- DOM.setStyleAttribute(this.fieldset, "borderLeftStyle", value);
- }
-
-
- public void setPadding(String value){
- DOM.setStyleAttribute(this.fieldset, "padding", value);
- }
-
-
- public void setPaddingTop(String value){
- DOM.setStyleAttribute(this.fieldset, "paddingTop", value);
- }
-
-
- public void setPaddingRight(String value){
- DOM.setStyleAttribute(this.fieldset, "paddingRight", value);
- }
-
-
- public void setPaddingBottom(String value){
- DOM.setStyleAttribute(this.fieldset, "paddingBottom", value);
- }
-
-
- public void setPaddingLeft(String value){
- DOM.setStyleAttribute(this.fieldset, "paddingLeft", value);
- }
-
-
- public void setMargin(String value){
- DOM.setStyleAttribute(this.fieldset, "margin", value);
- }
-
-
- public void setMarginTop(String value){
- DOM.setStyleAttribute(this.fieldset, "marginTop", value);
- }
-
-
- public void setMarginRight(String value){
- DOM.setStyleAttribute(this.fieldset, "marginRight", value);
- }
-
-
- public void setMarginBottom(String value){
- DOM.setStyleAttribute(this.fieldset, "marginBottom", value);
- }
-
-
- public void setMarginLeft(String value){
- DOM.setStyleAttribute(this.fieldset, "marginLeft", value);
- }
-
-
- public void setBorderRadius(String value){
- DOM.setStyleAttribute(this.fieldset, "borderRadius", value);
- }
-
-
- public void setBorderTopRightRadius(String value){
- DOM.setStyleAttribute(this.fieldset, "borderTopRightRadius", value);
- }
-
-
- public void setBorderBottomRightRadius(String value){
- DOM.setStyleAttribute(this.fieldset, "borderBottomRightRadius", value);
- }
-
-
- public void setBorderBottomLeftRadius(String value){
- DOM.setStyleAttribute(this.fieldset, "borderBottomLeftRadius", value);
- }
-
-
- public void setBorderTopLeftRadius(String value){
- DOM.setStyleAttribute(this.fieldset, "borderTopLeftRadius", value);
- }
-
-
- public String getCaption() {
- return this.legend.getInnerText();
- }
-
-
- // sets the unit's name. If the name is "" or null,
- // the legend element is set to non-visible
- public void setCaption(String caption) {
- if(caption == null || caption.length() == 0){
- this.legend.setInnerText("");
- DOM.setStyleAttribute(this.legend, "display", "none");
- } else {
- this.legend.setInnerText(caption);
- DOM.setStyleAttribute(this.legend, "display", "inline");
- }
- }
-
-
- public void setId(String id){
- DOM.setElementAttribute(this.basePanel.getElement(), "id", id);
- }
-
-
- // appends a new element in form of a topic to this unit-widget
- public GdlVisibleObject append(Topic ancestor, Topic current) throws ExecutionException, InvalidGdlSchemaException {
- if(ancestor == null || current == null) throw new ExecutionException("to append \"" + TmHelper.getAnyIdOfTopic(current) + "\" on \"" + TmHelper.getAnyIdOfTopic(ancestor) + "\" both topics must be present");
- GdlPosition position = new GdlPosition(TmHelper.getPositionOf(ancestor, current));
-
- GdlVisibleObject newObj = GdlInstantiator.instantiate(current);
- GdlVisibleObject oldObj = null;
- for (Widget widget : this.subElements){
- if(((GdlVisibleObject)widget).getTmRepresentative().equals(ancestor)){
- oldObj = (GdlVisibleObject)widget;
- break;
- }
- }
-
- this.subElements.add(newObj);
- if(this.getTmRepresentative().equals(ancestor)){
- this.fieldset.appendChild(newObj.getElement());
- }
- else{
- Element elemBefore = oldObj.getElement();
- Element elemAfter = DOM.getNextSibling(elemBefore);
- // insert before seems to be a more accepted and stable
- // way of inserting new child elements than insertAfter
- if(elemAfter == null) this.fieldset.appendChild(newObj.getElement());
- else this.fieldset.insertBefore(newObj.getElement(), elemAfter);
- }
- position.setAttributes(newObj);
- return newObj;
- }
-
-
- @Override
- public HandlerRegistration addMouseUpHandler(MouseUpHandler handler) {
- return this.addDomHandler(handler, MouseUpEvent.getType());
- }
-
-
- @Override
- public HandlerRegistration addMouseDownHandler(MouseDownHandler handler) {
- return this.addDomHandler(handler, MouseDownEvent.getType());
- }
-
-
- @Override
- public HandlerRegistration addMouseOverHandler(MouseOverHandler handler) {
- return this.addDomHandler(handler, MouseOverEvent.getType());
- }
-
-
- @Override
- public HandlerRegistration addMouseOutHandler(MouseOutHandler handler) {
- return this.addDomHandler(handler, MouseOutEvent.getType());
- }
-
-
- @Override
- public HandlerRegistration addBlurHandler(BlurHandler handler) {
- return this.addDomHandler(handler, BlurEvent.getType());
+ @Override
+ public HandlerRegistration addBlurHandler(BlurHandler handler) {
+ return this.addDomHandler(handler, BlurEvent.getType());
}
@@ -1915,24 +276,5 @@
public HandlerRegistration addFocusHandler(FocusHandler handler) {
return this.addDomHandler(handler, FocusEvent.getType());
}
-
-
- // returns true if the passed style property must be applied on both the fieldset and absolutepanel
- public boolean styleOfUnitWidgetBase(String styleProperty){
- if(styleProperty.equals("borderWidth") || styleProperty.equals("borderTopWidth") || styleProperty.equals("borderRightWidth") || styleProperty.equals("borderBottomWidth") || styleProperty.equals("borderLeftWidth")){
- return false;
- }else if(styleProperty.equals("borderColor") || styleProperty.equals("borderTopColor") || styleProperty.equals("borderRightColor") || styleProperty.equals("borderBottomColor") || styleProperty.equals("borderLeftColor")){
- return false;
- }else if(styleProperty.equals("padding") || styleProperty.equals("paddingTop") || styleProperty.equals("paddingRight") || styleProperty.equals("paddingBottom") || styleProperty.equals("paddingLeft")){
- return false;
- }else if(styleProperty.equals("margin") || styleProperty.equals("marginTop") || styleProperty.equals("marginRight") || styleProperty.equals("marginBottom") || styleProperty.equals("marginLeft")){
- return false;
- }else if(styleProperty.equals("borderRadius") || styleProperty.equals("borderTopRightRadius") || styleProperty.equals("borderBottomRightRadius") || styleProperty.equals("borderBottomLeftRadius") || styleProperty.equals("borderTopLeftRadius")){
- return false;
- }else {
- return true;
- }
- }
}
- */
}
\ No newline at end of file
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/gdl_widgets/test.gdl.jtm
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/gdl_widgets/test.gdl.jtm Wed Jul 20 11:21:32 2011 (r653)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/gdl_widgets/test.gdl.jtm Thu Jul 21 01:26:39 2011 (r654)
@@ -54,7 +54,7 @@
{"subject_identifiers":["[doc:list-item-2]"], "instance_of":["si:[gdl:Text]"], "occurrences":[{"type":"si:[gdl:id]", "value":"list_item_2_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:padding]", "value":"5px"}, {"type":"si:[gdl:margin-top]", "value":"5px"}]},
{"subject_identifiers":["[gdl:List-Box]"]},
{"subject_identifiers":["[doc:text-1]"], "instance_of":["si:[gdl:Text]"], "occurrences":[{"type":"si:[gdl:id]", "value":"text_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:readonly]", "value":"false", "datatype":"[xsd:boolean]"}]},
- {"subject_identifiers":["[doc:unit-1]"], "instance_of":["si:[gdl:Unit]"], "occurrences":[{"type":"si:[gdl:id]", "value":"unit_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:unit-name]", "value":"unit 1"}, {"type":"si:[gdl:width]", "value":"100px"}, {"type":"si:[gdl:height]", "value":"50px"}, {"type":"si:[gdl:border-style]", "value":"dashed"}, {"type":"si:[gdl:border-width]", "value":"1px"}, {"type":"si:[gdl:text-decoration]", "value":"line-through"}]},
+ {"subject_identifiers":["[doc:unit-1]"], "instance_of":["si:[gdl:Unit]"], "occurrences":[{"type":"si:[gdl:id]", "value":"unit_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:unit-name]", "value":"unit 1"}, {"type":"si:[gdl:width]", "value":"100px"}, {"type":"si:[gdl:height]", "value":"100px"}, {"type":"si:[gdl:border-style]", "value":"dashed"}, {"type":"si:[gdl:border-width]", "value":"1px"}, {"type":"si:[gdl:text-decoration]", "value":"line-through"},{"type":"si:[gdl:background-color]", "value":"yellow"}]},
{"subject_identifiers":["[doc:title-1]"], "instance_of":["si:[gdl:Title]"], "occurrences":[{"type":"si:[gdl:id]", "value":"title_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:text-decoration]", "value":"underline"}, {"type":"si:[gdl:background-color]", "value":"#ccc"}, {"type":"si:[gdl:font-weight]", "value":"bold"}]},
{"subject_identifiers":["[doc:reference-1]"], "instance_of":["si:[gdl:Reference]"], "occurrences":[{"type":"si:[gdl:id]", "value":"reference_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:margin-left]", "value":"200px"}, {"type":"si:[gdl:background-color]", "value":"yellow"}]},
{"subject_identifiers":["[doc:list-box-1]"], "instance_of":["si:[gdl:List-Box]"], "occurrences":[{"type":"si:[gdl:id]", "value":"list_box_1_id", "datatype":"[xsd:ID]"}]},
1
0

[isidorus-cvs] r653 - in branches/gdl-frontend/src/anaToMia/GDL_Widgets: src/us/isidor/gdl/anaToMia/Widgets/container src/us/isidor/gdl/anaToMia/Widgets/text war/gdl_widgets
by lgiessmann@common-lisp.net 20 Jul '11
by lgiessmann@common-lisp.net 20 Jul '11
20 Jul '11
Author: lgiessmann
Date: Wed Jul 20 11:21:32 2011
New Revision: 653
Log:
gdl-frontend: Widgets: fixed some bugs in the UnitWidget
Modified:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlUnit.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTextObject.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/gdl_widgets/test.gdl.jtm
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlUnit.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlUnit.java Wed Jul 20 10:01:42 2011 (r652)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlUnit.java Wed Jul 20 11:21:32 2011 (r653)
@@ -1,7 +1,6 @@
package us.isidor.gdl.anaToMia.Widgets.container;
import java.util.ArrayList;
-
import com.google.gwt.user.client.Element;
import com.google.gwt.event.dom.client.BlurEvent;
import com.google.gwt.event.dom.client.BlurHandler;
@@ -26,6 +25,7 @@
import com.google.gwt.user.client.ui.AbsolutePanel;
import com.google.gwt.user.client.ui.CaptionPanel;
import com.google.gwt.user.client.ui.Composite;
+import com.google.gwt.user.client.ui.SimplePanel;
import com.google.gwt.user.client.ui.Widget;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Occurrence;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
@@ -836,7 +836,7 @@
// sets the border-width style property of this element by using the GWT DOM class
public void setUnitBorderWidth(Widget widget, AbsoluteNumValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null){
- if(styleClass == null)((UnitWidget)widget).setBorderWidth(value.getCssValue());
+ if(styleClass == null)((UnitWidget)widget).setUnitBorderWidth(value.getCssValue());
else this.addStyleToStore(styleClass, "borderWidth", value.getCssValue());
}
}
@@ -845,7 +845,7 @@
// sets the border-width style property of this element by using the GWT DOM class
public void setUnitBorderTopWidth(Widget widget, AbsoluteNumValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null){
- if(styleClass == null)((UnitWidget)widget).setBorderWidth(value.getCssValue());
+ if(styleClass == null)((UnitWidget)widget).setUnitBorderWidth(value.getCssValue());
else this.addStyleToStore(styleClass, "borderTopWidth", value.getCssValue());
}
}
@@ -854,7 +854,7 @@
// sets the border-width style property of this element by using the GWT DOM class@Override
public void setUnitBorderRightWidth(Widget widget, AbsoluteNumValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null){
- if(styleClass == null)((UnitWidget)widget).setBorderWidth(value.getCssValue());
+ if(styleClass == null)((UnitWidget)widget).setUnitBorderWidth(value.getCssValue());
else this.addStyleToStore(styleClass, "borderRightWidth", value.getCssValue());
}
}
@@ -863,7 +863,7 @@
// sets the border-width style property of this element by using the GWT DOM class
public void setUnitBorderBottomWidth(Widget widget, AbsoluteNumValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null){
- if(styleClass == null)((UnitWidget)widget).setBorderWidth(value.getCssValue());
+ if(styleClass == null)((UnitWidget)widget).setUnitBorderWidth(value.getCssValue());
else this.addStyleToStore(styleClass, "borderBottomWidth", value.getCssValue());
}
}
@@ -872,7 +872,7 @@
// sets the border-width style property of this element by using the GWT DOM class
public void setUnitBorderLeftWidth(Widget widget, AbsoluteNumValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null){
- if(styleClass == null)((UnitWidget)widget).setBorderWidth(value.getCssValue());
+ if(styleClass == null)((UnitWidget)widget).setUnitBorderWidth(value.getCssValue());
else this.addStyleToStore(styleClass, "borderLeftWidth", value.getCssValue());
}
}
@@ -881,7 +881,7 @@
// sets the border-color style property of this element by using the GWT DOM class
public void setUnitBorderColor(Widget widget, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null){
- if(styleClass == null)((UnitWidget)widget).setBorderColor(value.getCssValue());
+ if(styleClass == null)((UnitWidget)widget).setUnitBorderColor(value.getCssValue());
else this.addStyleToStore(styleClass, "borderColor", value.getCssValue());
}
}
@@ -890,7 +890,7 @@
// sets the border-color style property of this element by using the GWT DOM class
public void setUnitBorderTopColor(Widget widget, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null){
- if(styleClass == null)((UnitWidget)widget).setBorderColor(value.getCssValue());
+ if(styleClass == null)((UnitWidget)widget).setUnitBorderColor(value.getCssValue());
else this.addStyleToStore(styleClass, "borderTopColor", value.getCssValue());
}
}
@@ -899,7 +899,7 @@
// sets the border-color style property of this element by using the GWT DOM class@Override
public void setUnitBorderRightColor(Widget widget, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null){
- if(styleClass == null)((UnitWidget)widget).setBorderColor(value.getCssValue());
+ if(styleClass == null)((UnitWidget)widget).setUnitBorderColor(value.getCssValue());
else this.addStyleToStore(styleClass, "borderRightColor", value.getCssValue());
}
}
@@ -908,7 +908,7 @@
// sets the border-color style property of this element by using the GWT DOM class
public void setUnitBorderBottomColor(Widget widget, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null){
- if(styleClass == null)((UnitWidget)widget).setBorderColor(value.getCssValue());
+ if(styleClass == null)((UnitWidget)widget).setUnitBorderColor(value.getCssValue());
else this.addStyleToStore(styleClass, "borderBottomColor", value.getCssValue());
}
}
@@ -917,7 +917,7 @@
// sets the border-color style property of this element by using the GWT DOM class
public void setUnitBorderLeftColor(Widget widget, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null){
- if(styleClass == null)((UnitWidget)widget).setBorderColor(value.getCssValue());
+ if(styleClass == null)((UnitWidget)widget).setUnitBorderColor(value.getCssValue());
else this.addStyleToStore(styleClass, "borderLeftColor", value.getCssValue());
}
}
@@ -926,7 +926,7 @@
// sets the border-style style property of this element by using the GWT DOM class
public void setUnitBorderStyle(Widget widget, BorderStyleValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null){
- if(styleClass == null)((UnitWidget)widget).setBorderStyle(value.getCssValue());
+ if(styleClass == null)((UnitWidget)widget).setUnitBorderStyle(value.getCssValue());
else this.addStyleToStore(styleClass, "borderStyle", value.getCssValue());
}
}
@@ -935,7 +935,7 @@
// sets the border-style style property of this element by using the GWT DOM class
public void setUnitBorderTopStyle(Widget widget, BorderStyleValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null){
- if(styleClass == null)((UnitWidget)widget).setBorderStyle(value.getCssValue());
+ if(styleClass == null)((UnitWidget)widget).setUnitBorderStyle(value.getCssValue());
else this.addStyleToStore(styleClass, "borderTopStyle", value.getCssValue());
}
}
@@ -944,7 +944,7 @@
// sets the border-style style property of this element by using the GWT DOM class@Override
public void setUnitBorderRightStyle(Widget widget, BorderStyleValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null){
- if(styleClass == null)((UnitWidget)widget).setBorderStyle(value.getCssValue());
+ if(styleClass == null)((UnitWidget)widget).setUnitBorderStyle(value.getCssValue());
else this.addStyleToStore(styleClass, "borderRightStyle", value.getCssValue());
}
}
@@ -953,7 +953,7 @@
// sets the border-style style property of this element by using the GWT DOM class
public void setUnitBorderBottomStyle(Widget widget, BorderStyleValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null){
- if(styleClass == null)((UnitWidget)widget).setBorderStyle(value.getCssValue());
+ if(styleClass == null)((UnitWidget)widget).setUnitBorderStyle(value.getCssValue());
else this.addStyleToStore(styleClass, "borderBottomStyle", value.getCssValue());
}
}
@@ -962,7 +962,7 @@
// sets the border-style style property of this element by using the GWT DOM class
public void setUnitBorderLeftStyle(Widget widget, BorderStyleValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null){
- if(styleClass == null)((UnitWidget)widget).setBorderStyle(value.getCssValue());
+ if(styleClass == null)((UnitWidget)widget).setUnitBorderStyle(value.getCssValue());
else this.addStyleToStore(styleClass, "borderLeftStyle", value.getCssValue());
}
}
@@ -971,7 +971,7 @@
// sets the border-padding style property of this element by using the GWT DOM class
public void setUnitBorderPadding(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null){
- if(styleClass == null)((UnitWidget)widget).setPadding(value.getCssValue());
+ if(styleClass == null)((UnitWidget)widget).setUnitBorderPadding(value.getCssValue());
else this.addStyleToStore(styleClass, "padding", value.getCssValue());
}
}
@@ -980,7 +980,7 @@
// sets the border-padding style property of this element by using the GWT DOM class
public void setUnitBorderTopPadding(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null){
- if(styleClass == null)((UnitWidget)widget).setPaddingTop(value.getCssValue());
+ if(styleClass == null)((UnitWidget)widget).setUnitBorderTopPadding(value.getCssValue());
else this.addStyleToStore(styleClass, "paddingTop", value.getCssValue());
}
}
@@ -989,7 +989,7 @@
// sets the border-padding style property of this element by using the GWT DOM class@Override
public void setUnitBorderRightPadding(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null){
- if(styleClass == null)((UnitWidget)widget).setPaddingRight(value.getCssValue());
+ if(styleClass == null)((UnitWidget)widget).setUnitBorderRightPadding(value.getCssValue());
else this.addStyleToStore(styleClass, "paddingRight", value.getCssValue());
}
}
@@ -998,7 +998,7 @@
// sets the border-padding style property of this element by using the GWT DOM class
public void setUnitBorderBottomPadding(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null){
- if(styleClass == null)((UnitWidget)widget).setPaddingBottom(value.getCssValue());
+ if(styleClass == null)((UnitWidget)widget).setUnitBorderBottomPadding(value.getCssValue());
else this.addStyleToStore(styleClass, "paddingBottom", value.getCssValue());
}
}
@@ -1007,7 +1007,7 @@
// sets the border-padding style property of this element by using the GWT DOM class
public void setUnitBorderLeftPadding(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null){
- if(styleClass == null)((UnitWidget)widget).setPaddingLeft(value.getCssValue());
+ if(styleClass == null)((UnitWidget)widget).setUnitBorderLeftPadding(value.getCssValue());
else this.addStyleToStore(styleClass, "paddingLeft", value.getCssValue());
}
}
@@ -1016,7 +1016,7 @@
// sets the border-margin style property of this element by using the GWT DOM class
public void setUnitBorderMargin(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null){
- if(styleClass == null)((UnitWidget)widget).setMargin(value.getCssValue());
+ if(styleClass == null)((UnitWidget)widget).setUnitBorderMargin(value.getCssValue());
else this.addStyleToStore(styleClass, "margin", value.getCssValue());
}
}
@@ -1025,7 +1025,7 @@
// sets the border-margin style property of this element by using the GWT DOM class
public void setUnitBorderTopMargin(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null){
- if(styleClass == null)((UnitWidget)widget).setMarginTop(value.getCssValue());
+ if(styleClass == null)((UnitWidget)widget).setUnitBorderTopMargin(value.getCssValue());
else this.addStyleToStore(styleClass, "marginTop", value.getCssValue());
}
}
@@ -1034,7 +1034,7 @@
// sets the border-margin style property of this element by using the GWT DOM class@Override
public void setUnitBorderRightMargin(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null){
- if(styleClass == null)((UnitWidget)widget).setMarginRight(value.getCssValue());
+ if(styleClass == null)((UnitWidget)widget).setUnitBorderRightMargin(value.getCssValue());
else this.addStyleToStore(styleClass, "marginRight", value.getCssValue());
}
}
@@ -1043,7 +1043,7 @@
// sets the border-margin style property of this element by using the GWT DOM class
public void setUnitBorderBottomMargin(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null){
- if(styleClass == null)((UnitWidget)widget).setMarginBottom(value.getCssValue());
+ if(styleClass == null)((UnitWidget)widget).setUnitBorderBottomMargin(value.getCssValue());
else this.addStyleToStore(styleClass, "marginBottom", value.getCssValue());
}
}
@@ -1052,7 +1052,7 @@
// sets the border-margin style property of this element by using the GWT DOM class
public void setUnitBorderLeftMargin(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null){
- if(styleClass == null)((UnitWidget)widget).setMarginLeft(value.getCssValue());
+ if(styleClass == null)((UnitWidget)widget).setUnitBorderLeftMargin(value.getCssValue());
else this.addStyleToStore(styleClass, "marginLeft", value.getCssValue());
}
}
@@ -1061,7 +1061,7 @@
// sets the border-radius style property of this element by using the GWT DOM class
public void setUnitBorderRadius(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null){
- if(styleClass == null)((UnitWidget)widget).setBorderRadius(value.getCssValue());
+ if(styleClass == null)((UnitWidget)widget).setUnitBorderRadius(value.getCssValue());
else this.addStyleToStore(styleClass, "borderRadius", value.getCssValue());
}
}
@@ -1070,7 +1070,7 @@
// sets the border-top-right-radius style property of this element by using the GWT DOM class
public void setUnitBorderTopRightRadius(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null){
- if(styleClass == null)((UnitWidget)widget).setBorderTopRightRadius(value.getCssValue());
+ if(styleClass == null)((UnitWidget)widget).setUnitBorderTopRightRadius(value.getCssValue());
else this.addStyleToStore(styleClass, "borderTopRightRadius", value.getCssValue());
}
}
@@ -1079,7 +1079,7 @@
// sets the border-bottom-right-radius style property of this element by using the GWT DOM class
public void setUnitBorderBottomRightRadius(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null){
- if(styleClass == null)((UnitWidget)widget).setBorderBottomRightRadius(value.getCssValue());
+ if(styleClass == null)((UnitWidget)widget).setUnitBorderBottomRightRadius(value.getCssValue());
else this.addStyleToStore(styleClass, "borderBottomRightRadius", value.getCssValue());
}
}
@@ -1088,7 +1088,7 @@
// sets the border-bottom-left-radius style property of this element by using the GWT DOM class
public void setUnitBorderBottomLeftRadius(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null){
- if(styleClass == null)((UnitWidget)widget).setBorderBottomLeftRadius(value.getCssValue());
+ if(styleClass == null)((UnitWidget)widget).setUnitBorderBottomLeftRadius(value.getCssValue());
else this.addStyleToStore(styleClass, "borderBottomLeftRadius", value.getCssValue());
}
}
@@ -1097,7 +1097,7 @@
// sets the border-top-left-radius style property of this element by using the GWT DOM class
public void setUnitBorderTopLeftRadius(Widget widget, NumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null){
- if(styleClass == null)((UnitWidget)widget).setBorderTopLeftRadius(value.getCssValue());
+ if(styleClass == null)((UnitWidget)widget).setUnitBorderTopLeftRadius(value.getCssValue());
else this.addStyleToStore(styleClass, "borderTopLeftRadius", value.getCssValue());
}
}
@@ -1290,13 +1290,15 @@
protected class UnitWidget extends Composite implements HasFocusHandlers, HasBlurHandlers, HasMouseOutHandlers, HasMouseOverHandlers, HasMouseDownHandlers, HasMouseUpHandlers{
- private CaptionPanel basePanel = new CaptionPanel();
+ private SimplePanel basePanel = new SimplePanel();
+ private CaptionPanel innerPanel = new CaptionPanel();
private Topic tmRepresentative = null;
private ArrayList<Widget> subElements = new ArrayList<Widget>();
private UnitWidget(){
initWidget(this.basePanel);
+ this.basePanel.add(this.innerPanel);
}
@@ -1328,15 +1330,15 @@
this.subElements.add(newObj);
if(this.getTmRepresentative().equals(ancestor)){
- this.basePanel.add(newObj);
+ this.innerPanel.add(newObj);
}
else{
Element elemBefore = oldObj.getElement();
Element elemAfter = DOM.getNextSibling(elemBefore);
// insert before seems to be a more accepted and stable
// way of inserting new child elements than insertAfter
- if(elemAfter == null) this.basePanel.add(newObj);
- else this.basePanel.getElement().insertBefore(newObj.getElement(), elemAfter);
+ if(elemAfter == null) this.innerPanel.add(newObj);
+ else this.innerPanel.getElement().insertBefore(newObj.getElement(), elemAfter);
}
position.setAttributes(newObj);
return newObj;
@@ -1379,163 +1381,163 @@
}
- public void setBorderWidth(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "borderWidth", value);
+ public void setUnitBorderWidth(String value){
+ DOM.setStyleAttribute(this.innerPanel.getElement(), "borderWidth", value);
}
- public void setBorderTopWidth(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "borderTopWidth", value);
+ public void setUnitBorderTopWidth(String value){
+ DOM.setStyleAttribute(this.innerPanel.getElement(), "borderTopWidth", value);
}
- public void setBorderRightWidth(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "borderRightWidth", value);
+ public void setUnitBorderRightWidth(String value){
+ DOM.setStyleAttribute(this.innerPanel.getElement(), "borderRightWidth", value);
}
- public void setBorderBottomWidth(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "borderBottomWidth", value);
+ public void setUnitBorderBottomWidth(String value){
+ DOM.setStyleAttribute(this.innerPanel.getElement(), "borderBottomWidth", value);
}
- public void setBorderLeftWidth(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "borderLeftWidth", value);
+ public void setUnitBorderLeftWidth(String value){
+ DOM.setStyleAttribute(this.innerPanel.getElement(), "borderLeftWidth", value);
}
- public void setBorderColor(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "borderColor", value);
+ public void setUnitBorderColor(String value){
+ DOM.setStyleAttribute(this.innerPanel.getElement(), "borderColor", value);
}
- public void setBorderTopColor(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "borderTopColor", value);
+ public void setUnitBorderTopColor(String value){
+ DOM.setStyleAttribute(this.innerPanel.getElement(), "borderTopColor", value);
}
- public void setBorderRightColor(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "borderRightColor", value);
+ public void setUnitBorderRightColor(String value){
+ DOM.setStyleAttribute(this.innerPanel.getElement(), "borderRightColor", value);
}
public void setTextDecoration(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "textDecoration", value);
+ DOM.setStyleAttribute(this.innerPanel.getElement(), "textDecoration", value);
}
- public void setBorderBottomColor(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "borderBottomColor", value);
+ public void setUnitBorderBottomColor(String value){
+ DOM.setStyleAttribute(this.innerPanel.getElement(), "borderBottomColor", value);
}
- public void setBorderLeftColor(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "borderLeftColor", value);
+ public void setUnitBorderLeftColor(String value){
+ DOM.setStyleAttribute(this.innerPanel.getElement(), "borderLeftColor", value);
}
- public void setBorderStyle(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "borderStyle", value);
+ public void setUnitBorderStyle(String value){
+ DOM.setStyleAttribute(this.innerPanel.getElement(), "borderStyle", value);
}
- public void setBorderTopStyle(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "borderTopStyle", value);
+ public void setUnitBorderTopStyle(String value){
+ DOM.setStyleAttribute(this.innerPanel.getElement(), "borderTopStyle", value);
}
- public void setBorderRightStyle(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "borderRightStyle", value);
+ public void setUnitBorderRightStyle(String value){
+ DOM.setStyleAttribute(this.innerPanel.getElement(), "borderRightStyle", value);
}
- public void setBorderBottomStyle(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "borderBottomStyle", value);
+ public void setUnitBorderBottomStyle(String value){
+ DOM.setStyleAttribute(this.innerPanel.getElement(), "borderBottomStyle", value);
}
- public void setBorderLeftStyle(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "borderLeftStyle", value);
+ public void setUnitBorderLeftStyle(String value){
+ DOM.setStyleAttribute(this.innerPanel.getElement(), "borderLeftStyle", value);
}
- public void setPadding(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "padding", value);
+ public void setUnitBorderPadding(String value){
+ DOM.setStyleAttribute(this.innerPanel.getElement(), "padding", value);
}
- public void setPaddingTop(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "paddingTop", value);
+ public void setUnitBorderTopPadding(String value){
+ DOM.setStyleAttribute(this.innerPanel.getElement(), "paddingTop", value);
}
- public void setPaddingRight(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "paddingRight", value);
+ public void setUnitBorderRightPadding(String value){
+ DOM.setStyleAttribute(this.innerPanel.getElement(), "paddingRight", value);
}
- public void setPaddingBottom(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "paddingBottom", value);
+ public void setUnitBorderBottomPadding(String value){
+ DOM.setStyleAttribute(this.innerPanel.getElement(), "paddingBottom", value);
}
- public void setPaddingLeft(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "paddingLeft", value);
+ public void setUnitBorderLeftPadding(String value){
+ DOM.setStyleAttribute(this.innerPanel.getElement(), "paddingLeft", value);
}
- public void setMargin(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "margin", value);
+ public void setUnitBorderMargin(String value){
+ DOM.setStyleAttribute(this.innerPanel.getElement(), "margin", value);
}
- public void setMarginTop(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "marginTop", value);
+ public void setUnitBorderTopMargin(String value){
+ DOM.setStyleAttribute(this.innerPanel.getElement(), "marginTop", value);
}
- public void setMarginRight(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "marginRight", value);
+ public void setUnitBorderRightMargin(String value){
+ DOM.setStyleAttribute(this.innerPanel.getElement(), "marginRight", value);
}
- public void setMarginBottom(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "marginBottom", value);
+ public void setUnitBorderBottomMargin(String value){
+ DOM.setStyleAttribute(this.innerPanel.getElement(), "marginBottom", value);
}
- public void setMarginLeft(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "marginLeft", value);
+ public void setUnitBorderLeftMargin(String value){
+ DOM.setStyleAttribute(this.innerPanel.getElement(), "marginLeft", value);
}
- public void setBorderRadius(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "borderRadius", value);
+ public void setUnitBorderRadius(String value){
+ DOM.setStyleAttribute(this.innerPanel.getElement(), "borderRadius", value);
}
- public void setBorderTopRightRadius(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "borderTopRightRadius", value);
+ public void setUnitBorderTopRightRadius(String value){
+ DOM.setStyleAttribute(this.innerPanel.getElement(), "borderTopRightRadius", value);
}
- public void setBorderBottomRightRadius(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "borderBottomRightRadius", value);
+ public void setUnitBorderBottomRightRadius(String value){
+ DOM.setStyleAttribute(this.innerPanel.getElement(), "borderBottomRightRadius", value);
}
- public void setBorderBottomLeftRadius(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "borderBottomLeftRadius", value);
+ public void setUnitBorderBottomLeftRadius(String value){
+ DOM.setStyleAttribute(this.innerPanel.getElement(), "borderBottomLeftRadius", value);
}
- public void setBorderTopLeftRadius(String value){
- DOM.setStyleAttribute(this.basePanel.getElement(), "borderTopLeftRadius", value);
+ public void setUnitBorderTopLeftRadius(String value){
+ DOM.setStyleAttribute(this.innerPanel.getElement(), "borderTopLeftRadius", value);
}
public String getCaption() {
- return this.basePanel.getCaptionText();
+ return this.innerPanel.getCaptionText();
}
@@ -1543,10 +1545,10 @@
// the legend element is set to non-visible
public void setCaption(String caption) {
if(caption == null || caption.length() == 0){
- this.basePanel.setCaptionText(caption);
+ this.innerPanel.setCaptionText(caption);
//DOM.setStyleAttribute(this.legend, "display", "none");
} else {
- this.basePanel.setCaptionText(caption);
+ this.innerPanel.setCaptionText(caption);
//DOM.setStyleAttribute(this.legend, "display", "inline");
}
}
@@ -1605,6 +1607,7 @@
return this.addDomHandler(handler, FocusEvent.getType());
}
}
+
/*
// wraps a fieldset with a legend item that represent a group-element
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTextObject.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTextObject.java Wed Jul 20 10:01:42 2011 (r652)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTextObject.java Wed Jul 20 11:21:32 2011 (r653)
@@ -118,7 +118,7 @@
return TextDecorationValue.NONE;
} else {
try{
- return TextDecorationValue.valueOf(decorationOcc.getValue().toUpperCase());
+ return TextDecorationValue.valueOf(decorationOcc.getValue().toUpperCase().replace("-", "_"));
}catch(IllegalArgumentException e){
throw new InvalidGdlSchemaException("The occurrence " + GdlPsis.OccurrenceType.gdlTextDecoration + " must be set to one of \"underline\", \"overline\", \"line-through\", \"blink\" or \"none\", but is \"" + decorationOcc.getValue() + "\"");
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/gdl_widgets/test.gdl.jtm
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/gdl_widgets/test.gdl.jtm Wed Jul 20 10:01:42 2011 (r652)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/gdl_widgets/test.gdl.jtm Wed Jul 20 11:21:32 2011 (r653)
@@ -22,12 +22,14 @@
{"subject_identifiers":["[gdl:schema-name]"], "instance_of":["si:[tmcl:name-type]"]},
{"subject_identifiers":["[gdl:view-name]"], "instance_of":["si:[tmcl:name-type]"]},
{"subject_identifiers":["[gdl:Descriptor]"], "instance_of":["si:[tmcl:topic-type]"]},
+ {"subject_identifiers":["[gdl:border-width]"], "instance_of":["si:[tmcl:occurrence-type]"]},
{"subject_identifiers":["[doc:test-schema]"], "instance_of":["si:[gdl:Schema]"], "names":[{"value": "Test GDL Schema", "type":"si:[gdl:schema-name]"}]},
{"subject_identifiers":["[gdl:Visible-Object]"]},
{"subject_identifiers":["[gdl:Text-Object]"]},
{"subject_identifiers":["[gdl:Position]"]},
{"subject_identifiers":["[gdl:position]"], "instance_of":["si:[tmcl:association-type]"]},
{"subject_identifiers":["[gdl:margin-left]"], "instance_of":["si:[tmcl:occurrence-type]"]},
+ {"subject_identifiers":["[gdl:border-style]"], "instance_of":["si:[tmcl:occurrence-type]"]},
{"subject_identifiers":["[gdl:margin-top]"], "instance_of":["si:[tmcl:occurrence-type]"]},
{"subject_identifiers":["[gdl:margin-bottom]"], "instance_of":["si:[tmcl:occurrence-type]"]},
{"subject_identifiers":["[gdl:padding]"], "instance_of":["si:[tmcl:occurrence-type]"]},
@@ -52,7 +54,7 @@
{"subject_identifiers":["[doc:list-item-2]"], "instance_of":["si:[gdl:Text]"], "occurrences":[{"type":"si:[gdl:id]", "value":"list_item_2_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:padding]", "value":"5px"}, {"type":"si:[gdl:margin-top]", "value":"5px"}]},
{"subject_identifiers":["[gdl:List-Box]"]},
{"subject_identifiers":["[doc:text-1]"], "instance_of":["si:[gdl:Text]"], "occurrences":[{"type":"si:[gdl:id]", "value":"text_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:readonly]", "value":"false", "datatype":"[xsd:boolean]"}]},
- {"subject_identifiers":["[doc:unit-1]"], "instance_of":["si:[gdl:Unit]"], "occurrences":[{"type":"si:[gdl:id]", "value":"unit_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:unit-name]", "value":"unit 1"}]},
+ {"subject_identifiers":["[doc:unit-1]"], "instance_of":["si:[gdl:Unit]"], "occurrences":[{"type":"si:[gdl:id]", "value":"unit_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:unit-name]", "value":"unit 1"}, {"type":"si:[gdl:width]", "value":"100px"}, {"type":"si:[gdl:height]", "value":"50px"}, {"type":"si:[gdl:border-style]", "value":"dashed"}, {"type":"si:[gdl:border-width]", "value":"1px"}, {"type":"si:[gdl:text-decoration]", "value":"line-through"}]},
{"subject_identifiers":["[doc:title-1]"], "instance_of":["si:[gdl:Title]"], "occurrences":[{"type":"si:[gdl:id]", "value":"title_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:text-decoration]", "value":"underline"}, {"type":"si:[gdl:background-color]", "value":"#ccc"}, {"type":"si:[gdl:font-weight]", "value":"bold"}]},
{"subject_identifiers":["[doc:reference-1]"], "instance_of":["si:[gdl:Reference]"], "occurrences":[{"type":"si:[gdl:id]", "value":"reference_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:margin-left]", "value":"200px"}, {"type":"si:[gdl:background-color]", "value":"yellow"}]},
{"subject_identifiers":["[doc:list-box-1]"], "instance_of":["si:[gdl:List-Box]"], "occurrences":[{"type":"si:[gdl:id]", "value":"list_box_1_id", "datatype":"[xsd:ID]"}]},
1
0

[isidorus-cvs] r652 - in branches/gdl-frontend/src/anaToMia/GDL_Widgets: src/us/isidor/gdl/anaToMia/Widgets/base src/us/isidor/gdl/anaToMia/Widgets/container war/gdl_widgets
by lgiessmann@common-lisp.net 20 Jul '11
by lgiessmann@common-lisp.net 20 Jul '11
20 Jul '11
Author: lgiessmann
Date: Wed Jul 20 10:01:42 2011
New Revision: 652
Log:
gdl-frontend: Widgets: changed UnitWidget to a Caption panel
Modified:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TmHelper.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlUnit.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/gdl_widgets/test.gdl.jtm
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TmHelper.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TmHelper.java Wed Jul 20 07:32:13 2011 (r651)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TmHelper.java Wed Jul 20 10:01:42 2011 (r652)
@@ -19,6 +19,7 @@
import us.isidor.gdl.anaToMia.Widgets.environment.Pair;
import us.isidor.gdl.anaToMia.Widgets.environment.TopicIdentifierTypes;
import com.google.gwt.core.client.JsArray;
+import com.google.gwt.user.client.Window;
public class TmHelper {
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlUnit.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlUnit.java Wed Jul 20 07:32:13 2011 (r651)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlUnit.java Wed Jul 20 10:01:42 2011 (r652)
@@ -24,6 +24,7 @@
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.ui.AbsolutePanel;
+import com.google.gwt.user.client.ui.CaptionPanel;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Widget;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Occurrence;
@@ -1173,7 +1174,7 @@
UnitWidget unit = (UnitWidget)source;
for (Pair<String, String> pair : this.unitHoverCssNamesAndStyles) {
if(pair.getFirst().equals("textDecoration"))unit.setTextDecoration(pair.getSecond());
- else DOM.setStyleAttribute(unit.fieldset, pair.getFirst(), pair.getSecond());
+ else DOM.setStyleAttribute(unit.basePanel.getElement(), pair.getFirst(), pair.getSecond());
if(unit.styleOfUnitWidgetBase(pair.getFirst())) DOM.setStyleAttribute(unit.basePanel.getElement(), pair.getFirst(), pair.getSecond());
}
@@ -1189,7 +1190,7 @@
UnitWidget unit = (UnitWidget)widget;
for (Pair<String, String> pair : this.unitHoverCssNamesAndStyles) {
if(pair.getFirst().equals("textDecoration"))unit.setTextDecoration(pair.getSecond());
- else DOM.setStyleAttribute(unit.fieldset, pair.getFirst(), pair.getSecond());
+ else DOM.setStyleAttribute(unit.basePanel.getElement(), pair.getFirst(), pair.getSecond());
if(unit.styleOfUnitWidgetBase(pair.getFirst())) DOM.setStyleAttribute(unit.basePanel.getElement(), pair.getFirst(), pair.getSecond());
}
@@ -1205,7 +1206,7 @@
UnitWidget unit = (UnitWidget)widget;
for (Pair<String, String> pair : this.unitFocusCssNamesAndStyles) {
if(pair.getFirst().equals("textDecoration"))unit.setTextDecoration(pair.getSecond());
- else DOM.setStyleAttribute(unit.fieldset, pair.getFirst(), pair.getSecond());
+ else DOM.setStyleAttribute(unit.basePanel.getElement(), pair.getFirst(), pair.getSecond());
if(unit.styleOfUnitWidgetBase(pair.getFirst())) DOM.setStyleAttribute(unit.basePanel.getElement(), pair.getFirst(), pair.getSecond());
}
@@ -1222,7 +1223,7 @@
UnitWidget unit = (UnitWidget)source;
for (Pair<String, String> pair : this.unitFocusCssNamesAndStyles) {
if(pair.getFirst().equals("textDecoration"))unit.setTextDecoration(pair.getSecond());
- else DOM.setStyleAttribute(unit.fieldset, pair.getFirst(), pair.getSecond());
+ else DOM.setStyleAttribute(unit.basePanel.getElement(), pair.getFirst(), pair.getSecond());
if(unit.styleOfUnitWidgetBase(pair.getFirst())) DOM.setStyleAttribute(unit.basePanel.getElement(), pair.getFirst(), pair.getSecond());
}
@@ -1238,7 +1239,7 @@
UnitWidget unit = (UnitWidget)widget;
for (Pair<String, String> pair : this.unitActiveCssNamesAndStyles) {
if(pair.getFirst().equals("textDecoration"))unit.setTextDecoration(pair.getSecond());
- else DOM.setStyleAttribute(unit.fieldset, pair.getFirst(), pair.getSecond());
+ else DOM.setStyleAttribute(unit.basePanel.getElement(), pair.getFirst(), pair.getSecond());
if(unit.styleOfUnitWidgetBase(pair.getFirst())) DOM.setStyleAttribute(unit.basePanel.getElement(), pair.getFirst(), pair.getSecond());
}
@@ -1255,7 +1256,7 @@
UnitWidget unit = (UnitWidget)source;
for (Pair<String, String> pair : this.unitActiveCssNamesAndStyles) {
if(pair.getFirst().equals("textDecoration"))unit.setTextDecoration(pair.getSecond());
- else DOM.setStyleAttribute(unit.fieldset, pair.getFirst(), pair.getSecond());
+ else DOM.setStyleAttribute(unit.basePanel.getElement(), pair.getFirst(), pair.getSecond());
if(unit.styleOfUnitWidgetBase(pair.getFirst())) DOM.setStyleAttribute(unit.basePanel.getElement(), pair.getFirst(), pair.getSecond());
}
@@ -1286,7 +1287,326 @@
return TmHelper.getFirstContainee(super.getTmRepresentative(), containees);
}
+
+
+ protected class UnitWidget extends Composite implements HasFocusHandlers, HasBlurHandlers, HasMouseOutHandlers, HasMouseOverHandlers, HasMouseDownHandlers, HasMouseUpHandlers{
+ private CaptionPanel basePanel = new CaptionPanel();
+ private Topic tmRepresentative = null;
+ private ArrayList<Widget> subElements = new ArrayList<Widget>();
+
+
+ private UnitWidget(){
+ initWidget(this.basePanel);
+ }
+
+
+ public UnitWidget(Topic tmRepresentative){
+ this();
+ this.tmRepresentative = tmRepresentative;
+ }
+
+
+ public Topic getTmRepresentative(){
+ return this.tmRepresentative;
+ }
+
+
+
+ // appends a new element in form of a topic to this unit-widget
+ public GdlVisibleObject append(Topic ancestor, Topic current) throws ExecutionException, InvalidGdlSchemaException {
+ if(ancestor == null || current == null) throw new ExecutionException("to append \"" + TmHelper.getAnyIdOfTopic(current) + "\" on \"" + TmHelper.getAnyIdOfTopic(ancestor) + "\" both topics must be present");
+ GdlPosition position = new GdlPosition(TmHelper.getPositionOf(ancestor, current));
+
+ GdlVisibleObject newObj = GdlInstantiator.instantiate(current);
+ GdlVisibleObject oldObj = null;
+ for (Widget widget : this.subElements){
+ if(((GdlVisibleObject)widget).getTmRepresentative().equals(ancestor)){
+ oldObj = (GdlVisibleObject)widget;
+ break;
+ }
+ }
+
+ this.subElements.add(newObj);
+ if(this.getTmRepresentative().equals(ancestor)){
+ this.basePanel.add(newObj);
+ }
+ else{
+ Element elemBefore = oldObj.getElement();
+ Element elemAfter = DOM.getNextSibling(elemBefore);
+ // insert before seems to be a more accepted and stable
+ // way of inserting new child elements than insertAfter
+ if(elemAfter == null) this.basePanel.add(newObj);
+ else this.basePanel.getElement().insertBefore(newObj.getElement(), elemAfter);
+ }
+ position.setAttributes(newObj);
+ return newObj;
+ }
+
+
+ public void setId(String id){
+ DOM.setElementAttribute(this.basePanel.getElement(), "id", id);
+ }
+
+ // some css style setters
+ public void setHeight(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "height", value);
+ }
+
+
+ public void setMaxHeight(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "maxHeight", value);
+ }
+
+
+ public void setMinHeight(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "minHeight", value);
+ }
+
+
+ public void setWidth(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "width", value);
+ }
+
+
+ public void setMaxWidth(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "maxWidth", value);
+ }
+
+
+ public void setMinWidth(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "minWidth", value);
+ }
+
+
+ public void setBorderWidth(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "borderWidth", value);
+ }
+
+
+ public void setBorderTopWidth(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "borderTopWidth", value);
+ }
+
+
+ public void setBorderRightWidth(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "borderRightWidth", value);
+ }
+
+
+ public void setBorderBottomWidth(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "borderBottomWidth", value);
+ }
+
+
+ public void setBorderLeftWidth(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "borderLeftWidth", value);
+ }
+
+
+ public void setBorderColor(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "borderColor", value);
+ }
+
+
+ public void setBorderTopColor(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "borderTopColor", value);
+ }
+
+
+ public void setBorderRightColor(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "borderRightColor", value);
+ }
+
+
+ public void setTextDecoration(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "textDecoration", value);
+ }
+
+
+ public void setBorderBottomColor(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "borderBottomColor", value);
+ }
+
+
+ public void setBorderLeftColor(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "borderLeftColor", value);
+ }
+
+
+ public void setBorderStyle(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "borderStyle", value);
+ }
+
+
+ public void setBorderTopStyle(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "borderTopStyle", value);
+ }
+
+
+ public void setBorderRightStyle(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "borderRightStyle", value);
+ }
+
+
+ public void setBorderBottomStyle(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "borderBottomStyle", value);
+ }
+
+
+ public void setBorderLeftStyle(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "borderLeftStyle", value);
+ }
+
+
+ public void setPadding(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "padding", value);
+ }
+
+
+ public void setPaddingTop(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "paddingTop", value);
+ }
+
+
+ public void setPaddingRight(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "paddingRight", value);
+ }
+
+
+ public void setPaddingBottom(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "paddingBottom", value);
+ }
+
+
+ public void setPaddingLeft(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "paddingLeft", value);
+ }
+
+
+ public void setMargin(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "margin", value);
+ }
+
+
+ public void setMarginTop(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "marginTop", value);
+ }
+
+
+ public void setMarginRight(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "marginRight", value);
+ }
+
+
+ public void setMarginBottom(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "marginBottom", value);
+ }
+
+
+ public void setMarginLeft(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "marginLeft", value);
+ }
+
+
+ public void setBorderRadius(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "borderRadius", value);
+ }
+
+
+ public void setBorderTopRightRadius(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "borderTopRightRadius", value);
+ }
+
+
+ public void setBorderBottomRightRadius(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "borderBottomRightRadius", value);
+ }
+
+
+ public void setBorderBottomLeftRadius(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "borderBottomLeftRadius", value);
+ }
+
+
+ public void setBorderTopLeftRadius(String value){
+ DOM.setStyleAttribute(this.basePanel.getElement(), "borderTopLeftRadius", value);
+ }
+
+
+ public String getCaption() {
+ return this.basePanel.getCaptionText();
+ }
+
+
+ // sets the unit's name. If the name is "" or null,
+ // the legend element is set to non-visible
+ public void setCaption(String caption) {
+ if(caption == null || caption.length() == 0){
+ this.basePanel.setCaptionText(caption);
+ //DOM.setStyleAttribute(this.legend, "display", "none");
+ } else {
+ this.basePanel.setCaptionText(caption);
+ //DOM.setStyleAttribute(this.legend, "display", "inline");
+ }
+ }
+
+
+ // returns true if the passed style property must be applied on both the fieldset and absolutepanel
+ public boolean styleOfUnitWidgetBase(String styleProperty){
+ if(styleProperty.equals("borderWidth") || styleProperty.equals("borderTopWidth") || styleProperty.equals("borderRightWidth") || styleProperty.equals("borderBottomWidth") || styleProperty.equals("borderLeftWidth")){
+ return false;
+ }else if(styleProperty.equals("borderColor") || styleProperty.equals("borderTopColor") || styleProperty.equals("borderRightColor") || styleProperty.equals("borderBottomColor") || styleProperty.equals("borderLeftColor")){
+ return false;
+ }else if(styleProperty.equals("padding") || styleProperty.equals("paddingTop") || styleProperty.equals("paddingRight") || styleProperty.equals("paddingBottom") || styleProperty.equals("paddingLeft")){
+ return false;
+ }else if(styleProperty.equals("margin") || styleProperty.equals("marginTop") || styleProperty.equals("marginRight") || styleProperty.equals("marginBottom") || styleProperty.equals("marginLeft")){
+ return false;
+ }else if(styleProperty.equals("borderRadius") || styleProperty.equals("borderTopRightRadius") || styleProperty.equals("borderBottomRightRadius") || styleProperty.equals("borderBottomLeftRadius") || styleProperty.equals("borderTopLeftRadius")){
+ return false;
+ }else {
+ return true;
+ }
+ }
+
+
+ @Override
+ public HandlerRegistration addMouseUpHandler(MouseUpHandler handler) {
+ return this.addDomHandler(handler, MouseUpEvent.getType());
+ }
+
+
+ @Override
+ public HandlerRegistration addMouseDownHandler(MouseDownHandler handler) {
+ return this.addDomHandler(handler, MouseDownEvent.getType());
+ }
+
+
+ @Override
+ public HandlerRegistration addMouseOverHandler(MouseOverHandler handler) {
+ return this.addDomHandler(handler, MouseOverEvent.getType());
+ }
+
+
+ @Override
+ public HandlerRegistration addMouseOutHandler(MouseOutHandler handler) {
+ return this.addDomHandler(handler, MouseOutEvent.getType());
+ }
+
+
+ @Override
+ public HandlerRegistration addBlurHandler(BlurHandler handler) {
+ return this.addDomHandler(handler, BlurEvent.getType());
+ }
+
+
+ @Override
+ public HandlerRegistration addFocusHandler(FocusHandler handler) {
+ return this.addDomHandler(handler, FocusEvent.getType());
+ }
+ }
+
+ /*
// wraps a fieldset with a legend item that represent a group-element
protected class UnitWidget extends Composite implements HasFocusHandlers, HasBlurHandlers, HasMouseOutHandlers, HasMouseOverHandlers, HasMouseDownHandlers, HasMouseUpHandlers{
private AbsolutePanel basePanel = new AbsolutePanel();
@@ -1611,4 +1931,5 @@
}
}
}
+ */
}
\ No newline at end of file
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/gdl_widgets/test.gdl.jtm
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/gdl_widgets/test.gdl.jtm Wed Jul 20 07:32:13 2011 (r651)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/gdl_widgets/test.gdl.jtm Wed Jul 20 10:01:42 2011 (r652)
@@ -38,6 +38,7 @@
{"subject_identifiers":["[gdl:nth-element]"], "instance_of":["si:[tmcl:role-type]"]},
{"subject_identifiers":["[gdl:background-color]"], "instance_of":["si:[tmcl:occurrence-type]"]},
{"subject_identifiers":["[gdl:width]"], "instance_of":["si:[tmcl:occurrence-type]"]},
+ {"subject_identifiers":["[gdl:unit-name]"], "instance_of":["si:[tmcl:occurrence-type]"]},
{"subject_identifiers":["[gdl:height]"], "instance_of":["si:[tmcl:occurrence-type]"]},
{"subject_identifiers":["[gdl:font-weight]"], "instance_of":["si:[tmcl:occurrence-type]"]},
{"subject_identifiers":["[doc:default-creator-topic-view-1]"], "instance_of":["si:[gdl:Default-Creator-Topic-View]"], "names":[{"value": "Def. Creator View 1", "type":"si:[gdl:view-name]"}], "occurrences":[{"type":"si:[gdl:id]", "value":"default_creator_topic_view_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:background-color]", "value":"#ccc"}, {"type":"si:[gdl:width]", "value":"500px"}, {"type":"si:[gdl:height]", "value":"600px"}]},
@@ -51,6 +52,7 @@
{"subject_identifiers":["[doc:list-item-2]"], "instance_of":["si:[gdl:Text]"], "occurrences":[{"type":"si:[gdl:id]", "value":"list_item_2_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:padding]", "value":"5px"}, {"type":"si:[gdl:margin-top]", "value":"5px"}]},
{"subject_identifiers":["[gdl:List-Box]"]},
{"subject_identifiers":["[doc:text-1]"], "instance_of":["si:[gdl:Text]"], "occurrences":[{"type":"si:[gdl:id]", "value":"text_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:readonly]", "value":"false", "datatype":"[xsd:boolean]"}]},
+ {"subject_identifiers":["[doc:unit-1]"], "instance_of":["si:[gdl:Unit]"], "occurrences":[{"type":"si:[gdl:id]", "value":"unit_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:unit-name]", "value":"unit 1"}]},
{"subject_identifiers":["[doc:title-1]"], "instance_of":["si:[gdl:Title]"], "occurrences":[{"type":"si:[gdl:id]", "value":"title_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:text-decoration]", "value":"underline"}, {"type":"si:[gdl:background-color]", "value":"#ccc"}, {"type":"si:[gdl:font-weight]", "value":"bold"}]},
{"subject_identifiers":["[doc:reference-1]"], "instance_of":["si:[gdl:Reference]"], "occurrences":[{"type":"si:[gdl:id]", "value":"reference_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:margin-left]", "value":"200px"}, {"type":"si:[gdl:background-color]", "value":"yellow"}]},
{"subject_identifiers":["[doc:list-box-1]"], "instance_of":["si:[gdl:List-Box]"], "occurrences":[{"type":"si:[gdl:id]", "value":"list_box_1_id", "datatype":"[xsd:ID]"}]},
@@ -60,12 +62,14 @@
{"subject_identifiers":["[doc:pos-of-reference-1]"], "instance_of":["si:[gdl:Position]"], "occurrences":[{"type":"si:[gdl:position-style]", "value":"static"}]},
{"subject_identifiers":["[doc:pos-of-list-box-1]"], "instance_of":["si:[gdl:Position]"], "occurrences":[{"type":"si:[gdl:position-style]", "value":"absolute"}, {"type":"si:[gdl:bottom]", "value":"5px"}, {"type":"si:[gdl:right]", "value":"5px"}]},
{"subject_identifiers":["[doc:pos-of-person-list]"], "instance_of":["si:[gdl:Position]"]},
+ {"subject_identifiers":["[doc:pos-of-unit]"], "instance_of":["si:[gdl:Position]"]},
{"subject_identifiers":["[gdl:position-style]"], "instance_of":["si:[tmcl:occurrence-type]"]},
{"subject_identifiers":["[gdl:top]"], "instance_of":["si:[tmcl:occurrence-type]"]},
{"subject_identifiers":["[gdl:right]"], "instance_of":["si:[tmcl:occurrence-type]"]},
{"subject_identifiers":["[gdl:bottom]"], "instance_of":["si:[tmcl:occurrence-type]"]},
{"subject_identifiers":["[gdl:left]"], "instance_of":["si:[tmcl:occurrence-type]"]},
{"subject_identifiers":["[gdl:TM-Value]"]},
+ {"subject_identifiers":["[gdl:Unit]"]},
{"subject_identifiers":["[gdl:Nth-Element]"]},
{"subject_identifiers":["[gdl:nth-value]"], "instance_of":["si:[tmcl:occurrence-type]"]},
{"subject_identifiers":["[doc:nth-elem-1]"], "instance_of":["si:[gdl:Nth-Element]"], "occurrences":[{"type":"si:[gdl:nth-value]", "value":"0"}]},
@@ -117,6 +121,7 @@
{"type":"si:[tmdm:supertype-subtype]", "roles":[{"type":"si:[tmdm:supertype]", "player":"si:[gdl:Text-Object]"},{"type":"si:[tmdm:subtype]", "player":"si:[gdl:List-Box]"}]},
{"type":"si:[tmdm:supertype-subtype]", "roles":[{"type":"si:[tmdm:supertype]", "player":"si:[gdl:Visible-Object]"},{"type":"si:[tmdm:subtype]", "player":"si:[gdl:List]"}]},
{"type":"si:[tmdm:supertype-subtype]", "roles":[{"type":"si:[tmdm:supertype]", "player":"si:[gdl:Descriptor]"},{"type":"si:[tmdm:subtype]", "player":"si:[gdl:Nth-Element]"}]},
+ {"type":"si:[tmdm:supertype-subtype]", "roles":[{"type":"si:[tmdm:supertype]", "player":"si:[gdl:Text-Object]"},{"type":"si:[tmdm:subtype]", "player":"si:[gdl:Unit]"}]},
{"type":"si:[gdl:contains]", "roles":[{"type":"si:[gdl:container]", "player":"si:[doc:test-schema]"},{"type":"si:[gdl:containee]", "player":"si:[doc:default-creator-topic-view-1]"}]},
{"type":"si:[gdl:contains]", "roles":[{"type":"si:[gdl:container]", "player":"si:[doc:test-schema]"},{"type":"si:[gdl:containee]", "player":"si:[doc:default-creator-topic-view-2]"}]},
{"type":"si:[gdl:contains]", "roles":[{"type":"si:[gdl:container]", "player":"si:[doc:test-schema]"},{"type":"si:[gdl:containee]", "player":"si:[doc:default-editor-topic-view]"}]},
@@ -139,11 +144,13 @@
{"type":"si:[gdl:contains]", "roles":[{"type":"si:[gdl:container]", "player":"si:[doc:default-creator-topic-view-1]"},{"type":"si:[gdl:containee]", "player":"si:[doc:reference-1]"}]},
{"type":"si:[gdl:contains]", "roles":[{"type":"si:[gdl:container]", "player":"si:[doc:default-creator-topic-view-1]"},{"type":"si:[gdl:containee]", "player":"si:[doc:list-box-1]"}]},
{"type":"si:[gdl:contains]", "roles":[{"type":"si:[gdl:container]", "player":"si:[doc:default-creator-topic-view-1]"},{"type":"si:[gdl:containee]", "player":"si:[doc:person-list]"}]},
+ {"type":"si:[gdl:contains]", "roles":[{"type":"si:[gdl:container]", "player":"si:[doc:default-creator-topic-view-1]"},{"type":"si:[gdl:containee]", "player":"si:[doc:unit-1]"}]},
{"type":"si:[gdl:position]", "roles":[{"type":"si:[gdl:descriptor]", "player":"si:[doc:pos-of-title-1]"},{"type":"si:[gdl:ancestor]", "player":"si:[doc:default-creator-topic-view-1]"}, {"type":"si:[gdl:descendant]", "player":"si:[doc:title-1]"}]},
{"type":"si:[gdl:position]", "roles":[{"type":"si:[gdl:descriptor]", "player":"si:[doc:pos-of-text-1]"},{"type":"si:[gdl:ancestor]", "player":"si:[doc:title-1]"}, {"type":"si:[gdl:descendant]", "player":"si:[doc:text-1]"}]},
{"type":"si:[gdl:position]", "roles":[{"type":"si:[gdl:descriptor]", "player":"si:[doc:pos-of-reference-1]"},{"type":"si:[gdl:ancestor]", "player":"si:[doc:text-1]"}, {"type":"si:[gdl:descendant]", "player":"si:[doc:reference-1]"}]},
{"type":"si:[gdl:position]", "roles":[{"type":"si:[gdl:descriptor]", "player":"si:[doc:pos-of-list-box-1]"},{"type":"si:[gdl:ancestor]", "player":"si:[doc:reference-1]"}, {"type":"si:[gdl:descendant]", "player":"si:[doc:list-box-1]"}]},
{"type":"si:[gdl:position]", "roles":[{"type":"si:[gdl:descriptor]", "player":"si:[doc:pos-of-person-list]"},{"type":"si:[gdl:ancestor]", "player":"si:[doc:list-box-1]"}, {"type":"si:[gdl:descendant]", "player":"si:[doc:person-list]"}]},
+ {"type":"si:[gdl:position]", "roles":[{"type":"si:[gdl:descriptor]", "player":"si:[doc:pos-of-unit]"},{"type":"si:[gdl:ancestor]", "player":"si:[doc:person-list]"}, {"type":"si:[gdl:descendant]", "player":"si:[doc:unit-1]"}]},
{"type":"si:[gdl:contains]", "roles":[{"type":"si:[gdl:container]", "player":"si:[doc:person-list]"},{"type":"si:[gdl:containee]", "player":"si:[doc:list-item-1]"}, {"type":"si:[gdl:nth-element]", "player":"si:[doc:nth-elem-1]"}]},
{"type":"si:[gdl:contains]", "roles":[{"type":"si:[gdl:container]", "player":"si:[doc:person-list]"},{"type":"si:[gdl:containee]", "player":"si:[doc:list-item-2]"}, {"type":"si:[gdl:nth-element]", "player":"si:[doc:nth-elem-2]"}]},
{"type":"si:[gdl:contains]", "roles":[{"type":"si:[gdl:container]", "player":"si:[doc:person-list]"},{"type":"si:[gdl:containee]", "player":"si:[doc:list-item-3]"}, {"type":"si:[gdl:nth-element]", "player":"si:[doc:nth-elem-3]"}]}
1
0
Author: lgiessmann
Date: Wed Jul 20 07:32:13 2011
New Revision: 651
Log:
trunk: added a bash script that starts isidorus in the background by calling sbcl --load shell_scripts/startIsidorus.list by using start-stop-daemon
Added:
trunk/src/shell_scripts/isidorus (contents, props changed)
trunk/src/shell_scripts/startIsidorus.lisp
Added: trunk/src/shell_scripts/isidorus
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/src/shell_scripts/isidorus Wed Jul 20 07:32:13 2011 (r651)
@@ -0,0 +1,73 @@
+
+#!/bin/bash
+
+### BEGIN INIT INFO
+# Provides: isidorus
+# Required-Start: $local_fs $remote_fs $network
+# Required-Stop: $local_fs $remote_fs $network
+# Should-Start: $named
+# Should-Stop: $named
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: Start Isidorus.
+# Description: Start the Isidorus server.
+### END INIT INFO
+
+. /lib/lsb/init-functions
+
+NAME=isidorus
+DPATH=/home/servreg/.sbcl/site/isidorus/src
+DAEMON="/usr/bin/sbcl"
+ARGUMENTS="--load shell_scripts/startIsidorus.lisp"
+PID=/var/run/isidorus.pid
+USER=servreg
+GROUP=servreg
+
+start_isidorus () {
+ log_daemon_msg "Starting ${NAME}"
+ #set -x
+ start-stop-daemon --background --start --group ${GROUP} --chuid ${USER} --chdir ${DPATH} --pidfile ${PID} -m --exec ${DAEMON} -- ${ARGUMENTS}
+ #set +x
+ if ps -p $(cat $PID 2> /dev/null) > /dev/null 2>&1; then
+ log_end_msg 0
+ else
+ log_end_msg 1
+ fi
+}
+
+stop_isidorus () {
+ log_daemon_msg "Stoping ${NAME}"
+
+ . ${DPATH}/shell_scripts/shutdown-isidorus.sh
+ if [ $? -eq 0 ]; then
+ log_end_msg 0
+ else
+ log_end_msg 1
+ fi
+}
+
+
+case "$1" in
+ start)
+ start_isidorus
+ ;;
+
+ stop)
+ stop_isidorus
+ ;;
+
+ restart)
+ stop_isidorus
+ sleep 5
+ start_isidorus
+ ;;
+
+ status)
+ echo TODO
+ ;;
+
+ *)
+ echo "Usage: $0 {start|stop|restart|status}" >&2
+ exit 1
+ ;;
+esac;
Added: trunk/src/shell_scripts/startIsidorus.lisp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/src/shell_scripts/startIsidorus.lisp Wed Jul 20 07:32:13 2011 (r651)
@@ -0,0 +1,10 @@
+(setf sb-impl::*default-external-format* :utf-8)
+(asdf:operate 'asdf:load-op 'isidorus)
+;;(xtm-importer:import-from-xtm "/home/servreg/.sbcl/site/isidorus/src/unit_tests/textgrid_07.15.2011.xtm" "data_base" :tm-id "http::/isidor.us/tm-1")
+(setf rest-interface:*local-backup-remote-address* "143.93.190.247")
+(setf rest-interface:*remote-backup-remote-address* "143.93.190.247")
+(setf rest-interface:*shutdown-remote-address* "127.0.0.1")
+(rest-interface:start-json-engine "/home/servreg/data_base" :host-name "143.93.190.176" :port 9999)
+(rest-interface:start-admin-server)
+(rest-interface:die-when-finished)
+
1
0
Author: lgiessmann
Date: Wed Jul 20 06:36:04 2011
New Revision: 650
Log:
trunk: changed the configuration of the admin interface => is is possible to set the remote address of each admin handler
Modified:
trunk/src/rest_interface/admin-interface.lisp
trunk/src/rest_interface/rest-interface.lisp
Modified: trunk/src/rest_interface/admin-interface.lisp
==============================================================================
--- trunk/src/rest_interface/admin-interface.lisp Wed Jul 20 06:08:04 2011 (r649)
+++ trunk/src/rest_interface/admin-interface.lisp Wed Jul 20 06:36:04 2011 (r650)
@@ -33,7 +33,7 @@
(defun admin-shutdown()
(handler-case
- (if (string= *admin-remote-name* (hunchentoot:remote-addr*))
+ (if (string= *shutdown-remote-address* (hunchentoot:remote-addr*))
(progn
(when elephant:*store-controller*
(xtm-exporter:export-as-xtm
@@ -58,7 +58,7 @@
(defun admin-local-backup()
(handler-case
- (if (string= *admin-remote-name* (hunchentoot:remote-addr*))
+ (if (string= *local-backup-remote-address* (hunchentoot:remote-addr*))
(let ((destination-path
(hunchentoot:url-decode (hunchentoot:get-parameter "path"))))
(xtm-exporter:export-as-xtm destination-path :revision 0))
@@ -72,7 +72,7 @@
(defun admin-remote-backup()
(handler-case
- (if (string= *admin-remote-name* (hunchentoot:remote-addr*))
+ (if (string= *remote-backup-remote-address* (hunchentoot:remote-addr*))
(progn (hunchentoot:url-decode (hunchentoot:get-parameter "path"))
(setf (hunchentoot:content-type*) "application/xml")
(xtm-exporter:export-as-xtm-string :revision 0))
Modified: trunk/src/rest_interface/rest-interface.lisp
==============================================================================
--- trunk/src/rest_interface/rest-interface.lisp Wed Jul 20 06:08:04 2011 (r649)
+++ trunk/src/rest_interface/rest-interface.lisp Wed Jul 20 06:36:04 2011 (r650)
@@ -39,7 +39,9 @@
:shutdown-admin-server
:*admin-host-name*
:*admin-port*
- :*admin-remote-name*
+ :*remote-backup-remote-address*
+ :*local-backup-remote-address*
+ :*shutdown-remote-address*
:*json-get-prefix*
:*get-rdf-prefix*
:*json-commit-url*
@@ -83,7 +85,9 @@
(defvar *admin-server-acceptor* nil)
(defvar *admin-host-name* "127.0.0.1")
(defvar *admin-port* 11008)
-(defvar *admin-remote-name* "127.0.0.1")
+(defvar *remote-backup-remote-address* "127.0.0.1")
+(defvar *local-backup-remote-address* "127.0.0.1")
+(defvar *shutdown-remote-address* "127.0.0.1")
(defun start-admin-server ()
1
0
Author: lgiessmann
Date: Wed Jul 20 06:08:04 2011
New Revision: 649
Log:
trunk: the default address of the administrator can be set with the viriable rest-interface:*admin-remote-name* for usage in the RESTful admin handlers
Modified:
trunk/src/rest_interface/admin-interface.lisp
Modified: trunk/src/rest_interface/admin-interface.lisp
==============================================================================
--- trunk/src/rest_interface/admin-interface.lisp Tue Jul 19 08:15:01 2011 (r648)
+++ trunk/src/rest_interface/admin-interface.lisp Wed Jul 20 06:08:04 2011 (r649)
@@ -58,7 +58,7 @@
(defun admin-local-backup()
(handler-case
- (if (string= "127.0.0.1" (hunchentoot:remote-addr*))
+ (if (string= *admin-remote-name* (hunchentoot:remote-addr*))
(let ((destination-path
(hunchentoot:url-decode (hunchentoot:get-parameter "path"))))
(xtm-exporter:export-as-xtm destination-path :revision 0))
@@ -72,7 +72,7 @@
(defun admin-remote-backup()
(handler-case
- (if (string= "127.0.0.1" (hunchentoot:remote-addr*))
+ (if (string= *admin-remote-name* (hunchentoot:remote-addr*))
(progn (hunchentoot:url-decode (hunchentoot:get-parameter "path"))
(setf (hunchentoot:content-type*) "application/xml")
(xtm-exporter:export-as-xtm-string :revision 0))
1
0
Author: lgiessmann
Date: Tue Jul 19 08:15:01 2011
New Revision: 648
Log:
trung added the current xtm dump of the textgrid service registry for performing unit-tests
Added:
trunk/src/unit_tests/textgrid_07.15.2011.xtm
Added: trunk/src/unit_tests/textgrid_07.15.2011.xtm
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/src/unit_tests/textgrid_07.15.2011.xtm Tue Jul 19 08:15:01 2011 (r648)
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<t:topicMap xmlns:t="http://www.topicmaps.org/xtm/" version="2.0"><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t6593"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t6635"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t6514"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t6556"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t6435"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t6477"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t6249"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t6291"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t6170"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t6212"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t6091"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t6133"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t6012"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t6054"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t5933"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t5975"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t5817"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t5859"/></t:role></t:association><t:association><t:type><t:topicRef href="#t592"/></t:type><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t4867"/></t:role><t:role><t:type><t:topicRef href="#t598"/></t:type><t:topicRef href="#t5172"/></t:role></t:association><t:association><t:type><t:topicRef href="#t592"/></t:type><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t4822"/></t:role><t:role><t:type><t:topicRef href="#t598"/></t:type><t:topicRef href="#t5115"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t4500"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t5047"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t4466"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t5002"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t4432"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t4957"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t4398"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t4912"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t4364"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t4867"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t4330"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t4822"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t4296"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t4777"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t4262"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t4732"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t4228"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t4687"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t4194"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t4642"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t4160"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t4597"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t4126"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t4552"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t1390"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t1384"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t1378"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t1372"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t1360"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t1366"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t1348"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t1354"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t1336"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t1342"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t1324"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t1330"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t1312"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t1318"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t1300"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t1306"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t1288"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t1294"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t1276"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t1282"/></t:role></t:association><t:association><t:type><t:topicRef href="#t592"/></t:type><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t1264"/></t:role><t:role><t:type><t:topicRef href="#t598"/></t:type><t:topicRef href="#t1270"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t1258"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t1264"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t1246"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t1252"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t1234"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t1240"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t1222"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t1228"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t1210"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t1216"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t1198"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t1204"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t1186"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t1192"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t1174"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t1180"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t1162"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t1168"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t1150"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t1156"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t1138"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t1144"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t1126"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t1132"/></t:role></t:association><t:association><t:type><t:topicRef href="#t592"/></t:type><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t1114"/></t:role><t:role><t:type><t:topicRef href="#t598"/></t:type><t:topicRef href="#t1120"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t1108"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t1114"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t1096"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t1102"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t1084"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t1090"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t1072"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t1078"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t1060"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t1066"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t1048"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t1054"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t1036"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t1042"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t1024"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t1030"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t1012"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t1018"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t1000"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t1006"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t988"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t994"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t976"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t982"/></t:role></t:association><t:association><t:type><t:topicRef href="#t592"/></t:type><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t964"/></t:role><t:role><t:type><t:topicRef href="#t598"/></t:type><t:topicRef href="#t970"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t958"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t964"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t946"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t952"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t934"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t940"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t922"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t928"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t736"/></t:role><t:role><t:type><t:topicRef href="#t268"/></t:type><t:topicRef href="#t550"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t736"/></t:role><t:role><t:type><t:topicRef href="#t262"/></t:type><t:topicRef href="#t598"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t736"/></t:role><t:role><t:type><t:topicRef href="#t238"/></t:type><t:topicRef href="#t538"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t736"/></t:role><t:role><t:type><t:topicRef href="#t256"/></t:type><t:topicRef href="#t586"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t736"/></t:role><t:role><t:type><t:topicRef href="#t250"/></t:type><t:topicRef href="#t592"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t730"/></t:role><t:role><t:type><t:topicRef href="#t256"/></t:type><t:topicRef href="#t586"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t730"/></t:role><t:role><t:type><t:topicRef href="#t250"/></t:type><t:topicRef href="#t592"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t730"/></t:role><t:role><t:type><t:topicRef href="#t238"/></t:type><t:topicRef href="#t538"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t724"/></t:role><t:role><t:type><t:topicRef href="#t256"/></t:type><t:topicRef href="#t586"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t724"/></t:role><t:role><t:type><t:topicRef href="#t250"/></t:type><t:topicRef href="#t592"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t718"/></t:role><t:role><t:type><t:topicRef href="#t268"/></t:type><t:topicRef href="#t538"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t718"/></t:role><t:role><t:type><t:topicRef href="#t262"/></t:type><t:topicRef href="#t586"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t718"/></t:role><t:role><t:type><t:topicRef href="#t238"/></t:type><t:topicRef href="#t502"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t718"/></t:role><t:role><t:type><t:topicRef href="#t256"/></t:type><t:topicRef href="#t580"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t718"/></t:role><t:role><t:type><t:topicRef href="#t250"/></t:type><t:topicRef href="#t574"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t712"/></t:role><t:role><t:type><t:topicRef href="#t256"/></t:type><t:topicRef href="#t580"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t712"/></t:role><t:role><t:type><t:topicRef href="#t250"/></t:type><t:topicRef href="#t574"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t712"/></t:role><t:role><t:type><t:topicRef href="#t238"/></t:type><t:topicRef href="#t502"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t706"/></t:role><t:role><t:type><t:topicRef href="#t256"/></t:type><t:topicRef href="#t580"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t706"/></t:role><t:role><t:type><t:topicRef href="#t250"/></t:type><t:topicRef href="#t574"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t700"/></t:role><t:role><t:type><t:topicRef href="#t244"/></t:type><t:topicRef href="#t568"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t694"/></t:role><t:role><t:type><t:topicRef href="#t244"/></t:type><t:topicRef href="#t568"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t694"/></t:role><t:role><t:type><t:topicRef href="#t238"/></t:type><t:topicRef href="#t550"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t688"/></t:role><t:role><t:type><t:topicRef href="#t238"/></t:type><t:topicRef href="#t550"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t688"/></t:role><t:role><t:type><t:topicRef href="#t244"/></t:type><t:topicRef href="#t562"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t682"/></t:role><t:role><t:type><t:topicRef href="#t238"/></t:type><t:topicRef href="#t538"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t682"/></t:role><t:role><t:type><t:topicRef href="#t244"/></t:type><t:topicRef href="#t544"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t676"/></t:role><t:role><t:type><t:topicRef href="#t238"/></t:type><t:topicRef href="#t502"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t676"/></t:role><t:role><t:type><t:topicRef href="#t244"/></t:type><t:topicRef href="#t526"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t670"/></t:role><t:role><t:type><t:topicRef href="#t238"/></t:type><t:topicRef href="#t538"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t670"/></t:role><t:role><t:type><t:topicRef href="#t244"/></t:type><t:topicRef href="#t520"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t664"/></t:role><t:role><t:type><t:topicRef href="#t244"/></t:type><t:topicRef href="#t544"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t658"/></t:role><t:role><t:type><t:topicRef href="#t244"/></t:type><t:topicRef href="#t532"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t658"/></t:role><t:role><t:type><t:topicRef href="#t244"/></t:type><t:topicRef href="#t562"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t658"/></t:role><t:role><t:type><t:topicRef href="#t244"/></t:type><t:topicRef href="#t526"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t658"/></t:role><t:role><t:type><t:topicRef href="#t244"/></t:type><t:topicRef href="#t520"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t658"/></t:role><t:role><t:type><t:topicRef href="#t244"/></t:type><t:topicRef href="#t514"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t652"/></t:role><t:role><t:type><t:topicRef href="#t238"/></t:type><t:topicRef href="#t550"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t652"/></t:role><t:role><t:type><t:topicRef href="#t238"/></t:type><t:topicRef href="#t502"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t652"/></t:role><t:role><t:type><t:topicRef href="#t244"/></t:type><t:topicRef href="#t514"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t646"/></t:role><t:role><t:type><t:topicRef href="#t238"/></t:type><t:topicRef href="#t502"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t646"/></t:role><t:role><t:type><t:topicRef href="#t244"/></t:type><t:topicRef href="#t532"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t640"/></t:role><t:role><t:type><t:topicRef href="#t274"/></t:type><t:topicRef href="#t556"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t640"/></t:role><t:role><t:type><t:topicRef href="#t238"/></t:type><t:topicRef href="#t550"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t634"/></t:role><t:role><t:type><t:topicRef href="#t274"/></t:type><t:topicRef href="#t508"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t634"/></t:role><t:role><t:type><t:topicRef href="#t238"/></t:type><t:topicRef href="#t502"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t628"/></t:role><t:role><t:type><t:topicRef href="#t238"/></t:type><t:topicRef href="#t550"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t628"/></t:role><t:role><t:type><t:topicRef href="#t238"/></t:type><t:topicRef href="#t538"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t628"/></t:role><t:role><t:type><t:topicRef href="#t238"/></t:type><t:topicRef href="#t502"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t622"/></t:role><t:role><t:type><t:topicRef href="#t238"/></t:type><t:topicRef href="#t550"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t616"/></t:role><t:role><t:type><t:topicRef href="#t238"/></t:type><t:topicRef href="#t538"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t610"/></t:role><t:role><t:type><t:topicRef href="#t238"/></t:type><t:topicRef href="#t502"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t604"/></t:role><t:role><t:type><t:topicRef href="#t238"/></t:type><t:topicRef href="#t514"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t604"/></t:role><t:role><t:type><t:topicRef href="#t238"/></t:type><t:topicRef href="#t538"/></t:role></t:association><t:association><t:type><t:topicRef href="#t304"/></t:type><t:role><t:type><t:topicRef href="#t286"/></t:type><t:topicRef href="#t604"/></t:role><t:role><t:type><t:topicRef href="#t238"/></t:type><t:topicRef href="#t502"/></t:role></t:association><t:association><t:type><t:topicRef href="#t334"/></t:type><t:role><t:type><t:topicRef href="#t346"/></t:type><t:topicRef href="#t466"/></t:role><t:role><t:type><t:topicRef href="#t340"/></t:type><t:topicRef href="#t292"/></t:role></t:association><t:association><t:type><t:topicRef href="#t334"/></t:type><t:role><t:type><t:topicRef href="#t346"/></t:type><t:topicRef href="#t460"/></t:role><t:role><t:type><t:topicRef href="#t340"/></t:type><t:topicRef href="#t292"/></t:role></t:association><t:association><t:type><t:topicRef href="#t334"/></t:type><t:role><t:type><t:topicRef href="#t346"/></t:type><t:topicRef href="#t454"/></t:role><t:role><t:type><t:topicRef href="#t340"/></t:type><t:topicRef href="#t292"/></t:role></t:association><t:association><t:type><t:topicRef href="#t334"/></t:type><t:role><t:type><t:topicRef href="#t346"/></t:type><t:topicRef href="#t448"/></t:role><t:role><t:type><t:topicRef href="#t340"/></t:type><t:topicRef href="#t292"/></t:role></t:association><t:association><t:type><t:topicRef href="#t334"/></t:type><t:role><t:type><t:topicRef href="#t346"/></t:type><t:topicRef href="#t442"/></t:role><t:role><t:type><t:topicRef href="#t340"/></t:type><t:topicRef href="#t292"/></t:role></t:association><t:association><t:type><t:topicRef href="#t334"/></t:type><t:role><t:type><t:topicRef href="#t346"/></t:type><t:topicRef href="#t436"/></t:role><t:role><t:type><t:topicRef href="#t340"/></t:type><t:topicRef href="#t292"/></t:role></t:association><t:association><t:type><t:topicRef href="#t334"/></t:type><t:role><t:type><t:topicRef href="#t346"/></t:type><t:topicRef href="#t430"/></t:role><t:role><t:type><t:topicRef href="#t340"/></t:type><t:topicRef href="#t292"/></t:role></t:association><t:association><t:type><t:topicRef href="#t334"/></t:type><t:role><t:type><t:topicRef href="#t346"/></t:type><t:topicRef href="#t424"/></t:role><t:role><t:type><t:topicRef href="#t340"/></t:type><t:topicRef href="#t292"/></t:role></t:association><t:association><t:type><t:topicRef href="#t334"/></t:type><t:role><t:type><t:topicRef href="#t346"/></t:type><t:topicRef href="#t418"/></t:role><t:role><t:type><t:topicRef href="#t340"/></t:type><t:topicRef href="#t292"/></t:role></t:association><t:association><t:type><t:topicRef href="#t334"/></t:type><t:role><t:type><t:topicRef href="#t346"/></t:type><t:topicRef href="#t412"/></t:role><t:role><t:type><t:topicRef href="#t340"/></t:type><t:topicRef href="#t292"/></t:role></t:association><t:association><t:type><t:topicRef href="#t334"/></t:type><t:role><t:type><t:topicRef href="#t346"/></t:type><t:topicRef href="#t406"/></t:role><t:role><t:type><t:topicRef href="#t340"/></t:type><t:topicRef href="#t292"/></t:role></t:association><t:association><t:type><t:topicRef href="#t334"/></t:type><t:role><t:type><t:topicRef href="#t346"/></t:type><t:topicRef href="#t400"/></t:role><t:role><t:type><t:topicRef href="#t340"/></t:type><t:topicRef href="#t292"/></t:role></t:association><t:association><t:type><t:topicRef href="#t334"/></t:type><t:role><t:type><t:topicRef href="#t346"/></t:type><t:topicRef href="#t394"/></t:role><t:role><t:type><t:topicRef href="#t340"/></t:type><t:topicRef href="#t292"/></t:role></t:association><t:association><t:type><t:topicRef href="#t334"/></t:type><t:role><t:type><t:topicRef href="#t346"/></t:type><t:topicRef href="#t388"/></t:role><t:role><t:type><t:topicRef href="#t340"/></t:type><t:topicRef href="#t292"/></t:role></t:association><t:association><t:type><t:topicRef href="#t334"/></t:type><t:role><t:type><t:topicRef href="#t346"/></t:type><t:topicRef href="#t382"/></t:role><t:role><t:type><t:topicRef href="#t340"/></t:type><t:topicRef href="#t292"/></t:role></t:association><t:association><t:type><t:topicRef href="#t334"/></t:type><t:role><t:type><t:topicRef href="#t346"/></t:type><t:topicRef href="#t376"/></t:role><t:role><t:type><t:topicRef href="#t340"/></t:type><t:topicRef href="#t292"/></t:role></t:association><t:association><t:type><t:topicRef href="#t334"/></t:type><t:role><t:type><t:topicRef href="#t346"/></t:type><t:topicRef href="#t370"/></t:role><t:role><t:type><t:topicRef href="#t340"/></t:type><t:topicRef href="#t292"/></t:role></t:association><t:association><t:type><t:topicRef href="#t334"/></t:type><t:role><t:type><t:topicRef href="#t346"/></t:type><t:topicRef href="#t364"/></t:role><t:role><t:type><t:topicRef href="#t340"/></t:type><t:topicRef href="#t292"/></t:role></t:association><t:association><t:type><t:topicRef href="#t334"/></t:type><t:role><t:type><t:topicRef href="#t346"/></t:type><t:topicRef href="#t358"/></t:role><t:role><t:type><t:topicRef href="#t340"/></t:type><t:topicRef href="#t292"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t910"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t916"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t898"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t904"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t880"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t886"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t868"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t874"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t856"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t862"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t844"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t850"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t826"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t832"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t814"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t820"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t802"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t808"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t790"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t796"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t778"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t784"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t766"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t772"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t754"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t760"/></t:role></t:association><t:association><t:type><t:topicRef href="#t574"/></t:type><t:role><t:type><t:topicRef href="#t580"/></t:type><t:topicRef href="#t742"/></t:role><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t748"/></t:role></t:association><t:association><t:type><t:topicRef href="#t592"/></t:type><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t886"/></t:role><t:role><t:type><t:topicRef href="#t598"/></t:type><t:topicRef href="#t892"/></t:role></t:association><t:association><t:type><t:topicRef href="#t592"/></t:type><t:role><t:type><t:topicRef href="#t586"/></t:type><t:topicRef href="#t832"/></t:role><t:role><t:type><t:topicRef href="#t598"/></t:type><t:topicRef href="#t838"/></t:role></t:association><t:topic id="t6635"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/newmeta/DefaultMetadataTransformSty…"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">textgrid:2f7r</t:resourceData></t:occurrence></t:topic><t:topic id="t6593"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/newmeta/DefaultMetadataTransformStylesh…"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>DefaultMetadataTransformStylesheetTextGridURI</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">newmeta</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">DefaultMetadataTransformStylesheetTextGridURI</t:resourceData></t:occurrence></t:topic><t:topic id="t6556"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/newmeta/tgsearch-public"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://textgrid-ws3.sub.uni-goettingen.de/tgsearch-public</t:resourceData></t:occurrence></t:topic><t:topic id="t6514"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/newmeta/tgsearch-public"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>tgsearch-public</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">newmeta</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">tgsearch-public</t:resourceData></t:occurrence></t:topic><t:topic id="t6477"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/newmeta/StreamingEditor"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://134.76.20.86:9090/sedit.xslt/StreamingEditor?wsdl</t:resourceData></t:occurrence></t:topic><t:topic id="t6435"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/newmeta/StreamingEditor"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>StreamingEditor</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">newmeta</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">StreamingEditor</t:resourceData></t:occurrence></t:topic><t:topic id="t6291"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/1.0/last-api-change"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">2011-02-15</t:resourceData></t:occurrence></t:topic><t:topic id="t6249"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/1.0/last-api-change"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>last-api-change</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">1.0</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">last-api-change</t:resourceData></t:occurrence></t:topic><t:topic id="t6212"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/1.0/CopyWorkflowTextGridURI"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">textgrid:h4kg</t:resourceData></t:occurrence></t:topic><t:topic id="t6170"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/1.0/CopyWorkflowTextGridURI"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>CopyWorkflowTextGridURI</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">1.0</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">CopyWorkflowTextGridURI</t:resourceData></t:occurrence></t:topic><t:topic id="t6133"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/newmeta/CopyWorkflowTextGridURI"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">textgrid:f8f5</t:resourceData></t:occurrence></t:topic><t:topic id="t6091"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/newmeta/CopyWorkflowTextGridURI"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>CopyWorkflowTextGridURI</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">newmeta</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">CopyWorkflowTextGridURI</t:resourceData></t:occurrence></t:topic><t:topic id="t6054"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/newmeta/PasswordReset"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">https://textgrid-ws3.sub.uni-goettingen.de/cgi-bin/pwReset.pl</t:resourceData></t:occurrence></t:topic><t:topic id="t6012"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/newmeta/PasswordReset"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>PasswordReset</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">newmeta</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">PasswordReset</t:resourceData></t:occurrence></t:topic><t:topic id="t5975"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/newmeta/tgpublish"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://textgrid-ws3.sub.uni-goettingen.de/tgpublish</t:resourceData></t:occurrence></t:topic><t:topic id="t5933"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/newmeta/tgpublish"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>tgpublish</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">newmeta</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">tgpublish</t:resourceData></t:occurrence></t:topic><t:topic id="t5859"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/newmeta/ApprovedServicesTextGridURI"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">textgrid:2f7s</t:resourceData></t:occurrence></t:topic><t:topic id="t5817"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/newmeta/ApprovedServicesTextGridURI"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>ApprovedServicesTextGridURI</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">newmeta</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">ApprovedServicesTextGridURI</t:resourceData></t:occurrence></t:topic><t:topic id="t5172"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/parameter/1.0/authz"/><t:instanceOf><t:topicRef href="#t550"/></t:instanceOf><t:name><t:type><t:topicRef href="#t556"/></t:type><t:value>authZinstance</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t568"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#boolean">true</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t562"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">textgrid-ws3.sub.uni-goettingen.de</t:resourceData></t:occurrence></t:topic><t:topic id="t5115"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/parameter/1.0/userdata"/><t:instanceOf><t:topicRef href="#t550"/></t:instanceOf><t:name><t:type><t:topicRef href="#t556"/></t:type><t:value>authZinstance</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t568"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#boolean">true</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t562"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">textgrid-ws3.sub.uni-goettingen.de</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t514"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string"></t:resourceData></t:occurrence></t:topic><t:topic id="t5047"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/1.0/logservice"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://textgridlab.org/1.0/tglog/service</t:resourceData></t:occurrence></t:topic><t:topic id="t5002"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/1.0/StreamingEditor"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">https://textgridlab.org/1.0/sedit.xslt/StreamingEditor?wsdl</t:resourceData></t:occurrence></t:topic><t:topic id="t4957"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/1.0/tgsearch-public"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">https://textgridlab.org/1.0/tgsearch-public</t:resourceData></t:occurrence></t:topic><t:topic id="t4912"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/1.0/tgsearch"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">https://textgridlab.org/1.0/tgsearch</t:resourceData></t:occurrence></t:topic><t:topic id="t4867"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/1.0/authz"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">https://textgridlab.org/1.0/WebAuthN/WebAuthN2.php</t:resourceData></t:occurrence></t:topic><t:topic id="t4822"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/1.0/userdata"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">https://textgridlab.org/1.0/WebAuthN/TextGrid-WebAuth.php</t:resourceData></t:occurrence></t:topic><t:topic id="t4777"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/1.0/pwchange"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">https://textgridlab.org/1.0/PWchange/index.php</t:resourceData></t:occurrence></t:topic><t:topic id="t4732"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/1.0/workflow"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">https://textgridlab.org/1.0/workflow/GWESproxy.wsdl</t:resourceData></t:occurrence></t:topic><t:topic id="t4687"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/1.0/tgauth"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">https://textgridlab.org/1.0/tgauth/tgextra.php</t:resourceData></t:occurrence></t:topic><t:topic id="t4642"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/1.0/PasswordReset"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">https://textgridlab.org/1.0/pwReset.pl</t:resourceData></t:occurrence></t:topic><t:topic id="t4597"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/1.0/tgcrud"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">https://textgridlab.org/1.0/tgcrud/TGCrudService</t:resourceData></t:occurrence></t:topic><t:topic id="t4552"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/1.0/tgpublish"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">https://textgridlab.org/1.0/tgpublish</t:resourceData></t:occurrence></t:topic><t:topic id="t4500"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/1.0/logservice"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>logservice</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">1.0</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">logservice</t:resourceData></t:occurrence></t:topic><t:topic id="t4466"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/1.0/StreamingEditor"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>StreamingEditor</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">1.0</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">StreamingEditor</t:resourceData></t:occurrence></t:topic><t:topic id="t4432"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/1.0/tgsearch-public"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>tgsearch-public</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">1.0</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">tgsearch-public</t:resourceData></t:occurrence></t:topic><t:topic id="t4398"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/1.0/tgsearch"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>tgsearch</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">1.0</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">tgsearch</t:resourceData></t:occurrence></t:topic><t:topic id="t4364"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/1.0/authz"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>authz</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">1.0</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">authz</t:resourceData></t:occurrence></t:topic><t:topic id="t4330"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/1.0/userdata"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>userdata</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">1.0</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">userdata</t:resourceData></t:occurrence></t:topic><t:topic id="t4296"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/1.0/pwchange"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>pwchange</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">1.0</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">pwchange</t:resourceData></t:occurrence></t:topic><t:topic id="t4262"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/1.0/workflow"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>workflow</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">1.0</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">workflow</t:resourceData></t:occurrence></t:topic><t:topic id="t4228"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/1.0/tgauth"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>tgauth</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">1.0</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">tgauth</t:resourceData></t:occurrence></t:topic><t:topic id="t4194"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/1.0/PasswordReset"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>PasswordReset</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">1.0</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">PasswordReset</t:resourceData></t:occurrence></t:topic><t:topic id="t4160"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/1.0/tgcrud"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>tgcrud</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">1.0</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">tgcrud</t:resourceData></t:occurrence></t:topic><t:topic id="t4126"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/1.0/tgpublish"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>tgpublish</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">1.0</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">tgpublish</t:resourceData></t:occurrence></t:topic><t:topic id="t1390"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/production/pwchange"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>pwchange</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">production</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">pwchange</t:resourceData></t:occurrence></t:topic><t:topic id="t1384"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/production/pwchange"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">https://textgridlab.org/PWchange/index.php</t:resourceData></t:occurrence></t:topic><t:topic id="t1378"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/testing/pwchange"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>pwchange</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">testing</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">pwchange</t:resourceData></t:occurrence></t:topic><t:topic id="t1372"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/testing/pwchange"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://textgrid-ws3.sub.uni-goettingen.de/PWchange/index.php</t:resourceData></t:occurrence></t:topic><t:topic id="t1366"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/development/webpublish"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://textgrid-ws2.gwdg.de/teiPublisher/1/publish</t:resourceData></t:occurrence></t:topic><t:topic id="t1360"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/development/webpublish"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>webpublish-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">development</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">webpublish</t:resourceData></t:occurrence></t:topic><t:topic id="t1354"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/development/last-api-change"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">2009-01-21</t:resourceData></t:occurrence></t:topic><t:topic id="t1348"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/development/last-api-change"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>last-api-change-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">development</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">last-api-change</t:resourceData></t:occurrence></t:topic><t:topic id="t1342"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/development/rdf-repository"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://ingrid.sub.uni-goettingen.de:8082/openrdf-sesame/repositories/textgr…</t:resourceData></t:occurrence></t:topic><t:topic id="t1336"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/development/rdf-repository"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>rdf-repository-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">development</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">rdf-repository</t:resourceData></t:occurrence></t:topic><t:topic id="t1330"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/development/exist"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://ingrid.sub.uni-goettingen.de:8082/exist/services/Query</t:resourceData></t:occurrence></t:topic><t:topic id="t1324"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/development/exist"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>exist-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">development</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">exist</t:resourceData></t:occurrence></t:topic><t:topic id="t1318"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/development/logservice"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://ingrid.sub.uni-goettingen.de:8082/axis2/services/textlog</t:resourceData></t:occurrence></t:topic><t:topic id="t1312"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/development/logservice"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>logservice-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">development</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">logservice</t:resourceData></t:occurrence></t:topic><t:topic id="t1306"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/development/tgcrud"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://ingrid.sub.uni-goettingen.de:8082/axis2/services/TGCrudService</t:resourceData></t:occurrence></t:topic><t:topic id="t1300"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/development/tgcrud"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>tgcrud-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">development</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">tgcrud</t:resourceData></t:occurrence></t:topic><t:topic id="t1294"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/development/tgsearch"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://ingrid.sub.uni-goettingen.de:8082/axis2/services/Metadata</t:resourceData></t:occurrence></t:topic><t:topic id="t1288"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/development/tgsearch"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>tgsearch-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">development</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">tgsearch</t:resourceData></t:occurrence></t:topic><t:topic id="t1282"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/development/tgauth"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://ingrid.sub.uni-goettingen.de/rbac-8082/tgextra.php</t:resourceData></t:occurrence></t:topic><t:topic id="t1276"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/development/tgauth"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>tgauth-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">development</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">tgauth</t:resourceData></t:occurrence></t:topic><t:topic id="t1270"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/parameter/development/authZinstance"/><t:instanceOf><t:topicRef href="#t550"/></t:instanceOf><t:name><t:type><t:topicRef href="#t556"/></t:type><t:value>authZinstance</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t562"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">ingrid-8082</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t568"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#boolean">true</t:resourceData></t:occurrence></t:topic><t:topic id="t1264"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/development/authz"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">https://textgridlab.org/WebAuthN/WebAuthN.php</t:resourceData></t:occurrence></t:topic><t:topic id="t1258"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/development/authz"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>authz-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">development</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">authz</t:resourceData></t:occurrence></t:topic><t:topic id="t1252"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/development/workflow"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://ingrid.sub.uni-goettingen.de:8083/gwes/services/GWES</t:resourceData></t:occurrence></t:topic><t:topic id="t1246"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/development/workflow"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>workflow-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">development</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">workflow</t:resourceData></t:occurrence></t:topic><t:topic id="t1240"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/development/ns"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://textgrid.info/namespaces/metadata/core/2008-07-24</t:resourceData></t:occurrence></t:topic><t:topic id="t1234"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/development/ns"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>ns-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">development</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">ns</t:resourceData></t:occurrence></t:topic><t:topic id="t1228"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/development/schema"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">www.textgrid.info/schemas/textgrid-metadata_2008-07-24.xsd</t:resourceData></t:occurrence></t:topic><t:topic id="t1222"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/development/schema"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>schema-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">development</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">schema</t:resourceData></t:occurrence></t:topic><t:topic id="t1216"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/testing/webpublish"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://textgrid-ws2.gwdg.de/teiPublisher/0/publish</t:resourceData></t:occurrence></t:topic><t:topic id="t1210"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/testing/webpublish"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>webpublish-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">testing</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">webpublish</t:resourceData></t:occurrence></t:topic><t:topic id="t1204"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/testing/last-api-change"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">2009-01-21</t:resourceData></t:occurrence></t:topic><t:topic id="t1198"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/testing/last-api-change"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>last-api-change-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">testing</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">last-api-change</t:resourceData></t:occurrence></t:topic><t:topic id="t1192"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/testing/rdf-repository"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://ingrid.sub.uni-goettingen.de:8081/openrdf-sesame/repositories/textgr…</t:resourceData></t:occurrence></t:topic><t:topic id="t1186"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/testing/rdf-repository"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>rdf-repository-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">testing</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">rdf-repository</t:resourceData></t:occurrence></t:topic><t:topic id="t1180"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/testing/exist"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://ingrid.sub.uni-goettingen.de:8081/exist/services/Query</t:resourceData></t:occurrence></t:topic><t:topic id="t1174"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/testing/exist"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>exist-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">testing</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">exist</t:resourceData></t:occurrence></t:topic><t:topic id="t1168"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/testing/logservice"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://ingrid.sub.uni-goettingen.de:8081/logservice/textlog</t:resourceData></t:occurrence></t:topic><t:topic id="t1162"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/testing/logservice"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>logservice-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">testing</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">logservice</t:resourceData></t:occurrence></t:topic><t:topic id="t1156"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/testing/tgcrud"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://ingrid.sub.uni-goettingen.de:8081/axis2/services/TGCrudService</t:resourceData></t:occurrence></t:topic><t:topic id="t1150"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/testing/tgcrud"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>tgcrud-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">testing</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">tgcrud</t:resourceData></t:occurrence></t:topic><t:topic id="t1144"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/testing/tgsearch"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://ingrid.sub.uni-goettingen.de:8081/tgsearch/meta/</t:resourceData></t:occurrence></t:topic><t:topic id="t1138"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/testing/tgsearch"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>tgsearch-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">testing</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">tgsearch</t:resourceData></t:occurrence></t:topic><t:topic id="t1132"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/testing/tgauth"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://ingrid.sub.uni-goettingen.de/rbac-8081/tgextra.php</t:resourceData></t:occurrence></t:topic><t:topic id="t1126"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/testing/tgauth"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>tgauth-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">testing</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">tgauth</t:resourceData></t:occurrence></t:topic><t:topic id="t1120"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/parameter/testing/authZinstance"/><t:instanceOf><t:topicRef href="#t550"/></t:instanceOf><t:name><t:type><t:topicRef href="#t556"/></t:type><t:value>authZinstance</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t562"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">ingrid-8081</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t568"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#boolean">true</t:resourceData></t:occurrence></t:topic><t:topic id="t1114"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/testing/authz"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">https://textgridlab.org/WebAuthN/WebAuthN.php</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://textgrid-ws3.sub.uni-goettingen.de/WebAuthN/WebAuthN2.php</t:resourceData></t:occurrence></t:topic><t:topic id="t1108"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/testing/authz"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>authz-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">testing</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">authz</t:resourceData></t:occurrence></t:topic><t:topic id="t1102"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/testing/workflow"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://ingrid.sub.uni-goettingen.de:8083/gwes/services/GWES</t:resourceData></t:occurrence></t:topic><t:topic id="t1096"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/testing/workflow"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>workflow-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">testing</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">workflow</t:resourceData></t:occurrence></t:topic><t:topic id="t1090"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/testing/ns"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://textgrid.info/namespaces/metadata/core/2008-07-24</t:resourceData></t:occurrence></t:topic><t:topic id="t1084"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/testing/ns"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>ns-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">testing</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">ns</t:resourceData></t:occurrence></t:topic><t:topic id="t1078"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/testing/schema"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">www.textgrid.info/schemas/textgrid-metadata_2008-07-24.xsd</t:resourceData></t:occurrence></t:topic><t:topic id="t1072"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/testing/schema"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>schema-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">testing</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">schema</t:resourceData></t:occurrence></t:topic><t:topic id="t1066"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/production/webpublish"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://textgrid-ws2.gwdg.de/teiPublisher/2/publish</t:resourceData></t:occurrence></t:topic><t:topic id="t1060"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/production/webpublish"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>webpublish-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">production</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">webpublish</t:resourceData></t:occurrence></t:topic><t:topic id="t1054"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/production/last-api-change"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">2009-01-21</t:resourceData></t:occurrence></t:topic><t:topic id="t1048"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/production/last-api-change"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>last-api-change-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">production</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">last-api-change</t:resourceData></t:occurrence></t:topic><t:topic id="t1042"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/production/rdf-repository"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">https://textgridlab.org/openrdf-sesame/repositories/textgrid</t:resourceData></t:occurrence></t:topic><t:topic id="t1036"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/production/rdf-repository"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>rdf-repository-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">production</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">rdf-repository</t:resourceData></t:occurrence></t:topic><t:topic id="t1030"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/production/exist"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">https://textgridlab.org/exist/services/Query</t:resourceData></t:occurrence></t:topic><t:topic id="t1024"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/production/exist"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>exist-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">production</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">exist</t:resourceData></t:occurrence></t:topic><t:topic id="t1018"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/production/logservice"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">https://textgridlab.org/tglog/service</t:resourceData></t:occurrence></t:topic><t:topic id="t1012"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/production/logservice"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>logservice-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">production</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">logservice</t:resourceData></t:occurrence></t:topic><t:topic id="t1006"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/production/tgcrud"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">https://textgridlab.org/axis2/services/TGCrudService</t:resourceData></t:occurrence></t:topic><t:topic id="t1000"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/production/tgcrud"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>tgcrud-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">production</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">tgcrud</t:resourceData></t:occurrence></t:topic><t:topic id="t994"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/production/tgsearch"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">https://textgridlab.org/tgsearch/meta/</t:resourceData></t:occurrence></t:topic><t:topic id="t988"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/production/tgsearch"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>tgsearch-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">production</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">tgsearch</t:resourceData></t:occurrence></t:topic><t:topic id="t982"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/production/tgauth"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">https://textgridlab.org/tgauth/rbacSoap/tgextra.php</t:resourceData></t:occurrence></t:topic><t:topic id="t976"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/production/tgauth"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>tgauth-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">production</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">tgauth</t:resourceData></t:occurrence></t:topic><t:topic id="t970"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/parameter/production/authZinstance"/><t:instanceOf><t:topicRef href="#t550"/></t:instanceOf><t:name><t:type><t:topicRef href="#t556"/></t:type><t:value>authZinstance</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t562"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">textgridlab.org</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t568"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#boolean">true</t:resourceData></t:occurrence></t:topic><t:topic id="t964"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/production/authz"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">https://textgridlab.org/WebAuthN/WebAuthN.php</t:resourceData></t:occurrence></t:topic><t:topic id="t958"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/production/authz"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>authz-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">production</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">authz</t:resourceData></t:occurrence></t:topic><t:topic id="t952"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/production/workflow"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://ingrid.sub.uni-goettingen.de/gwes/services/GWES</t:resourceData></t:occurrence></t:topic><t:topic id="t946"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/production/workflow"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>workflow-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">production</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">workflow</t:resourceData></t:occurrence></t:topic><t:topic id="t940"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/production/ns"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://textgrid.info/namespaces/metadata/core/2008-07-24</t:resourceData></t:occurrence></t:topic><t:topic id="t934"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/production/ns"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>ns-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">production</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">ns</t:resourceData></t:occurrence></t:topic><t:topic id="t928"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/production/schema"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">www.textgrid.info/schemas/textgrid-metadata_2008-07-24.xsd</t:resourceData></t:occurrence></t:topic><t:topic id="t922"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/production/schema"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>schema-name</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">production</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">schema</t:resourceData></t:occurrence></t:topic><t:topic id="t916"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/newmeta/exist"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://textgrid-ws3.sub.uni-goettingen.de/exist/services/Query</t:resourceData></t:occurrence></t:topic><t:topic id="t910"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/newmeta/exist"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>exist</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">newmeta</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">exist</t:resourceData></t:occurrence></t:topic><t:topic id="t904"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/newmeta/tgcrud"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://textgrid-ws3.sub.uni-goettingen.de/tgcrud/TGCrudService</t:resourceData></t:occurrence></t:topic><t:topic id="t898"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/newmeta/tgcrud"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>tgcrud</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">newmeta</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">tgcrud</t:resourceData></t:occurrence></t:topic><t:topic id="t892"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/parameter/newmeta/authz"/><t:instanceOf><t:topicRef href="#t550"/></t:instanceOf><t:name><t:type><t:topicRef href="#t556"/></t:type><t:value>authZinstance</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t562"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">textgrid-ws3.sub.uni-goettingen.de</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t568"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#boolean">true</t:resourceData></t:occurrence></t:topic><t:topic id="t886"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/newmeta/authz"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://textgrid-ws3.sub.uni-goettingen.de/WebAuthN/WebAuthN2.php</t:resourceData></t:occurrence></t:topic><t:topic id="t880"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/newmeta/authz"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>authz</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">newmeta</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">authz</t:resourceData></t:occurrence></t:topic><t:topic id="t874"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/newmeta/logservice"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://textgrid-ws3.sub.uni-goettingen.de/tglog/service</t:resourceData></t:occurrence></t:topic><t:topic id="t868"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/newmeta/logservice"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>logservice</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">newmeta</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">logservice</t:resourceData></t:occurrence></t:topic><t:topic id="t862"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/newmeta/last-api-change"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">2011-02-15</t:resourceData></t:occurrence></t:topic><t:topic id="t856"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/newmeta/last-api-change"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>last-api-change</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">newmeta</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">last-api-change</t:resourceData></t:occurrence></t:topic><t:topic id="t850"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/newmeta/tgsearch"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://textgrid-ws3.sub.uni-goettingen.de/tgsearch</t:resourceData></t:occurrence></t:topic><t:topic id="t844"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/newmeta/tgsearch"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>tgsearch</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">newmeta</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">tgsearch</t:resourceData></t:occurrence></t:topic><t:topic id="t838"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/parameter/newmeta/userdata"/><t:instanceOf><t:topicRef href="#t550"/></t:instanceOf><t:name><t:type><t:topicRef href="#t556"/></t:type><t:value>authZinstance</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t562"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">textgrid-ws3.sub.uni-goettingen.de</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t568"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#boolean">true</t:resourceData></t:occurrence></t:topic><t:topic id="t832"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/newmeta/userdata"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://textgrid-ws3.sub.uni-goettingen.de/WebAuthN/TextGrid-WebAuth.php</t:resourceData></t:occurrence></t:topic><t:topic id="t826"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/newmeta/userdata"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>userdata</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">newmeta</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">userdata</t:resourceData></t:occurrence></t:topic><t:topic id="t820"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/newmeta/pwchange"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">https://textgridlab.org/PWchange/index.php</t:resourceData></t:occurrence></t:topic><t:topic id="t814"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/newmeta/pwchange"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>pwchange</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">newmeta</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">pwchange</t:resourceData></t:occurrence></t:topic><t:topic id="t808"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/newmeta/schema"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://www.textgrid.de/schemas/textgrid-metadata_2010.xsd</t:resourceData></t:occurrence></t:topic><t:topic id="t802"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/newmeta/schema"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>schema</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">newmeta</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">schema</t:resourceData></t:occurrence></t:topic><t:topic id="t796"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/newmeta/workflow"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://textgrid-ws3.sub.uni-goettingen.de/workflow/GWESproxy.wsdl</t:resourceData></t:occurrence></t:topic><t:topic id="t790"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/newmeta/workflow"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>workflow</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">newmeta</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">workflow</t:resourceData></t:occurrence></t:topic><t:topic id="t784"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/newmeta/tgauth"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">https://textgrid-ws3.sub.uni-goettingen.de/tgauth/tgextra.php</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://textgrid-ws3.sub.uni-goettingen.de/tgauth/tgextra.php</t:resourceData></t:occurrence></t:topic><t:topic id="t778"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/newmeta/tgauth"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>tgauth</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">newmeta</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">tgauth</t:resourceData></t:occurrence></t:topic><t:topic id="t772"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/newmeta/webpublish"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://textgrid-ws2.gwdg.de/teiPublisher/3/publish</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://textgrid-ws2.gwdg.de/teiPublish/0/publish</t:resourceData></t:occurrence></t:topic><t:topic id="t766"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/newmeta/webpublish"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>webpublish</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">newmeta</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">webpublish</t:resourceData></t:occurrence></t:topic><t:topic id="t760"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/newmeta/ns"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://textgrid.info/namespaces/metadata/core/2010</t:resourceData></t:occurrence></t:topic><t:topic id="t754"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/newmeta/ns"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>ns</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">newmeta</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">ns</t:resourceData></t:occurrence></t:topic><t:topic id="t748"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/url/newmeta/rdf-repository"/><t:instanceOf><t:topicRef href="#t538"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t544"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#anyUri">http://textgrid-ws3.sub.uni-goettingen.de/openrdf-sesame/repositories/textg…</t:resourceData></t:occurrence></t:topic><t:topic id="t742"><t:subjectIdentifier href="http://textgrid.org/serviceregistry/newmeta/rdf-repository"/><t:instanceOf><t:topicRef href="#t502"/></t:instanceOf><t:name><t:type><t:topicRef href="#t508"/></t:type><t:value>rdf-repository</t:value></t:name><t:occurrence><t:type><t:topicRef href="#t526"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">newmeta</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t532"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">rdf-repository</t:resourceData></t:occurrence></t:topic><t:topic id="t736"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/has-parameter-otherrole-constraint-for-url"/><t:instanceOf><t:topicRef href="#t448"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t310"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">1</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t316"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">1</t:resourceData></t:occurrence></t:topic><t:topic id="t730"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/url-role-player-constraint"/><t:instanceOf><t:topicRef href="#t442"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t310"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">1</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t316"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">1</t:resourceData></t:occurrence></t:topic><t:topic id="t724"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/url-role-constraint"/><t:instanceOf><t:topicRef href="#t436"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t310"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">1</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t316"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">1</t:resourceData></t:occurrence></t:topic><t:topic id="t718"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/has-url-otherrole-constraint-for-service"/><t:instanceOf><t:topicRef href="#t448"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t310"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">1</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t316"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">1</t:resourceData></t:occurrence></t:topic><t:topic id="t712"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/service-role-player-constraint"/><t:instanceOf><t:topicRef href="#t442"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t310"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">1</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t316"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">1</t:resourceData></t:occurrence></t:topic><t:topic id="t706"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/service-role-constraint"/><t:instanceOf><t:topicRef href="#t436"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t310"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">1</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t316"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">1</t:resourceData></t:occurrence></t:topic><t:topic id="t700"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/boolean-datatype-constraint"/><t:instanceOf><t:topicRef href="#t424"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t328"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">http://www.w3.org/2001/XMLSchema#boolean</t:resourceData></t:occurrence></t:topic><t:topic id="t694"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/paraeter-necessary-constraint"/><t:instanceOf><t:topicRef href="#t418"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t310"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">0</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t316"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">1</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t322"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">^(true)|(TRUE)|(false)|(FALSE)$</t:resourceData></t:occurrence></t:topic><t:topic id="t688"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/default-value-occurrence-constraint"/><t:instanceOf><t:topicRef href="#t418"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t310"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">0</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t316"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">1</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t322"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">.*</t:resourceData></t:occurrence></t:topic><t:topic id="t682"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/url-content-occurrence-constraint"/><t:instanceOf><t:topicRef href="#t418"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t310"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">1</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t316"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">1</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t322"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">^.+$</t:resourceData></t:occurrence></t:topic><t:topic id="t676"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/service-environment-occurrence-constraint"/><t:instanceOf><t:topicRef href="#t418"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t310"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">1</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t316"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">1</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t322"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">^.+$</t:resourceData></t:occurrence></t:topic><t:topic id="t670"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/service-type-occurrence-constraint"/><t:instanceOf><t:topicRef href="#t418"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t310"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">0</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t316"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">1</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t322"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">^.*$</t:resourceData></t:occurrence></t:topic><t:topic id="t664"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/anyUri-datatype-constraint"/><t:instanceOf><t:topicRef href="#t424"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t328"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">http://www.w3.org/2001/XMLSchema#anyUri</t:resourceData></t:occurrence></t:topic><t:topic id="t658"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/string-datatype-constraint"/><t:instanceOf><t:topicRef href="#t424"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t328"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">http://www.w3.org/2001/XMLSchema#string</t:resourceData></t:occurrence></t:topic><t:topic id="t652"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/description-occurrence-constraint"/><t:instanceOf><t:topicRef href="#t418"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t310"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">0</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t316"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">1</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t322"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">.*</t:resourceData></t:occurrence></t:topic><t:topic id="t646"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/service-key-occurrence-constraint"/><t:instanceOf><t:topicRef href="#t418"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t310"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">1</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t316"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">1</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t322"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">^.+$</t:resourceData></t:occurrence></t:topic><t:topic id="t640"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/parameter-name-constraint"/><t:instanceOf><t:topicRef href="#t412"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t310"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">1</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t316"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">1</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t322"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">^.+$</t:resourceData></t:occurrence></t:topic><t:topic id="t634"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/service-name-constraint"/><t:instanceOf><t:topicRef href="#t412"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t310"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">1</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t316"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">1</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t322"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">^.+$</t:resourceData></t:occurrence></t:topic><t:topic id="t628"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/slc-service-url-parameter"/><t:instanceOf><t:topicRef href="#t400"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t310"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">0</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t316"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">0</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t322"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">^.*$</t:resourceData></t:occurrence></t:topic><t:topic id="t622"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/sic-parameter"/><t:instanceOf><t:topicRef href="#t406"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t310"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">1</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t316"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">1</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t322"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">^http://textgrid.org/serviceregistry/parameter/.+$</t:resourceData></t:occurrence></t:topic><t:topic id="t616"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/sic-url"/><t:instanceOf><t:topicRef href="#t406"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t310"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">1</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t316"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">1</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t322"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">^http://textgrid.org/serviceregistry/url/.+$</t:resourceData></t:occurrence></t:topic><t:topic id="t610"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/sic-service"/><t:instanceOf><t:topicRef href="#t406"/></t:instanceOf><t:occurrence><t:type><t:topicRef href="#t310"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">1</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t316"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#unsignedInt">1</t:resourceData></t:occurrence><t:occurrence><t:type><t:topicRef href="#t322"/></t:type><t:resourceData datatype="http://www.w3.org/2001/XMLSchema#string">^http://textgrid.org/serviceregistry/.+/.+$</t:resourceData></t:occurrence></t:topic><t:topic id="t604"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/exc"/><t:instanceOf><t:topicRef href="#t394"/></t:instanceOf></t:topic><t:topic id="t598"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/parameter-role"/><t:instanceOf><t:topicRef href="#t220"/></t:instanceOf></t:topic><t:topic id="t592"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/has-parameter"/><t:instanceOf><t:topicRef href="#t214"/></t:instanceOf></t:topic><t:topic id="t586"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/url-role"/><t:instanceOf><t:topicRef href="#t220"/></t:instanceOf></t:topic><t:topic id="t580"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/service-role"/><t:instanceOf><t:topicRef href="#t220"/></t:instanceOf></t:topic><t:topic id="t574"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/has-url"/><t:instanceOf><t:topicRef href="#t214"/></t:instanceOf></t:topic><t:topic id="t568"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/necessary"/><t:instanceOf><t:topicRef href="#t208"/></t:instanceOf></t:topic><t:topic id="t562"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/default-value"/><t:instanceOf><t:topicRef href="#t208"/></t:instanceOf></t:topic><t:topic id="t556"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/parameter-name"/><t:instanceOf><t:topicRef href="#t226"/></t:instanceOf></t:topic><t:topic id="t550"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/parameter"/><t:instanceOf><t:topicRef href="#t202"/></t:instanceOf></t:topic><t:topic id="t544"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/url-content"/><t:instanceOf><t:topicRef href="#t208"/></t:instanceOf></t:topic><t:topic id="t538"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/url"/><t:instanceOf><t:topicRef href="#t202"/></t:instanceOf></t:topic><t:topic id="t532"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/service-key"/><t:instanceOf><t:topicRef href="#t208"/></t:instanceOf></t:topic><t:topic id="t526"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/service-environment"/><t:instanceOf><t:topicRef href="#t208"/></t:instanceOf></t:topic><t:topic id="t520"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/service-type"/><t:instanceOf><t:topicRef href="#t208"/></t:instanceOf></t:topic><t:topic id="t514"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/description"/><t:instanceOf><t:topicRef href="#t208"/></t:instanceOf></t:topic><t:topic id="t508"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/service-name"/><t:instanceOf><t:topicRef href="#t226"/></t:instanceOf></t:topic><t:topic id="t502"><t:subjectIdentifier href="http://textgrid.org/isidorus/tmcl/service"/><t:instanceOf><t:topicRef href="#t202"/></t:instanceOf></t:topic><t:topic id="t496"><t:subjectIdentifier href="http://some.where/constraint-psis/ntc"/><t:instanceOf><t:topicRef href="#t382"/></t:instanceOf></t:topic><t:topic id="t490"><t:subjectIdentifier href="http://some.where/constraint-psis/otc"/><t:instanceOf><t:topicRef href="#t376"/></t:instanceOf></t:topic><t:topic id="t484"><t:subjectIdentifier href="http://some.where/constraint-psis/rtc"/><t:instanceOf><t:topicRef href="#t370"/></t:instanceOf></t:topic><t:topic id="t478"><t:subjectIdentifier href="http://some.where/constraint-psis/atc"/><t:instanceOf><t:topicRef href="#t364"/></t:instanceOf></t:topic><t:topic id="t472"><t:subjectIdentifier href="http://some.where/constraint-psis/ttc"/><t:instanceOf><t:topicRef href="#t358"/></t:instanceOf></t:topic><t:topic id="t466"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/association-type-scope-constraint"/></t:topic><t:topic id="t460"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/occurrence-type-scope-constraint"/></t:topic><t:topic id="t454"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/name-type-scope-constraint"/></t:topic><t:topic id="t448"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/other-role-constraint"/></t:topic><t:topic id="t442"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/role-player-constraint"/></t:topic><t:topic id="t436"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/association-role-constraint"/></t:topic><t:topic id="t430"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/unique-occurrence-constraint"/></t:topic><t:topic id="t424"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/occurrence-datatype-constraint"/></t:topic><t:topic id="t418"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/topic-occurrence-constraint"/></t:topic><t:topic id="t412"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/topic-name-constraint"/></t:topic><t:topic id="t406"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/subject-identifier-constraint"/></t:topic><t:topic id="t400"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/subject-locator-constraint"/></t:topic><t:topic id="t394"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/exclusive-instance"/></t:topic><t:topic id="t388"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/abstract-topic-type-constraint"/></t:topic><t:topic id="t382"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/name-type-constraint"/></t:topic><t:topic id="t376"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/occurrence-type-constraint"/></t:topic><t:topic id="t370"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/role-type-constraint"/></t:topic><t:topic id="t364"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/association-type-constraint"/></t:topic><t:topic id="t358"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/topic-type-constraint"/></t:topic><t:topic id="t352"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/schema"/><t:instanceOf><t:topicRef href="#t202"/></t:instanceOf></t:topic><t:topic id="t346"><t:subjectIdentifier href="http://psi.topicmaps.org/iso13250/model/subtype"/></t:topic><t:topic id="t340"><t:subjectIdentifier href="http://psi.topicmaps.org/iso13250/model/supertype"/></t:topic><t:topic id="t334"><t:subjectIdentifier href="http://psi.topicmaps.org/iso13250/model/supertype-subtype"/></t:topic><t:topic id="t328"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/datatype"/><t:instanceOf><t:topicRef href="#t208"/></t:instanceOf></t:topic><t:topic id="t322"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/reg-exp"/><t:instanceOf><t:topicRef href="#t208"/></t:instanceOf></t:topic><t:topic id="t316"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/card-max"/><t:instanceOf><t:topicRef href="#t208"/></t:instanceOf></t:topic><t:topic id="t310"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/card-min"/><t:instanceOf><t:topicRef href="#t208"/></t:instanceOf></t:topic><t:topic id="t304"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/applies-to"/><t:instanceOf><t:topicRef href="#t214"/></t:instanceOf></t:topic><t:topic id="t298"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/validation-expression"/><t:instanceOf><t:topicRef href="#t208"/></t:instanceOf></t:topic><t:topic id="t292"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/constraint"/><t:instanceOf><t:topicRef href="#t202"/></t:instanceOf></t:topic><t:topic id="t286"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/constraint-role"/><t:instanceOf><t:topicRef href="#t220"/></t:instanceOf></t:topic><t:topic id="t280"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/scope-type-role"/><t:instanceOf><t:topicRef href="#t220"/></t:instanceOf></t:topic><t:topic id="t274"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/name-type-role"/><t:instanceOf><t:topicRef href="#t220"/></t:instanceOf></t:topic><t:topic id="t268"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/other-topic-type-role"/><t:instanceOf><t:topicRef href="#t220"/></t:instanceOf></t:topic><t:topic id="t262"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/other-role-type-role"/><t:instanceOf><t:topicRef href="#t220"/></t:instanceOf></t:topic><t:topic id="t256"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/role-type-role"/><t:instanceOf><t:topicRef href="#t220"/></t:instanceOf></t:topic><t:topic id="t250"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/association-type-role"/><t:instanceOf><t:topicRef href="#t220"/></t:instanceOf></t:topic><t:topic id="t244"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/occurrence-type-role"/><t:instanceOf><t:topicRef href="#t220"/></t:instanceOf></t:topic><t:topic id="t238"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/topic-type-role"/><t:instanceOf><t:topicRef href="#t220"/></t:instanceOf></t:topic><t:topic id="t232"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/scope-type"/><t:instanceOf><t:topicRef href="#t202"/></t:instanceOf></t:topic><t:topic id="t226"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/name-type"/><t:instanceOf><t:topicRef href="#t202"/></t:instanceOf></t:topic><t:topic id="t220"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/role-type"/><t:instanceOf><t:topicRef href="#t202"/></t:instanceOf></t:topic><t:topic id="t214"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/association-type"/><t:instanceOf><t:topicRef href="#t202"/></t:instanceOf></t:topic><t:topic id="t208"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/occurrence-type"/><t:instanceOf><t:topicRef href="#t202"/></t:instanceOf></t:topic><t:topic id="t202"><t:subjectIdentifier href="http://psi.topicmaps.org/tmcl/topic-type"/><t:instanceOf><t:topicRef href="#t202"/></t:instanceOf></t:topic><t:topic id="t92"><t:subjectIdentifier href="http://psi.topicmaps.org/iso13250/model/instance"/></t:topic><t:topic id="t86"><t:subjectIdentifier href="http://psi.topicmaps.org/iso13250/model/type"/></t:topic><t:topic id="t80"><t:subjectIdentifier href="http://psi.topicmaps.org/iso13250/model/type-instance"/></t:topic><t:topic id="t74"><t:subjectIdentifier href="http://www.topicmaps.org/xtm/1.0/core.xtm#display"/></t:topic><t:topic id="t68"><t:subjectIdentifier href="http://www.topicmaps.org/xtm/1.0/core.xtm#sort"/></t:topic><t:topic id="t62"><t:subjectIdentifier href="http://www.topicmaps.org/xtm/1.0/core.xtm#subtype"/></t:topic><t:topic id="t56"><t:subjectIdentifier href="http://www.topicmaps.org/xtm/1.0/core.xtm#supertype"/></t:topic><t:topic id="t50"><t:subjectIdentifier href="http://www.topicmaps.org/xtm/1.0/core.xtm#supertype-subtype"/></t:topic><t:topic id="t44"><t:subjectIdentifier href="http://www.topicmaps.org/xtm/1.0/core.xtm#class"/></t:topic><t:topic id="t38"><t:subjectIdentifier href="http://www.topicmaps.org/xtm/1.0/core.xtm#class-instance"/></t:topic><t:topic id="t32"><t:subjectIdentifier href="http://www.topicmaps.org/xtm/1.0/core.xtm#occurrence"/></t:topic><t:topic id="t26"><t:subjectIdentifier href="http://www.topicmaps.org/xtm/1.0/core.xtm#association"/></t:topic><t:topic id="t13"><t:subjectIdentifier href="http://www.topicmaps.org/xtm/1.0/core.xtm#topic"/></t:topic></t:topicMap>
\ No newline at end of file
1
0

[isidorus-cvs] r647 - in trunk: playground src/rest_interface
by lgiessmann@common-lisp.net 19 Jul '11
by lgiessmann@common-lisp.net 19 Jul '11
19 Jul '11
Author: lgiessmann
Date: Tue Jul 19 08:13:35 2011
New Revision: 647
Log:
trunk: changed the RESTful shutdown handler => when the server is started the function (rest-interface:die-when.finished) has to be invoked. It will end and quit the sbcl interpreter when the RESTful handler is invoked, by an http client
Added:
trunk/playground/startIsidorus.lisp
Modified:
trunk/src/rest_interface/admin-interface.lisp
trunk/src/rest_interface/rest-interface.lisp
Added: trunk/playground/startIsidorus.lisp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/playground/startIsidorus.lisp Tue Jul 19 08:13:35 2011 (r647)
@@ -0,0 +1,8 @@
+;; this file must be called with sblc --load <this-file>
+
+(setf sb-impl::*default-external-format* :utf-8)
+(asdf:operate 'asdf:load-op 'isidorus)
+(rest-interface:start-json-engine "data_base")
+(rest-interface:start-admin-server)
+(rest-interface:die-when-finished)
+
Modified: trunk/src/rest_interface/admin-interface.lisp
==============================================================================
--- trunk/src/rest_interface/admin-interface.lisp Tue Jul 19 05:52:35 2011 (r646)
+++ trunk/src/rest_interface/admin-interface.lisp Tue Jul 19 08:13:35 2011 (r647)
@@ -16,6 +16,8 @@
(defparameter *admin-shutdown* "/admin/shutdown")
+(defparameter *ready-to-die* nil)
+
(defun set-up-admin-interface ()
(push
(create-regex-dispatcher *admin-local-backup* #'admin-local-backup)
@@ -41,7 +43,8 @@
(shutdown-json-engine)
(shutdown-atom-engine)
(shutdown-admin-server)
- (close-tm-store)) ;in case the json and atom services are not running
+ (close-tm-store) ;in case the json and atom services are not running
+ (setf *ready-to-die* t))
(setf (hunchentoot:return-code*) hunchentoot:+http-forbidden+))
(condition (err)
(progn
@@ -88,4 +91,12 @@
(write-to-string (nth-value 5 (decode-universal-time universal-time))) ":"
(write-to-string (nth-value 2 (decode-universal-time universal-time))) ":"
(write-to-string (nth-value 1 (decode-universal-time universal-time))) ":"
- (write-to-string (nth-value 0 (decode-universal-time universal-time)))))
\ No newline at end of file
+ (write-to-string (nth-value 0 (decode-universal-time universal-time)))))
+
+
+
+(defun die-when-finished()
+ (do () (rest-interface:*ready-to-die*)
+ (format t "*ready-to-die*: ~a~%" rest-interface:*ready-to-die*)
+ (sleep 1))
+ (sb-ext:quit))
\ No newline at end of file
Modified: trunk/src/rest_interface/rest-interface.lisp
==============================================================================
--- trunk/src/rest_interface/rest-interface.lisp Tue Jul 19 05:52:35 2011 (r646)
+++ trunk/src/rest_interface/rest-interface.lisp Tue Jul 19 08:13:35 2011 (r647)
@@ -56,11 +56,14 @@
:*ajax-javascript-directory-path*
:*ajax-javascript-url-prefix*
:*xtm-commit-prefix*
+ :*ready-to-die*
+ :die-when-finished
:*sparql-url*))
(in-package :rest-interface)
+
(defun create-regex-dispatcher (regex page-function)
"Just like hunchentoot:create-regex-dispatcher except it extracts the matched values
and passes them onto PAGE-FUNCTION as arguments.
@@ -159,4 +162,4 @@
(when *atom-server-acceptor*
(hunchentoot:stop *atom-server-acceptor*))
(setf *atom-server-acceptor* nil)
- (close-tm-store))
\ No newline at end of file
+ (close-tm-store))
1
0