OntoDL Style Sheet Directive: obligation: Unterschied zwischen den Versionen

Aus CTS2-LE
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „== Syntax == ''Mask'' <font face="courier"> {|border="0" |- style="vertical-align:top" | style="width:10em" | ''ObligationD…“)
 
(Syntax)
 
Zeile 1: Zeile 1:
 
== Syntax ==
 
== Syntax ==
  [[OntoDL Statement: Base Types|''Mask'']]
+
   
 
 
 
<font face="courier">
 
<font face="courier">
 
{|border="0"  
 
{|border="0"  
Zeile 27: Zeile 26:
 
| '''>'''
 
| '''>'''
 
|  
 
|  
| <font face="arial" size="2">Obligation is executed after a line of text with the given style is processed. This is the default behavior. </font>|
+
| <font face="arial" size="2">Obligation is executed after a line of text with the given style is processed. This is the default behavior. </font>
 
|- style="vertical-align:top"
 
|- style="vertical-align:top"
 
| ''ExecutableCode''  
 
| ''ExecutableCode''  

Aktuelle Version vom 21. September 2016, 09:00 Uhr

Syntax

ObligationDirective := #obligation PrePostQualifier? StyleName ExecutableCode  
| #obligation PrePostQualifier? StyleName de-registers all obligations for the given style and mode (pre/post)
PrePostQualifier := < Obligation is executed before a line of text with the given style is processed
| > Obligation is executed after a line of text with the given style is processed. This is the default behavior.
ExecutableCode := PackageName
| Text