A B C D E F G H I J L M N O P R S T U V W X

A

abortProcessing() - Method in class tomp.ext.Base
Called when processing is aborted (not OK).
action - Variable in class tomp.ext.Base
 
action - Variable in class tomp.ext.validator.xslt.XSLTGenericValidator
 
Action - class tomp.ext.Action.
The abstract Action class Contains reference to the parent Application Base-derived objects parameters (that can be any objects identified by a string-key) one ActionResult And provides logging services (simply forward the log-requests to underlying application)
Action - class tomp.ext.compiler.Action.
 
ACTION - Static variable in class tomp.ext.Action
Logging Category for Action.
Action(Action) - Constructor for class tomp.ext.Action
The Action class constructor For constructing an action that already has a previous action.
Action(Application) - Constructor for class tomp.ext.Action
The Action class constructor For constructing an action with no previous action.
Action(Element, Application, String, String, Item, int, String, String, String, String, List) - Constructor for class tomp.ext.compiler.Action
 
ActionResult - class tomp.ext.ActionResult.
 
ActionResult() - Constructor for class tomp.ext.ActionResult
 
ActionResult(ActionResult) - Constructor for class tomp.ext.ActionResult
 
ActionResult(int, int, int) - Constructor for class tomp.ext.ActionResult
 
actions - Variable in class tomp.ext.compiler.Application
 
addAllImports(Set) - Method in class tomp.ext.compiler.Item
 
addAttribute(String, String) - Method in class tomp.ext.TreeSourceBuilder
Adds attribute to the currently opened attribute collection.
addImports(String) - Method in class tomp.ext.compiler.Item
 
addItem(Item) - Method in class tomp.ext.compiler.Item
 
AdminLoggedAction - class tomp.ext.servlet.AdminLoggedAction.
Class AdminLoggedAction is an action created and run when the administrator logs in.
AdminLoggedAction(ServletAction, HttpServletRequest, HttpServletResponse, UserInfo) - Constructor for class tomp.ext.servlet.AdminLoggedAction
 
AdvancedServletApplication - class tomp.ext.servlet.AdvancedServletApplication.
Class AdvancedServletApplication is an exntesion of the simple ServletApplication.
AdvancedServletApplication(HttpServlet) - Constructor for class tomp.ext.servlet.AdvancedServletApplication
Constructor: Registers the "login" actions.
allocate(String) - Method in class tomp.ext.TreeSourceBuilder
 
allocateEXTName(String) - Method in class tomp.ext.Application
Allocates the localName under the EXT namespace
allocateName(String) - Method in class tomp.ext.jdbc.SQLSelectSource
 
allocateName(String, short, String) - Method in class tomp.ext.Application
Allocates the localName under the nsCode (short), nsPrefix namespace
allocateName(String, String, String) - Method in class tomp.ext.Application
Allocates the localName under the nsURI, nsPrefix namespace
allocateNamespaceCode(String, String) - Method in class tomp.ext.TreeSourceBuilder
 
allocateNCName(String) - Method in class tomp.ext.Application
Allocates the localName as unqualified (no-colon) name (i.e.under default Namespace)
appendDir(Dir) - Method in class tomp.ext.compiler.FileSet
 
appendFile(File) - Method in class tomp.ext.compiler.FileSet
 
application - Variable in class tomp.ext.TreeSourceBuilder
 
application - Variable in class tomp.ext.Base
 
application - Variable in class tomp.ext.Action
 
application - Variable in class tomp.ext.compiler.Item
 
application - Variable in class tomp.ext.validator.xslt.XSLTGenericValidator
 
Application - class tomp.ext.Application.
This abstract Application class a basic class for all EXT applications.
Application - class tomp.ext.compiler.Application.
 
Application() - Constructor for class tomp.ext.Application
Default constructor with no parameters, initializing the Application with Crimson XMLReaderImpl SAX2 parser for source files Crimson XMLReaderImpl SAX2 parser for style files default MySQL database driver class default Windows-1250 encoding and default EXT prefix ("ext") and default EXT URI ("http://ext.cz") logging to System.err
Application(Element, String, String, String, String) - Constructor for class tomp.ext.compiler.Application
 
Application(String, String, String, String, String, String, String) - Constructor for class tomp.ext.Application
General Application constructor defaulting the TREE_MODEL to TINY_TREE allocating the app-level XML names under the ext namespace registering the tomp.ext.cmd.GenericAction.class as the default Action.class
application2Tree(TreeSourceBuilder, ServletContext) - Static method in class tomp.ext.servlet.ServletSourceBuilder
The builder (not null) must be created before calling to this and the document being built must be already started.
as - Variable in class tomp.ext.compiler.Parameter
 
asSQLConnection() - Method in class tomp.ext.jdbc.JDBCConnection
 

B

Base - class tomp.ext.Base.
This Base class a basic class for all EXT classes that do the "real" work: providing source and style for transformations, performing the transformations,
Base(Action, String, Validator) - Constructor for class tomp.ext.Base
The one and only constructor for Base objects
beginCatch(StringBuffer, int) - Method in class tomp.ext.compiler.Item
 
beginTry(StringBuffer, int) - Method in class tomp.ext.compiler.Item
 
body(StringBuffer, int) - Method in class tomp.ext.compiler.Item
 
body(TreeSourceBuilder) - Method in class tomp.ext.BuiltTreeSource
 
body(TreeSourceBuilder) - Method in class tomp.ext.servlet.ServletSource
 
body(TreeSourceBuilder) - Method in class tomp.ext.system.PropertiesSource
 
builder - Variable in class tomp.ext.TreeSourceBuilder
 
builder - Variable in class tomp.ext.TreeSource
 
builder - Variable in class tomp.ext.transform.Transformation2DOM
 
BuiltTreeSource - class tomp.ext.BuiltTreeSource.
Class BuiltTreeSource is an abstract TreeSource, being built by a TreeSourceBuilder.
BuiltTreeSource(Action, String, Validator, BuiltTreeSource[], boolean, boolean) - Constructor for class tomp.ext.BuiltTreeSource
 
BuiltTreeSource(Action, String, Validator, BuiltTreeSource[], boolean, boolean, String, String, String) - Constructor for class tomp.ext.BuiltTreeSource
 

C

className - Variable in class tomp.ext.compiler.Parameter
 
clearImports() - Method in class tomp.ext.compiler.Item
 
close() - Method in class tomp.ext.Transformation
 
close() - Method in class tomp.ext.jdbc.JDBCConnection
Closes the connection to the database.
close() - Method in class tomp.ext.transform.Transformation2Stream
 
codeCONTINUE - Variable in class tomp.ext.ActionResult
 
codeOK - Variable in class tomp.ext.ActionResult
 
codePUSH - Variable in class tomp.ext.ActionResult
 
CollectionLoop - class tomp.ext.compiler.CollectionLoop.
 
CollectionLoop(Element, Application, String, String, Item, int, String, String) - Constructor for class tomp.ext.compiler.CollectionLoop
 
collectionName - Variable in class tomp.ext.compiler.CollectionLoop
 
comment(char[], int, int) - Method in class tomp.ext.validator.xslt.XSLTErrorDetector
 
commitProcessing() - Method in class tomp.ext.Base
Called when processing is committed (i.e. not aborted, OK).
compareTo(Object) - Method in class tomp.ext.compiler.Item
 
compileActionsSource() - Method in class tomp.ext.compiler.Application
 
compiledSchema - Variable in class tomp.ext.validator.xslt.XSLTGenericValidator
 
Compiler - class tomp.ext.compiler.Compiler.
 
Compiler() - Constructor for class tomp.ext.compiler.Compiler
 
compileServletSource() - Method in class tomp.ext.compiler.Application
 
compileSource() - Method in class tomp.ext.compiler.Application
 
ComposedItem - class tomp.ext.compiler.ComposedItem.
 
ComposedItem(Element, Application, String, String, Item, int, String) - Constructor for class tomp.ext.compiler.ComposedItem
 
condition - Variable in class tomp.ext.compiler.Item
 
condition(String) - Static method in class tomp.ext.compiler.Item
 
conditionFooter(StringBuffer, int) - Method in class tomp.ext.compiler.Item
 
conditionHeader(StringBuffer, int) - Method in class tomp.ext.compiler.Item
 
ConsoleApplication - class tomp.ext.cmd.ConsoleApplication.
ConsoleApplication is a simple application that can be started from command line (console).
ConsoleApplication() - Constructor for class tomp.ext.cmd.ConsoleApplication
 
CONTINUE - Static variable in class tomp.ext.ActionResult
 
convertFile(File, String, String) - Method in class tomp.ext.util.file.FileSet
 
currentPrefix - Variable in class tomp.ext.TreeSourceBuilder
 
currentURI - Variable in class tomp.ext.TreeSourceBuilder
 
characters(char[], int, int) - Method in class tomp.ext.validator.xslt.XSLTErrorDetector
 

D

declaration(StringBuffer, int) - Method in class tomp.ext.compiler.Item
 
defaultCatch(StringBuffer, int) - Method in class tomp.ext.compiler.Item
 
defaults(StringBuffer, int) - Method in class tomp.ext.compiler.Application
 
defaultValue - Variable in class tomp.ext.compiler.Parameter
 
destination - Variable in class tomp.ext.util.file.FileSet
 
destroy() - Method in class tomp.ext.servlet.ServletApplication
Represents the HttpServlet.destroy() method that forwards the destroy() event to this method.
destroy() - Method in class tomp.ext.servlet.EXTServlet
Method destroy() is defined in HttpServlet, here finalizes (via destroy() method) the underlying ServletApplication.
determineWhatInitParamsImport() - Method in class tomp.ext.compiler.Item
 
Dir - class tomp.ext.util.file.Dir.
 
Dir(String, String) - Constructor for class tomp.ext.util.file.Dir
 
Dir(String, String, String) - Constructor for class tomp.ext.util.file.Dir
 
doApplicationTree - Variable in class tomp.ext.servlet.ServletSource
 
doPageTree - Variable in class tomp.ext.servlet.ServletSource
 
doRequestTree - Variable in class tomp.ext.servlet.ServletSource
 
doSessionTree - Variable in class tomp.ext.servlet.ServletSource
 

E

element - Variable in class tomp.ext.compiler.Item
 
EndApplicationAction - class tomp.ext.servlet.EndApplicationAction.
Class EndApplicationAction is an extension of the RequestAction.
EndApplicationAction(ServletAction, HttpServletRequest, HttpServletResponse) - Constructor for class tomp.ext.servlet.EndApplicationAction
 
endCatch(StringBuffer, int) - Method in class tomp.ext.compiler.Item
 
endDocument() - Method in class tomp.ext.TreeSourceBuilder
End the current document.
endDocument() - Method in class tomp.ext.validator.xslt.XSLTErrorDetector
 
endElement() - Method in class tomp.ext.TreeSourceBuilder
Closes the last open element.
endElement(int) - Method in class tomp.ext.validator.xslt.XSLTErrorDetector
 
endInputDocument(Builder) - Method in class tomp.ext.Application
 
ERROR - Static variable in class tomp.ext.ActionResult
 
errorDetector - Variable in class tomp.ext.validator.xslt.XSLTGenericValidator
 
ErrorDetector - interface tomp.ext.validator.ErrorDetector.
The ErrorDetector has only one method isOK() that provides info whether the validation was successful, i.e. whether the Source was valid.
event2tree(TreeSourceBuilder) - Method in class tomp.ext.Action
 
ExamplotronValidator - class tomp.ext.validator.xslt.ExamplotronValidator.
The ExamplotronValidator is a simple extension of the generic XSLTGenericValidator.
ExamplotronValidator(Action, String, Validator, String, Source, Style) - Constructor for class tomp.ext.validator.xslt.ExamplotronValidator
 
exceptionType - Variable in class tomp.ext.compiler.Parameter
 
execute() - Method in class tomp.ext.Action
 
execute() - Method in class tomp.ext.servlet.EndApplicationAction
 
ext - Variable in class tomp.ext.compiler.Action
 
EXT_LOCAL_URI_PREFIX - Static variable in class tomp.ext.EXTURIResolver
 
EXTElementFactory - class tomp.ext.ext.EXTElementFactory.
Class EXTElementFactory.
EXTElementFactory() - Constructor for class tomp.ext.ext.EXTElementFactory
 
EXTException - exception tomp.ext.EXTException.
This EXTException is a base for all EXT-specific exceptions (no others are implemented yet).
EXTException(String) - Constructor for class tomp.ext.EXTException
Constructor only with a message String.
EXTException(String, Throwable) - Constructor for class tomp.ext.EXTException
Constructor with previous exception specified.
EXTResultDocument - class tomp.ext.ext.EXTResultDocument.
An xsl:result-document (formerly saxon:output) element in the stylesheet.
EXTResultDocument() - Constructor for class tomp.ext.ext.EXTResultDocument
 
EXTServlet - class tomp.ext.servlet.EXTServlet.
Abstract class EXTServlet is an extension of the HttpServlet.
EXTServlet() - Constructor for class tomp.ext.servlet.EXTServlet
 
EXTURIResolver - class tomp.ext.EXTURIResolver.
This EXTURIResolver is an extension of the standard javax.xml.transform.URIResolver.
EXTURIResolver(URIResolver, Action) - Constructor for class tomp.ext.EXTURIResolver
Constructor

F

file - Variable in class tomp.ext.source.FileSource
 
fileNames - Variable in class tomp.ext.compiler.FileSet
 
FilePropertiesSource - class tomp.ext.system.FilePropertiesSource.
Class PropertiesSource is an extension of the PropertiesSource, providing access to any in-file Properties.
FilePropertiesSource(Action, String, Validator, BuiltTreeSource[], boolean, boolean, File, String) - Constructor for class tomp.ext.system.FilePropertiesSource
 
FilePropertiesSource(Action, String, Validator, BuiltTreeSource[], boolean, boolean, String, String, String, File, String) - Constructor for class tomp.ext.system.FilePropertiesSource
 
files - Variable in class tomp.ext.compiler.FileSet
 
files - Variable in class tomp.ext.util.file.FileSet
 
FileSet - class tomp.ext.compiler.FileSet.
 
FileSet - class tomp.ext.util.file.FileSet.
 
FileSet(Action, String, Validator, File[], String, String, String, String) - Constructor for class tomp.ext.util.file.FileSet
 
FileSet(Element, Application, String, String, String, Item, int, String) - Constructor for class tomp.ext.compiler.FileSet
 
FileSource - class tomp.ext.source.FileSource.
 
FileSource(Action, String, Validator, File) - Constructor for class tomp.ext.source.FileSource
 
findItem(String) - Method in class tomp.ext.compiler.Item
 
findItem(String) - Method in class tomp.ext.compiler.Application
 
FINISH - Static variable in class tomp.ext.ActionResult
 
fixedValue - Variable in class tomp.ext.compiler.Parameter
 
fnOpen - Variable in class tomp.ext.compiler.FileSet
 
footer(StringBuffer, int) - Method in class tomp.ext.compiler.Item
 
footer(StringBuffer, int) - Method in class tomp.ext.compiler.ComposedItem
 
from - Variable in class tomp.ext.compiler.Parameter
 

G

generateParameters(List, String) - Static method in class tomp.ext.compiler.Item
 
generateSetParameters(Element, String) - Static method in class tomp.ext.compiler.Item
 
generateSubstParameters(Element, String) - Static method in class tomp.ext.compiler.Item
 
GenericAction - class tomp.ext.cmd.GenericAction.
GenericAction extends Action, acting as a "normal" basic action, for example in command-line applications.
GenericAction(Action) - Constructor for class tomp.ext.cmd.GenericAction
This constructor is used when there is a previous Action that must be non-null.
GenericAction(Application) - Constructor for class tomp.ext.cmd.GenericAction
This constructor is used when there is no previous Action.
get(String) - Method in class tomp.ext.Action
Get a named parameter or an instanceof Base object.
getAction() - Method in class tomp.ext.compiler.Item
 
getActionClass(Class) - Method in class tomp.ext.Application
Retrieve an registered action class
getActionsSourcePath() - Method in class tomp.ext.compiler.Application
 
getApplication() - Method in class tomp.ext.Action
 
getAsRawSource() - Method in class tomp.ext.TreeSource
Returns the previously built tree.
getAsRawSource() - Method in class tomp.ext.BuiltTreeSource
Returns the previously built tree.
getAsRawSource() - Method in class tomp.ext.Base
The getAsRawSource() is actually abstract in this abstract class.
getAsRawSource() - Method in class tomp.ext.source.URLSource
 
getAsRawSource() - Method in class tomp.ext.source.FileSource
 
getAsRawSource() - Method in class tomp.ext.transform.Transformation2DOM
 
getAsResult() - Method in class tomp.ext.TreeSourceResult
 
getAsResult() - Method in interface tomp.ext.Result
 
getAsSource() - Method in class tomp.ext.Style
Forwards the query to the provided Source.getAsSource().
getAsSource() - Method in interface tomp.ext.Source
 
getAsSource() - Method in class tomp.ext.Base
The getAsSource() provides a javax.xml.transform.Source object containing the content of this Base object.
getBuilder() - Method in class tomp.ext.TreeSourceBuilder
 
getClassFileName() - Method in class tomp.ext.compiler.ComposedItem
 
getClassPath() - Method in class tomp.ext.compiler.Application
 
getCodeForURI(String) - Method in class tomp.ext.Application
 
getDefaultMySQLDriver() - Method in class tomp.ext.Application
 
getDefaultOutputEncoding() - Method in class tomp.ext.Application
 
getDefaultOutputMethod() - Method in class tomp.ext.Application
 
getDescendantOrSelfCount(Element) - Static method in class tomp.ext.compiler.Item
 
getDocumentBuilderFactory() - Method in class tomp.ext.Application
 
getEmptyAC() - Method in class tomp.ext.Application
Creates the empty SAX2 AttributeCollection (gives the same instance at each call)
getExtension() - Method in class tomp.ext.util.file.Dir
 
getExtensionClass(String) - Method in class tomp.ext.ext.EXTElementFactory
Identify the class to be used for stylesheet elements with a given local name.
getFileName() - Method in class tomp.ext.compiler.ComposedItem
 
getFilterStyleRef() - Method in class tomp.ext.compiler.Item
 
getHere(String) - Method in class tomp.ext.Action
Try to get a named parameter here.
getHere(String) - Method in class tomp.ext.cmd.GenericAction
The objects are stored at this action's HashMap and returned on demand, specified by the key.
getHere(String) - Method in class tomp.ext.servlet.StartSessionAction
 
getHere(String) - Method in class tomp.ext.servlet.StartApplicationAction
 
getHere(String) - Method in class tomp.ext.servlet.RequestAction
 
getId() - Method in class tomp.ext.compiler.Item
 
getImport() - Method in class tomp.ext.compiler.Item
 
getImports() - Method in class tomp.ext.compiler.Item
 
getMessage() - Method in class tomp.ext.EXTException
 
getMessage() - Method in class tomp.ext.ActionResult
 
getName() - Method in interface tomp.ext.servlet.UserInfo
 
getNamePool() - Method in class tomp.ext.Application
 
getPreviousAction() - Method in class tomp.ext.Action
 
getPreviousServletAction() - Method in class tomp.ext.servlet.ServletAction
 
getProperties() - Method in class tomp.ext.system.PropertiesSource
 
getRequest() - Method in class tomp.ext.servlet.ServletAction
 
getRequest() - Method in class tomp.ext.servlet.RequestAction
 
getResponse() - Method in class tomp.ext.servlet.ServletAction
 
getResponse() - Method in class tomp.ext.servlet.RequestAction
 
gets(StringBuffer, int) - Method in class tomp.ext.compiler.Item
 
getServlet() - Method in class tomp.ext.servlet.ServletApplication
 
getServletApplication() - Method in class tomp.ext.servlet.ServletAction
 
getServletClassFileName() - Method in class tomp.ext.compiler.Application
 
getServletConfig() - Method in class tomp.ext.servlet.StartApplicationAction
 
getServletConfig() - Method in class tomp.ext.servlet.ServletAction
 
getServletContext() - Method in class tomp.ext.servlet.StartApplicationAction
 
getServletContext() - Method in class tomp.ext.servlet.ServletAction
 
getServletFileName() - Method in class tomp.ext.compiler.Application
 
getServletName() - Method in class tomp.ext.compiler.Application
 
getServletSourcePath() - Method in class tomp.ext.compiler.Application
 
getServletTargetPath() - Method in class tomp.ext.compiler.Application
 
getSession() - Method in class tomp.ext.servlet.StartSessionAction
 
getSession() - Method in class tomp.ext.servlet.ServletAction
 
getSession() - Method in class tomp.ext.servlet.RequestAction
 
getSourcePath() - Method in class tomp.ext.compiler.Item
 
getTargetPath() - Method in class tomp.ext.compiler.Item
 
getTemplates() - Method in class tomp.ext.Style
Gives the javax.xml.transform.Templates object.
getTransformerFactory() - Method in class tomp.ext.Application
 
getUser() - Method in class tomp.ext.servlet.UserLoggedAction
 

H

hasNextFile() - Method in class tomp.ext.util.file.FileSet
 
hasParameter(String) - Method in class tomp.ext.Action
Has already the named parameter?
hasRoot - Variable in class tomp.ext.BuiltTreeSource
 
header(StringBuffer, int) - Method in class tomp.ext.compiler.Item
 
header(StringBuffer, int) - Method in class tomp.ext.compiler.ComposedItem
 
header(StringBuffer, int) - Method in class tomp.ext.compiler.CollectionLoop
 
header(StringBuffer, int) - Method in class tomp.ext.compiler.Application
 

I

id - Variable in class tomp.ext.compiler.Parameter
 
id - Variable in class tomp.ext.compiler.ItemParameter
 
id - Variable in class tomp.ext.compiler.Item
 
id - Variable in class tomp.ext.validator.xslt.XSLTGenericValidator
 
id() - Method in interface tomp.ext.Source
id of this Source
id() - Method in interface tomp.ext.Result
 
id() - Method in class tomp.ext.Base
Returns the identification.
id() - Method in class tomp.ext.Application
Gives the Application id
id() - Method in class tomp.ext.Action
 
id() - Method in class tomp.ext.compiler.Parameter
 
id() - Method in class tomp.ext.validator.xslt.XSLTGenericValidator
 
index - Variable in class tomp.ext.compiler.Parameter
 
index - Variable in class tomp.ext.compiler.Item
 
init() - Method in class tomp.ext.Action
Simple initialization of the Action object.
init() - Method in class tomp.ext.servlet.ServletApplication
Creates the StartApplicationAction and runs it.
init() - Method in class tomp.ext.servlet.AdvancedServletApplication
Load the user database from Properties file (user=password at each non-comment line).
init(ServletConfig) - Method in class tomp.ext.servlet.EXTServlet
Method init() is defined in HttpServlet, here initializes the underlying ServletApplication.
initAction - Variable in class tomp.ext.servlet.ServletApplication
 
initApplication(HttpServlet) - Method in class tomp.ext.servlet.EXTServlet
Every concrete EXTServlet must implement this in order to have initialization routine that creates and initializes the underlying ServletApplication.
initParams - Variable in class tomp.ext.compiler.Item
 
inPackage - Variable in class tomp.ext.compiler.Item
 
isAdmin() - Method in class tomp.ext.servlet.UserLoggedAction
 
isAdmin() - Method in interface tomp.ext.servlet.UserInfo
 
isAdmin() - Method in class tomp.ext.servlet.AdminLoggedAction
 
isERROR() - Method in class tomp.ext.ActionResult
 
isERROR() - Method in class tomp.ext.Action
Test the ActionResult
isFiltered() - Method in class tomp.ext.compiler.Item
 
isInstruction() - Method in class tomp.ext.ext.EXTResultDocument
Determine whether this node is an instruction.
isOK() - Method in class tomp.ext.ActionResult
 
isOK() - Method in class tomp.ext.Action
Test the ActionResult
isOK() - Method in interface tomp.ext.validator.ErrorDetector
 
isOK() - Method in class tomp.ext.validator.xslt.XSLTErrorDetector
 
isOnException - Variable in class tomp.ext.compiler.Item
 
isReady() - Method in interface tomp.ext.Source
is the Source ready?
isReady() - Method in class tomp.ext.Base
is this Base object ready?
isServletApp - Variable in class tomp.ext.compiler.Application
 
isUNKNOWN() - Method in class tomp.ext.ActionResult
 
isValid() - Method in interface tomp.ext.Source
is the Source valid?
isValid() - Method in class tomp.ext.Base
is this Base object ready and valid?
Item - class tomp.ext.compiler.Item.
 
Item(Element, Application, String, String, Item, int, String) - Constructor for class tomp.ext.compiler.Item
 
itemOn - Variable in class tomp.ext.compiler.Item
 
ItemParameter - class tomp.ext.compiler.ItemParameter.
 
ItemParameter(String, String) - Constructor for class tomp.ext.compiler.ItemParameter
 
items - Variable in class tomp.ext.compiler.Item
 

J

JDBCConnection - class tomp.ext.jdbc.JDBCConnection.
This is a wrapper for a JDBC Connection.
JDBCConnection(Action, String, Validator, String, String, String, String) - Constructor for class tomp.ext.jdbc.JDBCConnection
 

L

label() - Method in class tomp.ext.compiler.Item
 
label() - Method in class tomp.ext.compiler.Action
 
listFiles() - Method in class tomp.ext.util.file.Dir
 
LOGFILE - Static variable in class tomp.ext.Application
 

M

main(String[]) - Static method in class tomp.ext.compiler.Compiler
 
makeAction(Class, Action) - Method in class tomp.ext.Application
Make an Action (according to registered classes).
makeApplication(String) - Method in class tomp.ext.compiler.Compiler
 
makeFilter() - Method in class tomp.ext.util.file.Dir
 
makeInitAction(Class, ServletApplication, HttpServlet) - Method in class tomp.ext.servlet.ServletApplication
Creates a StartApplicationAction with specified params.
makeInitAction(ServletApplication, HttpServlet) - Method in class tomp.ext.servlet.ServletApplication
Creates a StartApplicationAction with specified params.
makeRequestAction(Class, ServletAction, HttpServletRequest, HttpServletResponse) - Method in class tomp.ext.servlet.ServletApplication
Creates a RequestAction with specified params.
makeRequestAction(ServletAction, HttpServletRequest, HttpServletResponse) - Method in class tomp.ext.servlet.ServletApplication
Creates a RequestAction with specified params.
makeStartSessionAction(Class, ServletAction, HttpSession) - Method in class tomp.ext.servlet.ServletApplication
Creates a StartSessionAction with specified params.
makeStartSessionAction(ServletAction, HttpSession) - Method in class tomp.ext.servlet.ServletApplication
Creates a StartSessionAction with specified params.
makeUserLoggedAction(Class, ServletAction, HttpServletRequest, HttpServletResponse, String) - Method in class tomp.ext.servlet.AdvancedServletApplication
Makes an UserLoggedAction.
match(String, String) - Static method in class tomp.ext.ext.Utils
This fixed-regular expression matcher.
mayContainTemplateBody() - Method in class tomp.ext.ext.EXTResultDocument
Determine whether this type of element is allowed to contain a template-body

N

namePool - Variable in class tomp.ext.TreeSourceBuilder
 
namespaces - Variable in class tomp.ext.TreeSourceBuilder
 
namespacesCount - Variable in class tomp.ext.TreeSourceBuilder
 
newAttributeCollection() - Method in class tomp.ext.TreeSourceBuilder
Creates a new empty attribute collection.
newBuilder() - Method in class tomp.ext.Application
Creates a new SAXON TinyBuilder
newDocument() - Method in class tomp.ext.Application
Builds a new org.w3c.dom.Document with the default docBuilder
newEmptyAC() - Method in class tomp.ext.Application
Creates a new empty SAX2 AttributeCollection
newNSArrayForName(int) - Method in class tomp.ext.Application
 
newTemplates(Source) - Method in class tomp.ext.Application
Builds a new javax.xml.transform.Templates from javax.xml.transform.Source src with the default transformerFactory
newTemplatesHandler() - Method in class tomp.ext.Application
 
nextFile() - Method in class tomp.ext.util.file.FileSet
 
nextSourceFile() - Method in class tomp.ext.util.file.FileSet
 
nextStyleFile() - Method in class tomp.ext.util.file.FileSet
 
NONE - Static variable in class tomp.ext.Application
 
NONE - Static variable in class tomp.ext.ActionResult
 
NOPUSH - Static variable in class tomp.ext.ActionResult
 

O

ok - Variable in class tomp.ext.validator.xslt.XSLTErrorDetector
 
OK - Static variable in class tomp.ext.ActionResult
 
openElements - Variable in class tomp.ext.TreeSourceBuilder
 
openElementsCount - Variable in class tomp.ext.TreeSourceBuilder
 
outputStream() - Method in class tomp.ext.servlet.StartApplicationAction
 
ownerLabel(Item) - Method in class tomp.ext.compiler.Parameter
 

P

page2Tree(TreeSourceBuilder, ServletConfig) - Static method in class tomp.ext.servlet.ServletSourceBuilder
The builder (not null) must be created before calling to this and the document being built must be already started.
Parameter - class tomp.ext.compiler.Parameter.
 
Parameter(String, String, String, String, String, String, String, String) - Constructor for class tomp.ext.compiler.Parameter
 
params - Variable in class tomp.ext.compiler.Item
 
parent - Variable in class tomp.ext.compiler.Item
 
prepareAttributes() - Method in class tomp.ext.ext.EXTResultDocument
 
previous - Variable in class tomp.ext.Action
 
priority - Variable in class tomp.ext.compiler.Item
 
process(XSLTContext) - Method in class tomp.ext.ext.EXTResultDocument
 
processChildren() - Method in class tomp.ext.compiler.Item
 
processingInstruction(String, String) - Method in class tomp.ext.validator.xslt.XSLTErrorDetector
 
produceFrom() - Method in class tomp.ext.compiler.Parameter
 
produceGet() - Method in class tomp.ext.compiler.Parameter
 
produceGetMethod() - Method in class tomp.ext.compiler.Parameter
 
produceImports(StringBuffer, int) - Method in class tomp.ext.compiler.Item
 
produceItems(StringBuffer, int) - Method in class tomp.ext.compiler.Item
 
producePackageDecl(StringBuffer, int) - Method in class tomp.ext.compiler.Item
 
produceRegistering(StringBuffer, int) - Method in class tomp.ext.compiler.Application
 
produceRegisteringForServlet(StringBuffer, int) - Method in class tomp.ext.compiler.Application
 
produceScope() - Method in class tomp.ext.compiler.Parameter
 
produceServletSource(StringBuffer, int) - Method in class tomp.ext.compiler.Application
 
produceSetParameter(Item, StringBuffer, int) - Method in class tomp.ext.compiler.Parameter
 
produceSource(StringBuffer, int) - Method in class tomp.ext.compiler.Item
 
produceSource(StringBuffer, int) - Method in class tomp.ext.compiler.ComposedItem
 
produceSource(StringBuffer, int) - Method in class tomp.ext.compiler.Application
 
produceSource(StringBuffer, int) - Method in class tomp.ext.compiler.Action
 
PropertiesSource - class tomp.ext.system.PropertiesSource.
Class PropertiesSource is an implementation of the Source interface, providing access to java.util.Properties.
PropertiesSource(Action, String, Validator, BuiltTreeSource[], boolean, boolean, Properties, String) - Constructor for class tomp.ext.system.PropertiesSource
 
PropertiesSource(Action, String, Validator, BuiltTreeSource[], boolean, boolean, String, String, String, Properties, String) - Constructor for class tomp.ext.system.PropertiesSource
 
PUSH - Static variable in class tomp.ext.ActionResult
 
put(String, Object) - Method in class tomp.ext.Action
 
put(String, Object) - Method in class tomp.ext.cmd.GenericAction
The objects are stored at this action's HashMap
put(String, Object) - Method in class tomp.ext.servlet.StartSessionAction
 
put(String, Object) - Method in class tomp.ext.servlet.StartApplicationAction
 
put(String, Object) - Method in class tomp.ext.servlet.RequestAction
 

R

registerActionClass(Class, Class) - Method in class tomp.ext.Application
Register an action class
REPEAT - Static variable in class tomp.ext.ActionResult
 
request2Tree(TreeSourceBuilder, HttpServletRequest) - Static method in class tomp.ext.servlet.ServletSourceBuilder
This builds a XML tree for HttpServletRequest.
RequestAction - class tomp.ext.servlet.RequestAction.
Class RequestAction is an extension of the simple ServletAction.
RequestAction(ServletAction) - Constructor for class tomp.ext.servlet.RequestAction
 
RequestAction(ServletAction, HttpServletRequest, HttpServletResponse) - Constructor for class tomp.ext.servlet.RequestAction
 
resolve(String, String) - Method in class tomp.ext.EXTURIResolver
Overridden method of the original URIResolver.
resolveResult(String) - Method in class tomp.ext.EXTURIResolver
New method of the EXTURIResolver.
result - Variable in class tomp.ext.Transformation
 
result - Variable in class tomp.ext.Action
 
Result - interface tomp.ext.Result.
The Result objects act as a target for storing a result tree fragment.
result() - Method in class tomp.ext.Action
Get the ActionResult
returnCodeOnException - Variable in class tomp.ext.compiler.Item
 
revertNS() - Method in class tomp.ext.TreeSourceBuilder
Reverts to the original Namespace.
rootName - Variable in class tomp.ext.BuiltTreeSource
 
run(ConsoleApplication, String[]) - Static method in class tomp.ext.cmd.ConsoleApplication
Static method starting a ConsoleApplication.
run(String[]) - Method in class tomp.ext.cmd.ConsoleApplication
This nonstatic function does the actual ConsoleApplication invoking.

S

saveSource() - Method in class tomp.ext.compiler.ComposedItem
 
saveSource() - Method in class tomp.ext.compiler.Application
 
scope - Variable in class tomp.ext.compiler.Parameter
 
service(HttpServletRequest, HttpServletResponse) - Method in class tomp.ext.servlet.ServletApplication
Actually perfoms the HttpServlet.service(req, res) method that is forwarded to this method by the extended EXTServlet.service(req, res)
The method creates and launches actions according to the: HttpSession bound to the request and request parameter action
service(HttpServletRequest, HttpServletResponse) - Method in class tomp.ext.servlet.EXTServlet
 
service(HttpServletRequest, HttpServletResponse) - Method in class tomp.ext.servlet.AdvancedServletApplication
Actually perfoms the HttpServlet.service(req, res) method that is forwarded to this method by the extended EXTServlet.service(req, res)
The method creates and launches actions according to the: HttpSession bound to the request and request parameter action
servlet - Variable in class tomp.ext.servlet.ServletApplication
 
ServletAction - class tomp.ext.servlet.ServletAction.
Class ServletAction is an abstract extension of the basic abstract Action.
ServletAction(ServletAction) - Constructor for class tomp.ext.servlet.ServletAction
 
ServletAction(ServletApplication) - Constructor for class tomp.ext.servlet.ServletAction
 
ServletApplication - class tomp.ext.servlet.ServletApplication.
Class ServletApplication is an extension of the simple Application.
ServletApplication(HttpServlet) - Constructor for class tomp.ext.servlet.ServletApplication
Initializes the superclass (Application) object, i.e. all the standard settings regarding XML,...
servletOutputStream() - Method in class tomp.ext.servlet.RequestAction
 
ServletSource - class tomp.ext.servlet.ServletSource.
Class ServletSource is an implementation of the Source interface, providing access to the objects available in the servlet.
ServletSource(ServletAction, String, Validator, BuiltTreeSource[], boolean, boolean, String) - Constructor for class tomp.ext.servlet.ServletSource
 
ServletSource(ServletAction, String, Validator, BuiltTreeSource[], boolean, boolean, String, String, String, String) - Constructor for class tomp.ext.servlet.ServletSource
 
ServletSourceBuilder - class tomp.ext.servlet.ServletSourceBuilder.
Class serving as tree builder for those EXT ServletSources that need it.
ServletSourceBuilder(ServletApplication) - Constructor for class tomp.ext.servlet.ServletSourceBuilder
Constructs the ServletSourceBuilder.
session2Tree(TreeSourceBuilder, HttpSession) - Static method in class tomp.ext.servlet.ServletSourceBuilder
This builds a XML tree for HttpSession.
setActionsSourcePath(String) - Method in class tomp.ext.compiler.Application
 
setActionsTargetPath(String) - Method in class tomp.ext.compiler.Application
 
setApplication(ServletApplication) - Method in class tomp.ext.servlet.EXTServlet
 
setClassPath(String) - Method in class tomp.ext.compiler.Application
 
setContentType(String) - Method in class tomp.ext.Transformation
Sets the MIME Content-Type (useful typically for HttpServletResponse)
setContentType(String) - Method in class tomp.ext.servlet.Transformation2Response
Sets the MIME Content-Type header on the HttpServletResponse.
setImports(Set) - Method in class tomp.ext.compiler.Item
 
setParameter(String, Object) - Method in class tomp.ext.Transformation
Sets a paramater to the XSLT transformation
setParameter(String, Object) - Method in class tomp.ext.Action
Set the named parameter (simulated by putting a named object)
setProperties(Properties) - Method in class tomp.ext.system.PropertiesSource
 
setResult(ActionResult) - Method in class tomp.ext.Action
Set the ActionResult
setServletSourcePath(String) - Method in class tomp.ext.compiler.Application
 
setServletTargetPath(String) - Method in class tomp.ext.compiler.Application
 
setSourcePath(String) - Method in class tomp.ext.compiler.Item
 
setTargetPath(String) - Method in class tomp.ext.compiler.Item
 
setWhatCatch(String) - Method in class tomp.ext.compiler.Item
 
shouldCONTINUE() - Method in class tomp.ext.ActionResult
 
shouldFINISH() - Method in class tomp.ext.ActionResult
 
shouldNOTPUSH() - Method in class tomp.ext.ActionResult
 
shouldPUSH() - Method in class tomp.ext.ActionResult
 
shouldREPEAT() - Method in class tomp.ext.ActionResult
 
SchematronValidator - class tomp.ext.validator.xslt.SchematronValidator.
The SchematronValidator is a simple extension of the generic XSLTGenericValidator.
SchematronValidator(Action, String, Validator, String, Source, Style) - Constructor for class tomp.ext.validator.xslt.SchematronValidator
 
source - Variable in class tomp.ext.Transformation
 
source - Variable in class tomp.ext.Style
 
source - Variable in class tomp.ext.util.file.FileSet
 
Source - interface tomp.ext.Source.
The Source objects act as an abstract source for providing a (possibly validated) javax.xml.transfom.Source.
sourceConvertPatternMatch - Variable in class tomp.ext.util.file.FileSet
 
sourceConvertPatternReplace - Variable in class tomp.ext.util.file.FileSet
 
sourcePath - Variable in class tomp.ext.compiler.Item
 
SQLSelectSource - class tomp.ext.jdbc.SQLSelectSource.
Wrapper for a SQL SELECT command.
SQLSelectSource(Action, String, Validator, JDBCConnection, String, String, String, String, String) - Constructor for class tomp.ext.jdbc.SQLSelectSource
Constructs the SQLSelectSource.
SQLUpdate - class tomp.ext.jdbc.SQLUpdate.
The SQL UPDATE command wrapper.
SQLUpdate(Action, String, Validator, JDBCConnection, String) - Constructor for class tomp.ext.jdbc.SQLUpdate
Constructs the SQL UPDATE command wrapper.
srcNsPrefix - Variable in class tomp.ext.BuiltTreeSource
 
srcNsURI - Variable in class tomp.ext.BuiltTreeSource
 
StartApplicationAction - class tomp.ext.servlet.StartApplicationAction.
Class StartApplicationAction is an exntesion of the simple ServletAction.
StartApplicationAction(ServletApplication, HttpServlet) - Constructor for class tomp.ext.servlet.StartApplicationAction
 
startDocument() - Method in class tomp.ext.TreeSourceBuilder
Starts a new document.
startDocument() - Method in class tomp.ext.validator.xslt.XSLTErrorDetector
 
startElement(int) - Method in class tomp.ext.TreeSourceBuilder
Starts a new element, using name code of the element to create.
startElement(int, Attributes, int[], int) - Method in class tomp.ext.validator.xslt.XSLTErrorDetector
 
startElement(String) - Method in class tomp.ext.TreeSourceBuilder
Starts a new element, using currently selected Namespace and localname of the element to create.
startInputDocument(Builder) - Method in class tomp.ext.Application
 
startProcessing() - Method in class tomp.ext.Base
Called when processing starts.
StartSessionAction - class tomp.ext.servlet.StartSessionAction.
Class StartSessionAction is an extension of the simple ServletAction.
StartSessionAction(ServletAction) - Constructor for class tomp.ext.servlet.StartSessionAction
 
StartSessionAction(ServletAction, HttpSession) - Constructor for class tomp.ext.servlet.StartSessionAction
 
status - Variable in class tomp.ext.Base
 
STATUS - Static variable in class tomp.ext.Base
String representation of the object status: whether it is just created (not processed), processed (ready or aborted), processed (valid or invalid)
STATUS_ABORTED - Static variable in class tomp.ext.Base
 
STATUS_IN_PROCESSING - Static variable in class tomp.ext.Base
 
STATUS_NOT_PROCESSED - Static variable in class tomp.ext.Base
Codes of the object status: whether it is just created (not processed), processed (ready or aborted), processed (valid or invalid)
STATUS_READY - Static variable in class tomp.ext.Base
 
STATUS_READY_INVALID - Static variable in class tomp.ext.Base
 
STATUS_READY_VALID - Static variable in class tomp.ext.Base
 
STDERR - Static variable in class tomp.ext.Application
 
style - Variable in class tomp.ext.util.file.FileSet
 
Style - class tomp.ext.Style.
This Style class wraps a javax.xml.transform.Templates object created from a specified tomp.ext.Source Does not have any validator.
Style(Action, String, Source) - Constructor for class tomp.ext.Style
 
styleConvertPatternMatch - Variable in class tomp.ext.util.file.FileSet
 
styleConvertPatternReplace - Variable in class tomp.ext.util.file.FileSet
 
substitute(String, String, String) - Static method in class tomp.ext.ext.Utils
This fixed-regular expression substitution is used generally when any substitution is needed.
substituteParams(String, List) - Static method in class tomp.ext.compiler.Parameter
 
substParamNames(String) - Static method in class tomp.ext.ext.Utils
This fixed-regular expression substitution is used when actual parameters are substituted to the $params in the strings.
switchNS(int) - Method in class tomp.ext.TreeSourceBuilder
The same but with Namespace code instead of URI.
switchNS(String, String) - Method in class tomp.ext.TreeSourceBuilder
Switch to a new Namespace as default for further processing.
SystemSource - class tomp.ext.system.SystemSource.
Class SystemSource is an extension of the PropertiesSource, providing access to System.properties.
SystemSource(Action, String, Validator, BuiltTreeSource[], boolean, boolean, String) - Constructor for class tomp.ext.system.SystemSource
 
SystemSource(Action, String, Validator, BuiltTreeSource[], boolean, boolean, String, String, String, String) - Constructor for class tomp.ext.system.SystemSource
 

T

targetPath - Variable in class tomp.ext.compiler.Item
 
templates - Variable in class tomp.ext.Style
 
textElement(int, String) - Method in class tomp.ext.TreeSourceBuilder
Creates a new text element, i.e. element with text-only content, using name code of the element to create.
textElement(String, String) - Method in class tomp.ext.TreeSourceBuilder
Creates a new text element, i.e. element with text-only content, using currently selected Namespace and localname of the element to create.
tomp.ext - package tomp.ext
 
tomp.ext.cmd - package tomp.ext.cmd
 
tomp.ext.compiler - package tomp.ext.compiler
 
tomp.ext.ext - package tomp.ext.ext
 
tomp.ext.jdbc - package tomp.ext.jdbc
 
tomp.ext.servlet - package tomp.ext.servlet
 
tomp.ext.source - package tomp.ext.source
 
tomp.ext.system - package tomp.ext.system
 
tomp.ext.transform - package tomp.ext.transform
 
tomp.ext.util.file - package tomp.ext.util.file
 
tomp.ext.validator - package tomp.ext.validator
 
tomp.ext.validator.xslt - package tomp.ext.validator.xslt
 
toplevel - Variable in class tomp.ext.BuiltTreeSource
 
toString() - Method in class tomp.ext.compiler.ItemParameter
 
toUpdate - Variable in class tomp.ext.compiler.Item
 
trace() - Method in class tomp.ext.Action
 
Transformation - class tomp.ext.Transformation.
This abstract Transformation class does a XSLT transformation of provided Source via specified Style.
Transformation(Action, String, Validator, Source, Style) - Constructor for class tomp.ext.Transformation
 
Transformation2DOM - class tomp.ext.transform.Transformation2DOM.
 
Transformation2DOM(Action, String, Validator, Source, Style) - Constructor for class tomp.ext.transform.Transformation2DOM
 
Transformation2File - class tomp.ext.transform.Transformation2File.
 
Transformation2File(Action, String, Validator, Source, Style, File) - Constructor for class tomp.ext.transform.Transformation2File
 
Transformation2Response - class tomp.ext.servlet.Transformation2Response.
Transformation2Response class does a XSLT transformation of provided Source via specified Style to the HttpServletResponse.getOutputStream() output stream.
Transformation2Response(ServletAction, String, Validator, Source, Style) - Constructor for class tomp.ext.servlet.Transformation2Response
Constructs the Transformation2Response.
Transformation2Stream - class tomp.ext.transform.Transformation2Stream.
 
Transformation2Stream(Action, String, Validator, Source, Style, OutputStream) - Constructor for class tomp.ext.transform.Transformation2Stream
 
transformer - Variable in class tomp.ext.Transformation
 
TreeSource - class tomp.ext.TreeSource.
Abstract basic class for all sources based on SAXON Trees.
TreeSource(Action, String, Validator) - Constructor for class tomp.ext.TreeSource
Constructs the TreeSource.
TreeSourceBuilder - class tomp.ext.TreeSourceBuilder.
Class serving as tree builder for those EXT Sources that need it.
TreeSourceBuilder(Application) - Constructor for class tomp.ext.TreeSourceBuilder
Constructs the TreeSourceBuilder.
TreeSourceResult - class tomp.ext.TreeSourceResult.
The TreeSourceResult objects act as a SAXON-Tree-based variable for result tree fragments.
TreeSourceResult(Action, String, Validator) - Constructor for class tomp.ext.TreeSourceResult
 
type - Variable in class tomp.ext.compiler.Parameter
 
type - Variable in class tomp.ext.compiler.ItemParameter
 
type - Variable in class tomp.ext.compiler.Item
 

U

update() - Method in class tomp.ext.Transformation
Performs the actual transformation.
update() - Method in class tomp.ext.Style
Creates the javax.xml.transform.Templates object from provided Source.
update() - Method in class tomp.ext.BuiltTreeSource
 
update() - Method in class tomp.ext.jdbc.SQLUpdate
Sends the actual query to the JDBC Connection.
update() - Method in class tomp.ext.jdbc.SQLSelectSource
Builds the XML tree for the data returned from a SQL SELECT query.
update(TreeSourceBuilder) - Method in class tomp.ext.BuiltTreeSource
 
url - Variable in class tomp.ext.source.URLSource
 
URLSource - class tomp.ext.source.URLSource.
 
URLSource(Action, String, Validator, URL) - Constructor for class tomp.ext.source.URLSource
 
UserInfo - interface tomp.ext.servlet.UserInfo.
Interface UserInfo is a very simple representation of a user being logging into the system.
UserLoggedAction - class tomp.ext.servlet.UserLoggedAction.
Class UserLoggedAction is an extension of the RequestAction.
UserLoggedAction(ServletAction, HttpServletRequest, HttpServletResponse, UserInfo) - Constructor for class tomp.ext.servlet.UserLoggedAction
 
Utils - class tomp.ext.ext.Utils.
This class is a bridge to Perl5Util (or possibly to other Perl5-like RegExpr processor).
Utils() - Constructor for class tomp.ext.ext.Utils
 

V

validate() - Method in class tomp.ext.ext.EXTResultDocument
 
validate(Source) - Method in interface tomp.ext.validator.Validator
 
validate(Source) - Method in class tomp.ext.validator.xslt.XSLTGenericValidator
 
validator - Variable in class tomp.ext.Base
 
validator - Variable in class tomp.ext.validator.xslt.XSLTGenericValidator
 
Validator - interface tomp.ext.validator.Validator.
The Validator has only one method boolean validate(Source source) that tests the validity of the source and provides info whether the validation was successful, i.e. whether the Source was valid.
version - Variable in class tomp.ext.validator.xslt.XSLTGenericValidator
 

W

whatCatch - Variable in class tomp.ext.compiler.Item
 

X

XSLTErrorDetector - class tomp.ext.validator.xslt.XSLTErrorDetector.
The XSLTErrorDetector is an implementation of ErrorDetector.
XSLTErrorDetector() - Constructor for class tomp.ext.validator.xslt.XSLTErrorDetector
 
XSLTGenericValidator - class tomp.ext.validator.xslt.XSLTGenericValidator.
The XSLTGenericValidator is a simple implementation of XSLTGenericValidator on basis of XSLT transformations.
XSLTGenericValidator(Action, String, Validator, String, Source, Style) - Constructor for class tomp.ext.validator.xslt.XSLTGenericValidator
 

A B C D E F G H I J L M N O P R S T U V W X