commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbe...@apache.org
Subject svn commit: r954056 - /commons/sandbox/gsoc/2010/scxml-js/trunk/test/xslt/StatePatternStatechartGenerator.xsl
Date Sat, 12 Jun 2010 19:34:43 GMT
Author: jbeard
Date: Sat Jun 12 19:34:42 2010
New Revision: 954056

URL: http://svn.apache.org/viewvc?rev=954056&view=rev
Log:
Added StatePatternStatechartGenerator.xsl. Import, and overriding parameters, seems to work
well.

Added:
    commons/sandbox/gsoc/2010/scxml-js/trunk/test/xslt/StatePatternStatechartGenerator.xsl
  (with props)

Added: commons/sandbox/gsoc/2010/scxml-js/trunk/test/xslt/StatePatternStatechartGenerator.xsl
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/test/xslt/StatePatternStatechartGenerator.xsl?rev=954056&view=auto
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/test/xslt/StatePatternStatechartGenerator.xsl
(added)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/test/xslt/StatePatternStatechartGenerator.xsl
Sat Jun 12 19:34:42 2010
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" 
+	xmlns:s="http://www.w3.org/2005/07/scxml"
+	xmlns:c="http://msdl.cs.mcgill.ca/"
+	version="1.0">
+
+	<import href="AbstractStatechartGenerator.xsl"/>
+
+	<!-- these params get overridden by subclasses -->
+	<param name="dispatchInvocation" select="'state[e]();'"/>
+	<param name="defaultEventLiteral" select="'$default'"/>
+	<param name="currentConfigurationExpression" select="'currentConfiguration.slice()'"/>
+
+	<template name="genContextHooks"/>
+	<template name="genStateHooks"/>
+	<template name="genExternalTriggerDispatcher"/>
+	<template name="genParallelSubstateConfigurationSetString"/>
+	<template name="genNonParallelSubstateConfigurationSetString"/>
+	<template name="genInitialization"/>
+	<template name="genTriggerDispatcherContext"/>
+
+</stylesheet>
+
+

Propchange: commons/sandbox/gsoc/2010/scxml-js/trunk/test/xslt/StatePatternStatechartGenerator.xsl
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message