Package eu.bandm.tools.xslt.base
Class TemplateRegistry
java.lang.Object
eu.bandm.tools.xslt.base.TemplateRegistry
Stores and organizes template codes and retrieves the best fitting for a
given element.
For execution speed, there are direct look-ups for the FINAL/lowest-level
TPath.Step element for the diverse node/test kinds.
The indexing scheme is given with the data definition in
Rt.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassRealizes the finding of templates according to [Xslt 1.0:5.2].static class -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(eu.bandm.tools.xslt.tdom.Element_xsl_template t, String match, NamespaceName mode, String priority) Add a template with match expression, mode and priority.protected booleancheckAdd(Rt.TemplateEntry old, eu.bandm.tools.xslt.tdom.Element_xsl_template candidate, String text) voiddump(PrintStream p0)
-
Field Details
-
priority_tag_with_context
Default priorities, see [XSLT 1.0:5.5. listpoint 2] -
priority_keyOrId
-
priority_full_tag
-
priority_nsuri_only
-
priority_kind_only
-
allIds
-
-
Method Details
-
add
public void add(eu.bandm.tools.xslt.tdom.Element_xsl_template t, String match, NamespaceName mode, String priority) Add a template with match expression, mode and priority. The match expression is parsed as a tpath expression, and must be conformant to certain restrictions. -
checkAdd
protected boolean checkAdd(Rt.TemplateEntry old, eu.bandm.tools.xslt.tdom.Element_xsl_template candidate, String text) -
dump
-