# Package com.saxonica.ee.trans

This package contains classes supporting optimized XSLT transformation in Saxon-EE.

Some of the classes represent enhanced versions of classes that are also available in Saxon-HE, for example `TemplateRuleEE` represents a template rule with additional functionality specific to Saxon-EE.

Other classes contain Saxon-EE specific optimization logic, for example the mechanism for optimizing searches of large or complex sets of template rules.

- Interface Summary
  Interface | Description
  --- | ---
  ModeEE.RuleTypeAction |

- Class Summary
  Class | Description
  --- | ---
  AncestorCharacteristic | Given an expression, this characteristic returns a boolean indicating whether or not the context item has a parent (or ancestor, respectively) that matches a given pattern
  AncestorPatternOptimizer | A PatternOptimizer is an agent responsible for optimizing a particular class of patterns.
  Characteristic<T> | A Characteristic represents a distinguishing feature of an item that may be used by several patterns in a rule chain, and which can usefully be evaluated once for all rules in the rule chain.
  ContainsTokenPatternOptimizer | A PatternOptimizer is an agent responsible for optimizing a particular class of patterns.
  ContextItemStaticInfoEE | Saxon-EE version of ContextItemStaticInfo, with extra information used for streamability analysis
  CountingCompletionService<V> | Extension of ExecutorCompletionService to count the number of tasks submitted and take that many completed tasks before calling it a day.
  EqualityPatternOptimizer | A PatternOptimizer is an agent responsible for optimizing a particular class of patterns.
  ExpressionPresenterToJson | This class handles export of packages for Saxon-JS 2.0 by converting the XML representation of SEF files to a JSON representation, at the level of emitting events.
  GeneralComparisonOperand | Given an expression, this characteristic evaluates the set of hash keys corresponding to the string values of the items selected by that expression
  GeneralPatternOptimizer | A PatternOptimizer is an agent responsible for optimizing a particular class of patterns.
  IntEqualityPatternOptimizer | A PatternOptimizer is an agent responsible for optimizing a particular class of patterns.
  ModeEE | A version of class Mode that optimizes various aspects of the template patterns, most notably supporting rule preconditions and indexation of unnamed elements.
  ModeEE.RuleChainOptimizationData |
  NumericComparisonOperand | Given an expression, this characteristic evaluates the set of hash keys corresponding to the string values of the items selected by that expression
  Outcome<T> | An Outcome represents the result of a task, which might be success or failure `T` is the class of the result of the task in the event that it is successful
  PackageLoaderEE | Saxon-EE version of PackageLoader
  PatternOptimizer | A PatternOptimizer is an agent responsible for optimizing a particular class of patterns.
  Precondition | A Precondition is a boolean condition that must be true if a pattern is to match (but in general is not a sufficient condition for the pattern to match).
  Precondition.BooleanPrecondition | A `BooleanPrecondition` can in principle test any boolean characteristic of a pattern.
  Precondition.NumericComparisonPrecondition | A numeric comparison precondition is used for patterns containing a predicate that compares some expression E with a numeric constant.
  Precondition.StringHashPrecondition | A StringHashPrecondition compares a characteristic in the form of a set of integer hash codes against a constant hash code; the precondition is satisfied if the constant hash code is present in the set.
  PreconditionMatcher | This class contains the stateful part of the precondition checker.
  PrincipalStylesheetModuleEE | This version of the StylesheetPackage class represents a "real" package, that is one with an xsl:package element, which potentially uses other packages and overrides selected components in those packages.
  RuleEE | A Rule with associated preconditions
  SaxonElementFactoryEE | A Factory for Saxon extension nodes in the stylesheet tree.
  StylesheetPackageEE | Subclass of StylesheetPackage for Saxon-EE
  TemplateRuleEE | Saxon-EE version of the TemplateRule class, with added code for JIT compilation and streamability analysis
  TemplateRuleInitializer | A TemplateRuleInitializer is used to prepare a template rule for execution the first time that its match pattern is matched, in cases where JIT template rule compilation is in force.
  ThreadManagerEE | The ThreadManager is used to manage asynchronous execution of xsl:result-document instructions in Saxon-EE.
  TokenMatchOperand | Given an expression, this characteristic evaluates the set of hash keys corresponding to the whitespace-separated tokens in the string values of the items selected by that expression.