Package eu.bandm.tools.xslt.base
Class Transformation.Loader
java.lang.Object
eu.bandm.tools.tdom.runtime.BaseVisitor
eu.bandm.tools.xslt.tdom.Visitor
eu.bandm.tools.xslt.base.CombinedVisitor
eu.bandm.tools.xslt.base.Transformation.Loader
- All Implemented Interfaces:
PCDataVisitor
- Enclosing class:
- Transformation
Copies top-level definitions from template into its own, structured
directories,
for named templates, pattern controlled templates, attribute value sets,
top-level parameters and variables.
Executes
Executes
Does not perform any context check beyond NamespaceName resolution.
Executes
Element_xsl_include
by visiting source level Templates
objects.
Executes
Element_xsl_import
by merging directories after their completion. Does not perform any context check beyond NamespaceName resolution.
-
Field Summary
Fields inherited from class eu.bandm.tools.xslt.base.CombinedVisitor
subtrees
Fields inherited from class eu.bandm.tools.tdom.runtime.BaseVisitor
validating
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) void
execute()
(package private) <T extends TypedElement<?,
?>>
voidtopParam
(CDataAttribute att, T el, String cat, Map<NamespaceName, T> map) void
visit
(eu.bandm.tools.xslt.tdom.Element_xsl_attribute_set as) ATTENTION assume evaluation of attribute value templates for attribute (local-)name and namespaceUri are FUNCTIONAL TRANSPARENT and only rely on "xpath current context node".void
visit
(eu.bandm.tools.xslt.tdom.Element_xsl_import t) Can be overridden by the user to define particular semantic operations.void
visit
(eu.bandm.tools.xslt.tdom.Element_xsl_include t) Can be overridden by the user to define particular semantic operations.void
visit
(eu.bandm.tools.xslt.tdom.Element_xsl_output e) Can be overridden by the user to define particular semantic operations.void
visit
(eu.bandm.tools.xslt.tdom.Element_xsl_param p) Can be overridden by the user to define particular semantic operations.void
visit
(eu.bandm.tools.xslt.tdom.Element_xsl_template t) Can be overridden by the user to define particular semantic operations.void
visit
(eu.bandm.tools.xslt.tdom.Element_xsl_variable p) Can be overridden by the user to define particular semantic operations.Methods inherited from class eu.bandm.tools.xslt.base.CombinedVisitor
testMulti, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visitMultiList, visitMultiListContents, visitResultElement
Methods inherited from class eu.bandm.tools.xslt.tdom.Visitor
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
Methods inherited from class eu.bandm.tools.tdom.runtime.BaseVisitor
visit
-
Field Details
-
origin
Top-level Templates object.
-
-
Constructor Details
-
Loader
Loader(Templates t)
-
-
Method Details
-
execute
void execute() -
visit
public void visit(eu.bandm.tools.xslt.tdom.Element_xsl_attribute_set as) ATTENTION assume evaluation of attribute value templates for attribute (local-)name and namespaceUri are FUNCTIONAL TRANSPARENT and only rely on "xpath current context node". Thus identic source texts violate the uniqueness condition => differences in source texts are necessary (but not sufficient!)- Overrides:
visit
in classeu.bandm.tools.xslt.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.xslt.tdom.Element_xsl_include t) Description copied from class:eu.bandm.tools.xslt.tdom.Visitor
Can be overridden by the user to define particular semantic operations. Will be called whenever the default model instance traversal (as implemented by the methods in this class) reaches such an element.
This default implementation descends into the element by callingvisit(..)
in turn for all selected attributes (seeBaseVisitor.validating
) .- Overrides:
visit
in classeu.bandm.tools.xslt.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.xslt.tdom.Element_xsl_import t) Description copied from class:eu.bandm.tools.xslt.tdom.Visitor
Can be overridden by the user to define particular semantic operations. Will be called whenever the default model instance traversal (as implemented by the methods in this class) reaches such an element.
This default implementation descends into the element by callingvisit(..)
in turn for all selected attributes (seeBaseVisitor.validating
) .- Overrides:
visit
in classeu.bandm.tools.xslt.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.xslt.tdom.Element_xsl_output e) Description copied from class:eu.bandm.tools.xslt.tdom.Visitor
Can be overridden by the user to define particular semantic operations. Will be called whenever the default model instance traversal (as implemented by the methods in this class) reaches such an element.
This default implementation descends into the element by callingvisit(..)
in turn for all selected attributes (seeBaseVisitor.validating
) .- Overrides:
visit
in classeu.bandm.tools.xslt.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.xslt.tdom.Element_xsl_template t) Description copied from class:eu.bandm.tools.xslt.tdom.Visitor
Can be overridden by the user to define particular semantic operations. Will be called whenever the default model instance traversal (as implemented by the methods in this class) reaches such an element.
This default implementation descends into the element by callingvisit(..)
in turn for all selected attributes (seeBaseVisitor.validating
) andfor all PCData and all Elements in its contents.- Overrides:
visit
in classCombinedVisitor
-
topParam
<T extends TypedElement<?,?>> void topParam(CDataAttribute att, T el, String cat, Map<NamespaceName, T> map) -
visit
public void visit(eu.bandm.tools.xslt.tdom.Element_xsl_param p) Description copied from class:eu.bandm.tools.xslt.tdom.Visitor
Can be overridden by the user to define particular semantic operations. Will be called whenever the default model instance traversal (as implemented by the methods in this class) reaches such an element.
This default implementation descends into the element by callingvisit(..)
in turn for all selected attributes (seeBaseVisitor.validating
) andfor all PCData and all Elements in its contents.- Overrides:
visit
in classCombinedVisitor
-
visit
public void visit(eu.bandm.tools.xslt.tdom.Element_xsl_variable p) Description copied from class:eu.bandm.tools.xslt.tdom.Visitor
Can be overridden by the user to define particular semantic operations. Will be called whenever the default model instance traversal (as implemented by the methods in this class) reaches such an element.
This default implementation descends into the element by callingvisit(..)
in turn for all selected attributes (seeBaseVisitor.validating
) andfor all PCData and all Elements in its contents.- Overrides:
visit
in classCombinedVisitor
-