Package com.saxonica.ee.trans
Class StylesheetPackageEE
java.lang.Object
net.sf.saxon.expr.PackageData
net.sf.saxon.style.StylesheetPackage
com.saxonica.ee.trans.StylesheetPackageEE
Subclass of StylesheetPackage for Saxon-EE
-
Field Summary
Fields inherited from class net.sf.saxon.style.StylesheetPackage
defaultOutputProperties, globalContextRequirement, hiddenComponents, namedOutputProperties, overriddenComponents, schemaIndex, stripperRules
Fields inherited from class net.sf.saxon.expr.PackageData
config, hostLanguageVersion, keyManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addIxsl3FunctionLibrary
(FunctionLibraryList functionLibrary) protected void
addIxslFunctionLibrary
(FunctionLibraryList functionLibrary) protected void
addStubFunctionLibrary
(FunctionLibrary stubFunctions) void
export
(ExpressionPresenter presenter) Output the abstract expression tree to the supplied destination.boolean
Ask whether a non-streamable construct has been found, forcing the entire stylesheet to fall back to unstreamed processingboolean
Ask whether the package was compiled with just-in-time compilation of template rules enabledvoid
markNonExportable
(String message, String errorCode) Mark the package as non-exportable, supplying an error message to be reported if export is attemptedvoid
void
setJustInTimeCompilation
(boolean justInTimeCompilation) Say whether the package was compiled with just-in-time compilation of template rules enabled.Methods inherited from class net.sf.saxon.style.StylesheetPackage
addCompletionAction, addComponent, addComponentsFromUsedPackage, addGlobalVariable, addHiddenComponent, addOverriddenComponent, addUsedPackage, allocateBinderySlots, checkForAbstractComponents, complete, contains, createFunctionLibrary, getAbstractComponents, getCharacterMapIndex, getComponent, getComponentIndex, getContextItemRequirements, getDefaultMode, getFunction, getFunctionLibrary, getMaxFunctionArity, getNamedOutputProperties, getOverriddenComponent, getPackageName, getPackageVersion, getPublicFunctions, getRuleManager, getSchemaNamespaces, getSpaceStrippingRule, getStripperRules, getUsedPackages, getXQueryFunctionLibrary, isCreatesSecondaryResultDocuments, isDeclaredModes, isImplicitPackage, isRetainUnusedFunctions, isStripsTypeAnnotations, isStripsWhitespace, setCharacterMapIndex, setContextItemRequirements, setCreatesSecondaryResultDocuments, setDeclaredModes, setDefaultMode, setDefaultOutputProperties, setFunctionLibraryDetails, setImplicitPackage, setLanguageVersion, setNamedOutputProperties, setPackageName, setPackageVersion, setRetainUnusedFunctions, setRuleManager, setStripperRules, setStripsTypeAnnotations, setStripsWhitespace, updatePreparedStylesheet
Methods inherited from class net.sf.saxon.expr.PackageData
getAccumulatorRegistry, getConfiguration, getDecimalFormatManager, getGlobalSlotManager, getGlobalVariableList, getHostLanguage, getHostLanguageVersion, getKeyManager, getLocalLicenseId, getTargetEdition, isRelocatable, isSchemaAware, isXSLT, obtainTypeAliasManager, setAccumulatorRegistry, setConfiguration, setDecimalFormatManager, setGlobalSlotManager, setHostLanguage, setKeyManager, setLocalLicenseId, setRelocatable, setSchemaAware, setTargetEdition, setTypeAliasManager
-
Constructor Details
-
StylesheetPackageEE
-
-
Method Details
-
setFallbackToNonStreaming
public void setFallbackToNonStreaming()- Overrides:
setFallbackToNonStreaming
in classStylesheetPackage
-
isFallbackToNonStreaming
public boolean isFallbackToNonStreaming()Ask whether a non-streamable construct has been found, forcing the entire stylesheet to fall back to unstreamed processing- Overrides:
isFallbackToNonStreaming
in classStylesheetPackage
- Returns:
- true if the stylesheet must fall back to unstreamed processing
-
isJustInTimeCompilation
public boolean isJustInTimeCompilation()Ask whether the package was compiled with just-in-time compilation of template rules enabled- Overrides:
isJustInTimeCompilation
in classStylesheetPackage
- Returns:
- true if just-in-time compilation was enabled when the package was compiled
-
setJustInTimeCompilation
public void setJustInTimeCompilation(boolean justInTimeCompilation) Say whether the package was compiled with just-in-time compilation of template rules enabled. This method is called by the compiler itself and should not be called by users.- Overrides:
setJustInTimeCompilation
in classStylesheetPackage
- Parameters:
justInTimeCompilation
- set to true if just-in-time compilation was enabled when the package was compiled
-
markNonExportable
Mark the package as non-exportable, supplying an error message to be reported if export is attempted- Overrides:
markNonExportable
in classStylesheetPackage
- Parameters:
message
- the error message to report indicating why export is not possibleerrorCode
- the error code to be used if export is attempted and fails
-
export
Output the abstract expression tree to the supplied destination.- Overrides:
export
in classStylesheetPackage
- Parameters:
presenter
- the expression presenter used to display the structure- Throws:
XPathException
- if exporting fails or is not permitted (it requires Saxon-EE)
-
addIxslFunctionLibrary
- Overrides:
addIxslFunctionLibrary
in classStylesheetPackage
-
addIxsl3FunctionLibrary
- Overrides:
addIxsl3FunctionLibrary
in classStylesheetPackage
-
addStubFunctionLibrary
- Overrides:
addStubFunctionLibrary
in classStylesheetPackage
-