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

A

ATTRIB - Static variable in class org.apache.tools.dvsl.DVSLNodeContext
Magic context entity that corresponds to a Map of attributes for the current node
AntLogSystem - class org.apache.tools.dvsl.AntLogSystem.
Implementation of a logger to output messages via an Ant Task's log method.
AntLogSystem(Task) - Constructor for class org.apache.tools.dvsl.AntLogSystem
Initialize this logger with a reference to the calling Ant Task
addContext(Context) - Method in class org.apache.tools.dvsl.DVSLContext
 
appVals - Variable in class org.apache.tools.dvsl.DVSL
 
appValue - Variable in class org.apache.tools.dvsl.Transformer
HashMap to hold application values
applyTemplates(String) - Method in interface org.apache.tools.dvsl.TransformTool
Applies templates in the current stylesheet to the nodeset returned by the XPath expression
applyTemplates(DVSLNode) - Method in interface org.apache.tools.dvsl.TransformTool
 
applyTemplates(DVSLNode, String) - Method in interface org.apache.tools.dvsl.TransformTool
 
applyTemplates() - Method in interface org.apache.tools.dvsl.TransformTool
 
applyTemplates(DVSLNode, String) - Method in class org.apache.tools.dvsl.Transformer
 
applyTemplates(DVSLNode) - Method in class org.apache.tools.dvsl.Transformer
 
applyTemplates() - Method in class org.apache.tools.dvsl.Transformer
 
applyTemplates(String) - Method in class org.apache.tools.dvsl.Transformer
 
astmap - Variable in class org.apache.tools.dvsl.TemplateHandler
 
attrib(String) - Method in interface org.apache.tools.dvsl.DVSLNode
returns attribute
attrib(String) - Method in class org.apache.tools.dvsl.dom4j.Dom4jNodeImpl
 
attribute(String) - Method in class org.apache.tools.dvsl.dom4j.Dom4jNodeImpl
returns a specificed attributeattribute
attributes - Variable in class org.apache.tools.dvsl.dom4j.Dom4jNodeImpl
 

B

baseContext - Variable in class org.apache.tools.dvsl.DVSL
 
baseContext - Variable in class org.apache.tools.dvsl.Transformer
basic context passed to us - can contain tools and such for use.
baseDir - Variable in class org.apache.tools.dvsl.DVSLTask
 

C

children() - Method in interface org.apache.tools.dvsl.DVSLNode
returns a list of all children of the current node
children() - Method in class org.apache.tools.dvsl.dom4j.Dom4jNodeImpl
 
classLoader - Variable in class org.apache.tools.dvsl.DVSL
 
classLoader - Variable in class org.apache.tools.dvsl.DVSLTask
 
classpath - Variable in class org.apache.tools.dvsl.DVSLTask
 
clearContexts() - Method in class org.apache.tools.dvsl.DVSLContext
 
clearNode() - Method in class org.apache.tools.dvsl.DVSLContext
 
clearNode() - Method in class org.apache.tools.dvsl.DVSLNodeContext
 
configureVelocityEngine(VelocityEngine, Map) - Method in class org.apache.tools.dvsl.DVSL
Adds the allowed properties from the Properties to the velocity engine
contextList - Variable in class org.apache.tools.dvsl.DVSLContext
 
copy() - Method in interface org.apache.tools.dvsl.DVSLNode
renders a deep copy of the XML tree below the current node to the output
copy(List) - Method in interface org.apache.tools.dvsl.DVSLNode
renders a deep copy of the nodes in the list ot the output
copy() - Method in interface org.apache.tools.dvsl.TransformTool
 
copy() - Method in class org.apache.tools.dvsl.Transformer
 
copy(List) - Method in class org.apache.tools.dvsl.dom4j.Dom4jNodeImpl
assumes a list of DVSLNodes
copy() - Method in class org.apache.tools.dvsl.dom4j.Dom4jNodeImpl
 
copy(Node, Writer) - Method in class org.apache.tools.dvsl.dom4j.Dom4jNodeImpl
 
createClasspath() - Method in class org.apache.tools.dvsl.DVSLTask
Set the classpath to load the Processor through (nested element).
createTool() - Method in class org.apache.tools.dvsl.DVSLTask
support for <tool> nested element
createVelConfig() - Method in class org.apache.tools.dvsl.DVSLTask
support for <velconfig> nested element
ctx - Variable in class org.apache.tools.dvsl.DVSLContext
 
ctx - Variable in class org.apache.tools.dvsl.DVSLNodeContext
 
currentContext - Variable in class org.apache.tools.dvsl.Transformer
context used during processing.
currentDocument - Variable in class org.apache.tools.dvsl.DVSL
 
currentWriter - Variable in class org.apache.tools.dvsl.DVSL
 

D

DVSL - class org.apache.tools.dvsl.DVSL.
Main DVSL class - use this as the helper class for apps
DVSL() - Constructor for class org.apache.tools.dvsl.DVSL
 
DVSLContext - class org.apache.tools.dvsl.DVSLContext.
Context implementation that handles wrapping several contexts simultaneously.
DVSLContext() - Constructor for class org.apache.tools.dvsl.DVSLContext
 
DVSLNode - interface org.apache.tools.dvsl.DVSLNode.
wrapper interface for nodes exposed in the template.
DVSLNodeContext - class org.apache.tools.dvsl.DVSLNodeContext.
Context implementation that is the outer context during the transformation.
DVSLNodeContext(Context) - Constructor for class org.apache.tools.dvsl.DVSLNodeContext
 
DVSLNodeContext() - Constructor for class org.apache.tools.dvsl.DVSLNodeContext
 
DVSLTask - class org.apache.tools.dvsl.DVSLTask.
A Task to process via DVSL a set of XML documents.
DVSLTask() - Constructor for class org.apache.tools.dvsl.DVSLTask
Creates a new DVSLTask Task.
DVSLTask.Tool - class org.apache.tools.dvsl.DVSLTask.Tool.
 
DVSLTask.Tool() - Constructor for class org.apache.tools.dvsl.DVSLTask.Tool
 
DVSLTask.VelocityConfig - class org.apache.tools.dvsl.DVSLTask.VelocityConfig.
 
DVSLTask.VelocityConfig() - Constructor for class org.apache.tools.dvsl.DVSLTask.VelocityConfig
 
Dom4jNodeImpl - class org.apache.tools.dvsl.dom4j.Dom4jNodeImpl.
wrapper class for dom4j nodes to implement the DVSLNode interface for template use
Dom4jNodeImpl(Element) - Constructor for class org.apache.tools.dvsl.dom4j.Dom4jNodeImpl
this is a bit yecchy - need to revamp
Dom4jNodeImpl(Document) - Constructor for class org.apache.tools.dvsl.dom4j.Dom4jNodeImpl
 
Dom4jNodeImpl(Text) - Constructor for class org.apache.tools.dvsl.dom4j.Dom4jNodeImpl
 
Dom4jNodeImpl(Attribute) - Constructor for class org.apache.tools.dvsl.dom4j.Dom4jNodeImpl
 
Dom4jNodeImpl(Comment) - Constructor for class org.apache.tools.dvsl.dom4j.Dom4jNodeImpl
 
Dom4jNodeImpl(CDATA) - Constructor for class org.apache.tools.dvsl.dom4j.Dom4jNodeImpl
 
Dom4jNodeImpl() - Constructor for class org.apache.tools.dvsl.dom4j.Dom4jNodeImpl
 
destDir - Variable in class org.apache.tools.dvsl.DVSLTask
 
dvsl - Variable in class org.apache.tools.dvsl.DVSLTask
 

E

element - Variable in class org.apache.tools.dvsl.dom4j.Dom4jNodeImpl
 
ensureDirectoryFor(File) - Method in class org.apache.tools.dvsl.DVSLTask
 
execute() - Method in class org.apache.tools.dvsl.DVSLTask
Executes the task.

F

force - Variable in class org.apache.tools.dvsl.DVSLTask
 

G

get(String) - Method in interface org.apache.tools.dvsl.DVSLNode
 
get(String) - Method in interface org.apache.tools.dvsl.TransformTool
 
get(String) - Method in class org.apache.tools.dvsl.Transformer
 
get(String) - Method in class org.apache.tools.dvsl.dom4j.Dom4jNodeImpl
 
getAppValue(Object) - Method in class org.apache.tools.dvsl.DVSL
Gets the application value for the specified key
getAppValue(Object) - Method in interface org.apache.tools.dvsl.TransformTool
 
getAppValue(Object) - Method in class org.apache.tools.dvsl.Transformer
 
getAttribMap() - Method in interface org.apache.tools.dvsl.DVSLNode
 
getAttribMap() - Method in class org.apache.tools.dvsl.dom4j.Dom4jNodeImpl
 
getName() - Method in class org.apache.tools.dvsl.DVSLTask.Tool
 
getName() - Method in class org.apache.tools.dvsl.DVSLTask.VelocityConfig
 
getName() - Method in class org.apache.tools.dvsl.directive.MatchDirective
 
getName() - Method in class org.apache.tools.dvsl.directive.NameDirective
 
getNodeImpl() - Method in interface org.apache.tools.dvsl.DVSLNode
returns the object corresponding to the node in the implementaion that we are using.
getNodeImpl() - Method in class org.apache.tools.dvsl.dom4j.Dom4jNodeImpl
 
getType() - Method in class org.apache.tools.dvsl.directive.MatchDirective
 
getType() - Method in class org.apache.tools.dvsl.directive.NameDirective
 
getValue() - Method in class org.apache.tools.dvsl.DVSLTask.Tool
 
getValue() - Method in class org.apache.tools.dvsl.DVSLTask.VelocityConfig
 

I

INFILENAME - Static variable in class org.apache.tools.dvsl.DVSLTask
Supported app values
INTEGER_PROP_PREFIX - Static variable in class org.apache.tools.dvsl.DVSL
 
inFile - Variable in class org.apache.tools.dvsl.DVSLTask
 
init(RuntimeServices) - Method in class org.apache.tools.dvsl.AntLogSystem
Initialize the logger.
internalContainsKey(Object) - Method in class org.apache.tools.dvsl.DVSLContext
determines if there is a value for the given key
internalContainsKey(Object) - Method in class org.apache.tools.dvsl.DVSLNodeContext
determines if there is a value for the given key
internalGet(String) - Method in class org.apache.tools.dvsl.DVSLContext
retrieves value for key from internal storage
internalGet(String) - Method in class org.apache.tools.dvsl.DVSLNodeContext
retrieves value for key from internal storage
internalGetKeys() - Method in class org.apache.tools.dvsl.DVSLContext
returns array of keys $$$ GMJ todo
internalGetKeys() - Method in class org.apache.tools.dvsl.DVSLNodeContext
returns array of keys $$$ GMJ todo
internalPut(String, Object) - Method in class org.apache.tools.dvsl.DVSLContext
stores the value for key to internal storage
internalPut(String, Object) - Method in class org.apache.tools.dvsl.DVSLNodeContext
stores the value for key to internal storage
internalRemove(Object) - Method in class org.apache.tools.dvsl.DVSLContext
remove a key/value pair from the internal storage
internalRemove(Object) - Method in class org.apache.tools.dvsl.DVSLNodeContext
remove a key/value pair from the internal storage
invoke(DVSLNode, Writer) - Method in class org.apache.tools.dvsl.Transformer
 

L

logFile - Variable in class org.apache.tools.dvsl.DVSL
 
logFile - Variable in class org.apache.tools.dvsl.DVSLTask
 
logVelocityMessage(int, String) - Method in class org.apache.tools.dvsl.AntLogSystem
Log Velocity messages through the Ant Task log method.
logger - Variable in class org.apache.tools.dvsl.DVSL
 

M

MatchDirective - class org.apache.tools.dvsl.directive.MatchDirective.
Velocity Directive to handle template registration of match declarations (like the XSLT match=)
MatchDirective() - Constructor for class org.apache.tools.dvsl.directive.MatchDirective
 
main(String[]) - Static method in class org.apache.tools.dvsl.DVSL
Allows command-line access.
makeDVSLNode(Node) - Method in class org.apache.tools.dvsl.dom4j.Dom4jNodeImpl
will recast all of this later
makeReady() - Method in class org.apache.tools.dvsl.DVSL
sets up all the context goodies

N

NODE - Static variable in class org.apache.tools.dvsl.DVSLNodeContext
Magic context entity that corresponds to the current node
NameDirective - class org.apache.tools.dvsl.directive.NameDirective.
To implement the functionality of
NameDirective() - Constructor for class org.apache.tools.dvsl.directive.NameDirective
 
name() - Method in interface org.apache.tools.dvsl.DVSLNode
returns the name of the node
name - Variable in class org.apache.tools.dvsl.DVSLTask.Tool
 
name - Variable in class org.apache.tools.dvsl.DVSLTask.VelocityConfig
 
name() - Method in class org.apache.tools.dvsl.dom4j.Dom4jNodeImpl
returns the name of the node
nodeStack - Variable in class org.apache.tools.dvsl.DVSLContext
Used to hold the nodes as we get invoked from within the document for applyTemplates() duties
nodeStack - Variable in class org.apache.tools.dvsl.DVSLNodeContext
Used to hold the nodes as we get invoked from within the document for applyTemplates() duties

O

OUTFILENAME - Static variable in class org.apache.tools.dvsl.DVSLTask
 
org.apache.tools.dvsl - package org.apache.tools.dvsl
 
org.apache.tools.dvsl.directive - package org.apache.tools.dvsl.directive
 
org.apache.tools.dvsl.dom4j - package org.apache.tools.dvsl.dom4j
 
outFile - Variable in class org.apache.tools.dvsl.DVSLTask
 
outputEncoding - Variable in class org.apache.tools.dvsl.DVSLTask
 

P

peekNode() - Method in class org.apache.tools.dvsl.DVSLContext
 
peekNode() - Method in class org.apache.tools.dvsl.DVSLNodeContext
 
popNode() - Method in class org.apache.tools.dvsl.DVSLContext
 
popNode() - Method in class org.apache.tools.dvsl.DVSLNodeContext
 
process(File, String, File, File) - Method in class org.apache.tools.dvsl.DVSLTask
Processes the given input XML file and stores the result in the given resultFile.
process(File, File, File) - Method in class org.apache.tools.dvsl.DVSLTask
 
pushNode(DVSLNode) - Method in class org.apache.tools.dvsl.DVSLContext
 
pushNode(DVSLNode) - Method in class org.apache.tools.dvsl.DVSLNodeContext
 
putAppValue(Object, Object) - Method in class org.apache.tools.dvsl.DVSL
Sets the application value for the specified key
putAppValue(String, Object) - Method in class org.apache.tools.dvsl.DVSLTask
Sets an application value from outside of the DVSL task
putAppValue(Object, Object) - Method in interface org.apache.tools.dvsl.TransformTool
 
putAppValue(Object, Object) - Method in class org.apache.tools.dvsl.Transformer
 

R

ready - Variable in class org.apache.tools.dvsl.DVSL
 
registerMatch(String, SimpleNode) - Method in class org.apache.tools.dvsl.TemplateHandler
 
render(DVSLNode, Context, Writer) - Method in class org.apache.tools.dvsl.TemplateHandler
 
render(InternalContextAdapter, Writer, Node) - Method in class org.apache.tools.dvsl.directive.MatchDirective
 
render(InternalContextAdapter, Writer, Node) - Method in class org.apache.tools.dvsl.directive.NameDirective
 
render() - Method in class org.apache.tools.dvsl.dom4j.Dom4jNodeImpl
 

S

STRING_PROP_PREFIX - Static variable in class org.apache.tools.dvsl.DVSL
 
saxReader - Variable in class org.apache.tools.dvsl.Transformer
SAXReader that we reuse for every document.
selectNodes(String) - Method in interface org.apache.tools.dvsl.DVSLNode
returns a list of nodes that satisfy the xpath
selectNodes(String) - Method in class org.apache.tools.dvsl.dom4j.Dom4jNodeImpl
returns a list of nodes that satisfy the xpath
selectSingleNode(String) - Method in interface org.apache.tools.dvsl.DVSLNode
returns a single node that satisfies the xpath
selectSingleNode(String) - Method in class org.apache.tools.dvsl.dom4j.Dom4jNodeImpl
 
setBasedir(File) - Method in class org.apache.tools.dvsl.DVSLTask
Set the base directory.
setClassLoader(ClassLoader) - Method in class org.apache.tools.dvsl.DVSL
Specify a classloader for loading the Toolbox classes.
setClasspath(Path) - Method in class org.apache.tools.dvsl.DVSLTask
Set the classpath to load the Processor through (attribute).
setClasspathRef(Reference) - Method in class org.apache.tools.dvsl.DVSLTask
Set the classpath to load the Processor through via reference (attribute).
setDestdir(File) - Method in class org.apache.tools.dvsl.DVSLTask
Set the destination directory where the generated files should be directed.
setExtension(String) - Method in class org.apache.tools.dvsl.DVSLTask
Set the desired file extension to be used for the target files.
setForce(boolean) - Method in class org.apache.tools.dvsl.DVSLTask
Set whether to check dependencies, or always generate.
setIn(File) - Method in class org.apache.tools.dvsl.DVSLTask
Sets an input xml file to be styled
setLogFile(File) - Method in class org.apache.tools.dvsl.DVSL
lets the user specify a filename for logging.
setLogFile(File) - Method in class org.apache.tools.dvsl.DVSLTask
Sets the file to use for logging.
setLogSystem(LogSystem) - Method in class org.apache.tools.dvsl.DVSL
lets the user specify a class instance for logging.
setName(String) - Method in class org.apache.tools.dvsl.DVSLTask.Tool
 
setName(String) - Method in class org.apache.tools.dvsl.DVSLTask.VelocityConfig
 
setOut(File) - Method in class org.apache.tools.dvsl.DVSLTask
Sets an output file
setOutputEncoding(String) - Method in class org.apache.tools.dvsl.DVSLTask
Sets the character encoding for output files.
setStyle(File) - Method in class org.apache.tools.dvsl.DVSLTask
Sets the file to use for stylesheet.
setStyleContext(Context) - Method in class org.apache.tools.dvsl.DVSLContext
 
setStylesheet(String) - Method in class org.apache.tools.dvsl.DVSL
Convenience function.
setStylesheet(File) - Method in class org.apache.tools.dvsl.DVSL
Convenience function.
setStylesheet(Reader) - Method in class org.apache.tools.dvsl.DVSL
Sets the stylesheet for this transformation set
setToolbox(Properties) - Method in class org.apache.tools.dvsl.DVSL
Loads the toolbox from the input Properties.
setToolbox(String) - Method in class org.apache.tools.dvsl.DVSLTask
Deprecated. use setToolboxFile instead
setToolboxFile(File) - Method in class org.apache.tools.dvsl.DVSLTask
Sets the Toolbox properties file to use.
setUserContext(Context) - Method in class org.apache.tools.dvsl.DVSL
Sets the user context.
setValidatingParser(boolean) - Method in class org.apache.tools.dvsl.DVSL
Uses a validating parser on all input documents
setValidatingParser(boolean) - Method in class org.apache.tools.dvsl.DVSLTask
Sets the flag to have DVSL use a validating parser for the input documents
setValue(String) - Method in class org.apache.tools.dvsl.DVSLTask.Tool
 
setValue(String) - Method in class org.apache.tools.dvsl.DVSLTask.VelocityConfig
 
setVelocityConfig(Map) - Method in class org.apache.tools.dvsl.DVSL
lets the user pass a java.util.Properties containing properties for the configuration of the VelocityEngine used by DVSL
setVelocityConfigClass(String) - Method in class org.apache.tools.dvsl.DVSLTask
Allows the user to specify a class that implements Properties that will have user properties to be used when setting up DVSL.
styleContext - Variable in class org.apache.tools.dvsl.DVSL
 
styleContext - Variable in class org.apache.tools.dvsl.DVSLContext
 
stylesheet - Variable in class org.apache.tools.dvsl.DVSLTask
 

T

TOOLBOX_NAME - Static variable in class org.apache.tools.dvsl.DVSL
 
TOOL_PROP_PREFIX - Static variable in class org.apache.tools.dvsl.DVSL
 
TemplateHandler - class org.apache.tools.dvsl.TemplateHandler.
Currently provides the match rule accumulation as well as the AST storage and rendering Rule stuff might be replaced with the dom4j RuleManager
TemplateHandler() - Constructor for class org.apache.tools.dvsl.TemplateHandler
 
TransformTool - interface org.apache.tools.dvsl.TransformTool.
This is the tool interface exposed to the stylesheet.
Transformer - class org.apache.tools.dvsl.Transformer.
Class responsible for actual transformation of documents.
Transformer(VelocityEngine, TemplateHandler, Context, Map, boolean) - Constructor for class org.apache.tools.dvsl.Transformer
Sole public CTOR.
Transformer() - Constructor for class org.apache.tools.dvsl.Transformer
"Sealed for your protection."
targetExtension - Variable in class org.apache.tools.dvsl.DVSLTask
 
task - Variable in class org.apache.tools.dvsl.AntLogSystem
 
templateHandler - Variable in class org.apache.tools.dvsl.DVSL
 
templateHandler - Variable in class org.apache.tools.dvsl.Transformer
 
toString() - Method in interface org.apache.tools.dvsl.DVSLNode
returns the 'value' of the node
toString() - Method in class org.apache.tools.dvsl.dom4j.Dom4jNodeImpl
 
toolAttr - Variable in class org.apache.tools.dvsl.DVSLTask
 
toolContext - Variable in class org.apache.tools.dvsl.DVSL
 
toolboxFile - Variable in class org.apache.tools.dvsl.DVSLTask
 
toolboxProps - Variable in class org.apache.tools.dvsl.DVSLTask
 
transform(File, Writer) - Method in class org.apache.tools.dvsl.DVSL
 
transform(Reader, Writer) - Method in class org.apache.tools.dvsl.DVSL
 
transform(InputStream, Writer) - Method in class org.apache.tools.dvsl.DVSL
 
transform(Document, Writer) - Method in class org.apache.tools.dvsl.DVSL
Transforms the given dom4j Document into the writer.
transform(String, Writer) - Method in class org.apache.tools.dvsl.DVSL
 
transform(File, File) - Method in class org.apache.tools.dvsl.DVSLTask
Does the actual transform
transform(Reader, Writer) - Method in class org.apache.tools.dvsl.Transformer
Method that performs the transformation on a document
transform(Document, Writer) - Method in class org.apache.tools.dvsl.Transformer
 
transform(DVSLNode, Writer) - Method in class org.apache.tools.dvsl.Transformer
 
transformer - Variable in class org.apache.tools.dvsl.DVSL
 

U

userContext - Variable in class org.apache.tools.dvsl.DVSL
 

V

validate - Variable in class org.apache.tools.dvsl.DVSL
 
validatingParser - Variable in class org.apache.tools.dvsl.DVSLTask
 
value() - Method in interface org.apache.tools.dvsl.DVSLNode
returns the 'value' of the node
value - Variable in class org.apache.tools.dvsl.DVSLTask.Tool
 
value - Variable in class org.apache.tools.dvsl.DVSLTask.VelocityConfig
 
value() - Method in class org.apache.tools.dvsl.dom4j.Dom4jNodeImpl
 
valueOf(String) - Method in interface org.apache.tools.dvsl.DVSLNode
returns the value of the XPAth expression
valueOf(String) - Method in class org.apache.tools.dvsl.dom4j.Dom4jNodeImpl
 
ve - Variable in class org.apache.tools.dvsl.DVSL
 
ve - Variable in class org.apache.tools.dvsl.Transformer
Instance of VelocityEngine we are currently using.
velConfig - Variable in class org.apache.tools.dvsl.DVSL
 
velConfigAttr - Variable in class org.apache.tools.dvsl.DVSLTask
 
velConfigClass - Variable in class org.apache.tools.dvsl.DVSLTask
 
velConfigMap - Variable in class org.apache.tools.dvsl.DVSLTask
 

X

xform(Reader, Writer) - Method in class org.apache.tools.dvsl.DVSL
does the transformation of the inputstream into the output writer
xform(Document, Writer) - Method in class org.apache.tools.dvsl.DVSL
 
xpathList - Variable in class org.apache.tools.dvsl.TemplateHandler
 

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

Copyright (c) 2001-2002 Apache Software Foundation