nl.justobjects.xbook
Class XSLTHelper

java.lang.Object
  |
  +--nl.justobjects.xbook.XSLTHelper

public class XSLTHelper
extends java.lang.Object

Utility class for XSLT to Java communication.

Purpose
This class is an external utility used by and called from XSL scripts.

Implementation

Examples
See the album2html.xsl script.


$Source: /var/cvs/justobjects/xbook/src/nl/justobjects/xbook/XSLTHelper.java,v $

Since:
$Date: 2003/01/06 10:27:22 $
Version:
$Revision: 1.10 $
Author:
$Author: just $ - Just van den Broecke - Just Objects ©
See Also:
Thumbnail

Field Summary
private static java.util.Properties anchors
           
private static java.util.ArrayList internalLinks
           
private static boolean multipleOutputFiles
           
private static java.util.Properties vars
           
 
Constructor Summary
XSLTHelper()
           
 
Method Summary
static boolean enableMultipleOutputFiles()
           
static java.lang.String generateThumbnail(java.lang.String anInputDir, java.lang.String anOutputDir, java.lang.String anImageFileName)
          Generates thumbnail image and returns thumbnail filename.
static java.lang.String getAnchor(java.lang.String anAnchorId)
           
static java.lang.String getVar(java.lang.String aName)
           
static boolean hasAnchors()
           
static boolean hasMultipleOutputFiles()
           
static void init()
           
static void p(java.lang.String s)
           
static java.lang.String putAnchor(java.lang.String anAnchorId, java.lang.String anHTMLFile)
           
static java.lang.String putInternalLinkRef(java.lang.String anAnchorId, java.lang.String anHTMLFilePath)
           
static void resolveInternalLinks()
          Resolve internal links to anchors over split documents.
static java.lang.String setVar(java.lang.String aName, java.lang.String aValue)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

vars

private static java.util.Properties vars

anchors

private static java.util.Properties anchors

internalLinks

private static java.util.ArrayList internalLinks

multipleOutputFiles

private static boolean multipleOutputFiles
Constructor Detail

XSLTHelper

public XSLTHelper()
Method Detail

getAnchor

public static java.lang.String getAnchor(java.lang.String anAnchorId)

hasAnchors

public static boolean hasAnchors()

putAnchor

public static java.lang.String putAnchor(java.lang.String anAnchorId,
                                         java.lang.String anHTMLFile)

putInternalLinkRef

public static java.lang.String putInternalLinkRef(java.lang.String anAnchorId,
                                                  java.lang.String anHTMLFilePath)

resolveInternalLinks

public static void resolveInternalLinks()
Resolve internal links to anchors over split documents.

generateThumbnail

public static java.lang.String generateThumbnail(java.lang.String anInputDir,
                                                 java.lang.String anOutputDir,
                                                 java.lang.String anImageFileName)
                                          throws java.lang.Exception
Generates thumbnail image and returns thumbnail filename.

init

public static void init()

hasMultipleOutputFiles

public static boolean hasMultipleOutputFiles()

enableMultipleOutputFiles

public static boolean enableMultipleOutputFiles()

getVar

public static java.lang.String getVar(java.lang.String aName)

setVar

public static java.lang.String setVar(java.lang.String aName,
                                      java.lang.String aValue)

p

public static void p(java.lang.String s)


Copyright © 2000-2001 - Just Objects B.V.