Class EmptyTextNodeRemover

    • Constructor Detail

      • EmptyTextNodeRemover

        public EmptyTextNodeRemover​(Expression p0)
    • Method Detail

      • getItemType

        public ItemType getItemType()
        Determine the data type of the expression, if possible. The default implementation for unary expressions returns the item type of the operand
        getItemType in class UnaryExpression
        the item type of the items in the result sequence, insofar as this is known statically.
      • copy

        public Expression copy​(RebindingMap rebindings)
        Copy an expression. This makes a deep copy.
        Specified by:
        copy in class Expression
        rebindings - variables that must be re-bound
        the copy of the original expression
      • iterate

        public SequenceIterator iterate​(XPathContext context)
                                 throws XPathException
        Return an Iterator to iterate over the values of a sequence. The value of every expression can be regarded as a sequence, so this method is supported for all expressions. This default implementation handles iteration for expressions that return singleton values: for non-singleton expressions, the subclass must provide its own implementation.
        iterate in class Expression
        context - supplies the context for evaluation
        a SequenceIterator that can be used to iterate over the result of the expression
        XPathException - if any dynamic error occurs evaluating the expression
      • getStreamerName

        public java.lang.String getStreamerName()
        Get the (partial) name of a class that supports streaming of this kind of expression
        getStreamerName in class Expression
        the partial name of a class that can be instantiated to provide streaming support in Saxon-EE, or null if there is no such class
      • getExpressionName

        public java.lang.String getExpressionName()
        Description copied from class: Expression
        Get a name identifying the kind of expression, in terms meaningful to a user.
        getExpressionName in class Expression
        a name identifying the kind of expression, in terms meaningful to a user. The name will always be in the form of a lexical XML QName, and should match the name used in export() output displaying the expression.