public static class DeployFXTask.Template
extends org.apache.tools.ant.types.DataType
Template is the HTML file containing markers to be replaced with javascript or HTML snippets needed to deploy JavaFX application on the Web page. This allows to deploy application into "real" Web pages and simplify development process if application is tightly integrated with the page (e.g. uses javascript to communicate to it).
Marker has the form of #XXX# or #XXX(id)#. Where id is identifier of an application and XXX is one of following:
If input and output files are the same then template is processed in place.
Example:
<template file="App_template.html" tofile="App.html"/>
Modifier and Type | Field and Description |
---|---|
(package private) java.io.File |
infile |
(package private) java.io.File |
outfile |
Constructor and Description |
---|
Template() |
Modifier and Type | Method and Description |
---|---|
void |
setFile(java.io.File f)
Input file.
|
void |
setTofile(java.io.File f)
Output file (after preprocessing).
|
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toString