Skip to main content
summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorpelder2008-04-14 16:40:55 -0400
committerpelder2008-04-14 16:40:55 -0400
commit595d9bfab79c8c62de57c49e56dca66de7795d6d (patch)
tree63fc0f6fb87deadf10530c22eae481cca38074a8 /doc
parent400cacbae1e11f77db2c9193d93e72a18a12d8c8 (diff)
downloadorg.eclipse.jet-595d9bfab79c8c62de57c49e56dca66de7795d6d.tar.gz
org.eclipse.jet-595d9bfab79c8c62de57c49e56dca66de7795d6d.tar.xz
org.eclipse.jet-595d9bfab79c8c62de57c49e56dca66de7795d6d.zip
[190650] [JET2] Checking if a variable is defined
Diffstat (limited to 'doc')
-rw-r--r--doc/org.eclipse.jet.doc/references/xpathFunctions/isVariableDefined.html76
-rw-r--r--doc/org.eclipse.jet.doc/references/xpathFunctions/overview.html8
-rw-r--r--doc/org.eclipse.jet.doc/toc.xml2
3 files changed, 86 insertions, 0 deletions
diff --git a/doc/org.eclipse.jet.doc/references/xpathFunctions/isVariableDefined.html b/doc/org.eclipse.jet.doc/references/xpathFunctions/isVariableDefined.html
new file mode 100644
index 0000000..78d3cbd
--- /dev/null
+++ b/doc/org.eclipse.jet.doc/references/xpathFunctions/isVariableDefined.html
@@ -0,0 +1,76 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+<HEAD>
+<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<META name="GENERATOR" content="IBM Software Development Platform">
+<link rel="STYLESHEET" href="../../book.css" charset="ISO-8859-1" type="text/css"/>
+<TITLE>isVariableDefined XPath function</TITLE>
+</HEAD>
+<BODY>
+<TABLE border="0" cellpadding="0" cellspacing="1" width="100%">
+ <TBODY>
+ <TR>
+ <TH align="left"><P>isVariableDefined()</P></TH>
+ <TH align="right"><A href="overview.html">Additional XPath Functions</A></TH>
+ </TR>
+ </TBODY>
+</TABLE>
+<HR>
+<H2>isVariableDefined</H2>
+<P>Test whether the named variable is defined.</P>
+<HR>
+<TABLE border="0" width="100%">
+ <TBODY>
+ <TR>
+ <TH colspan="2" align="left">Function Summary<BR>&nbsp;</TH></TR>
+ <TR>
+ <TD width="20%" valign="top">minimal arguments</TD>
+ <TD><SPAN style="font-family: monospace" valign="top">
+ Boolean isVariableDefined (String variableName)<BR>&nbsp;<BR>
+ </SPAN></TD>
+ </TR>
+ <TR>
+ <TD width="20%" valign="top">all arguments</TD>
+ <TD><SPAN style="font-family: monospace" valign="top">
+ Boolean isVariableDefined (String variableName)<BR>&nbsp;<BR>
+ </SPAN></TD>
+ </TR>
+ </TBODY>
+</TABLE>
+<HR>
+<TABLE border="0" width="100%">
+ <TBODY>
+ <TR>
+ <TH colspan="2" align="left">Required Arguments<BR>&nbsp;</TH>
+ </TR>
+ <TR>
+ <TD width="20%" valign="top"><B>String variable</B></TD>
+ <TD>a String expression containing a variable name without the leading dollar sign ($)</TD>
+ </TR>
+ </TBODY>
+</TABLE>
+<HR>
+<TABLE border="0" width="100%">
+ <TBODY>
+ <TR>
+ <TH colspan="2" align="left">There are no optional arguments<BR>&nbsp;</TD>
+ </TBODY>
+</TABLE>
+<HR>
+<TABLE border="0" width="100%">
+ <TBODY>
+ <TR>
+ <TH colspan="2" align="left">Example<BR>&nbsp;</TH></TR>
+ <TR>
+ <TD colspan="2"><SPAN style="font-family: monospace">
+<!-- Begin isVariableDefined example -->
+ <B>isVariableDefined</B>("someVar")<br>
+ <P>returns true only if <code>someVar</code> is defined</P>
+<!-- End isVariableDefined example -->
+</SPAN></TD>
+ </TR>
+ </TBODY>
+</TABLE>
+<P><BR>
+<FONT color="navy" size="-2">&copy; Copyright IBM Corporation 2008. All Rights Reserved.</FONT></P></P></BODY>
+</HTML>
diff --git a/doc/org.eclipse.jet.doc/references/xpathFunctions/overview.html b/doc/org.eclipse.jet.doc/references/xpathFunctions/overview.html
index 3ff7fc3..d43c31e 100644
--- a/doc/org.eclipse.jet.doc/references/xpathFunctions/overview.html
+++ b/doc/org.eclipse.jet.doc/references/xpathFunctions/overview.html
@@ -47,6 +47,14 @@ The following functions are included in JET, in addition to the XPath functions
<!-- End escapeJavaWhitespace description -->
</TD>
</TR>
+ <TR>
+ <TD width="10%"><A href="isVariableDefined.html">isVariableDefined</A></TD>
+ <TD>
+ <!-- Begin escapeJavaWhitespace description -->
+ Test whether the named variable is defined.
+ <!-- End escapeJavaWhitespace description -->
+ </TD>
+ </TR>
<TR>
<TD width="10%"><A href="lower_caseFunction.html">lower-case</A></TD>
<TD>
diff --git a/doc/org.eclipse.jet.doc/toc.xml b/doc/org.eclipse.jet.doc/toc.xml
index a6ece84..6c2a5a7 100644
--- a/doc/org.eclipse.jet.doc/toc.xml
+++ b/doc/org.eclipse.jet.doc/toc.xml
@@ -45,6 +45,8 @@
<topic label="cardinality" href="references/xpathFunctions/cardinalityFunction.html"/>
<topic label="className" href="references/xpathFunctions/classNameFunction.html"/>
<topic label="escapeJavaWhitespace" href="references/xpathFunctions/escapeJavaWhitespaceFunction.html"/>
+ <topic href="references/xpathFunctions/isVariableDefined.html" label="isVariableDefined">
+ </topic>
<topic label="lower-case" href="references/xpathFunctions/lower_caseFunction.html"/>
<topic label="lowercaseFirst" href="references/xpathFunctions/lowercaseFirstFunction.html"/>
<topic label="packageName" href="references/xpathFunctions/packageNameFunction.html"/>

Back to the top