|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.ejen.ext.Version
Ejen version utility (static methods).
| Usage (XSL stylesheet) |
|---|
<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
...
xmlns:ver="org.ejen.ext.Version"
version="1.0">
<xsl:output method="xml" encoding="iso-8859-1"/>
<xsl:template match="ejen">
<ejen-version>
<xsl:value-of select="ver: |
| Field Summary | |
static int |
HIGH_VERSION
High version number. |
static int |
LOW_VERSION
Low version number. |
static String |
VERSION_STATUS
Version status. |
| Constructor Summary | |
protected |
Version()
Protected constructor (prevents instanciation). |
| Method Summary | |
static int |
high(ExpressionContext context)
Returns the Ejen high version number. |
static int |
low(ExpressionContext context)
Returns the Ejen low version number. |
static String |
status(ExpressionContext context)
Returns the Ejen low version number. |
static String |
toString(ExpressionContext context)
Returns the Ejen high version number. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int HIGH_VERSION
public static final int LOW_VERSION
public static final String VERSION_STATUS
| Constructor Detail |
protected Version()
| Method Detail |
public static int high(ExpressionContext context)
<xsl:variable name="high-version" select="ver:high()"/> |
context - automatically passed by the xalan extension mechanism.
public static int low(ExpressionContext context)
<xsl:variable name="low-version" select="ver:low()"/> |
context - automatically passed by the xalan extension mechanism.
public static String status(ExpressionContext context)
<xsl:variable name="version-status" select="ver:status()"/> |
context - automatically passed by the xalan extension mechanism.
public static String toString(ExpressionContext context)
<xsl:variable name="version" select="ver:version()"/> |
context - automatically passed by the xalan extension mechanism.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||