Package eu.bandm.tools.xslt.base
Class Main
java.lang.Object
eu.bandm.tools.xslt.base.Main
Command line tool for checking and excuting one single xslt transformations
from file to file, internally: a w3c model into a tdom model.
FIXME: Batch mode, or client-server, etc. support still MISSING, but pre-wired by cache object
(The overall calling architecture is sketched in the package level documentation.)
FIXME: Batch mode, or client-server, etc. support still MISSING, but pre-wired by cache object
TransformationCache.
(The overall calling architecture is sketched in the package level documentation.)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final NamespaceNamestatic final Set<NamespaceName> static final NamespaceNamestatic final Stringstatic final NamespaceNameThe default "mode" in which input is processed.static final Stringstatic final Stringstatic final Stringstatic final Patternstatic final Stringstatic final NamespaceNamestatic final NamespaceName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidOnly callsnonStatic_main(String[]).voidnonStatic_main(String[] args) Main entry for just type checking with Fragmented Validation, or for executing the transformation.
-
Field Details
-
namespaceUri_Xslt
- See Also:
-
CONST_nsname_match
-
initial_xslt_mode
The default "mode" in which input is processed. -
localname_top_xslt_1
- See Also:
-
localname_top_xslt_2
- See Also:
-
attname_use_attribute_set
- See Also:
-
attNamespaceName_use_attribute_set
-
attNamespaceNameSet_use_attribute_set
-
top_xslt_name_1
-
top_xslt_name_2
-
regex_XML_WS
-
filenameStemPlaceholder
- See Also:
-
TEXT_TARGET
- See Also:
-
-
Constructor Details
-
Main
public Main()
-
-
Method Details
-
nonStatic_main
Main entry for just type checking with Fragmented Validation, or for executing the transformation. Controlled by command line options inOptions. Execution mode is decided by the presence of the option "--inputFiles".
For type checking of the xpath expressions there are following combinations:- No source Dtd and no source top level elements => only functions are checked for existence.
- Source dtd => All source elements potential roots
- Source dtd AND source root elements => full type check FIXME GIPS NICHT MEHR !?!?!
To define the execution of xpath-functions, a class path of a dedicated subclass ofFunctionLibrarycan be supplied by --tpathFunctions. An instance of this class will be created. Since this will be the ONLY source of function defs, it should add all standard xpath functions fromBuiltInFunctions. If no such option is given, an instance ofBuiltInFunctionswill be used, which realizes all standard xslt and xpath functions. -
main
Only callsnonStatic_main(String[]).
-