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, stripperRulesFields inherited from class net.sf.saxon.expr.PackageData
config, hostLanguageVersion, keyManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddIxsl3FunctionLibrary(FunctionLibraryList functionLibrary) protected voidaddIxslFunctionLibrary(FunctionLibraryList functionLibrary) protected voidaddStubFunctionLibrary(FunctionLibrary stubFunctions) voidexport(ExpressionPresenter presenter) Output the abstract expression tree to the supplied destination.booleanAsk whether a non-streamable construct has been found, forcing the entire stylesheet to fall back to unstreamed processingbooleanAsk whether the package was compiled with just-in-time compilation of template rules enabledvoidmarkNonExportable(String message, String errorCode) Mark the package as non-exportable, supplying an error message to be reported if export is attemptedvoidvoidsetJustInTimeCompilation(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, updatePreparedStylesheetMethods 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:
setFallbackToNonStreamingin 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:
isFallbackToNonStreamingin 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:
isJustInTimeCompilationin 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:
setJustInTimeCompilationin 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:
markNonExportablein 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:
exportin 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:
addIxslFunctionLibraryin classStylesheetPackage
-
addIxsl3FunctionLibrary
- Overrides:
addIxsl3FunctionLibraryin classStylesheetPackage
-
addStubFunctionLibrary
- Overrides:
addStubFunctionLibraryin classStylesheetPackage
-