Class String_1

    • Constructor Detail

      • String_1

        public String_1()
    • Method Detail

      • resultWhenEmpty

        public Sequence resultWhenEmpty()
        Description copied from class: ScalarSystemFunction
        Method that may be supplied in subclasses, to indicate the result that is returned when an empty sequence is supplied as the argument value. The default is to return the empty sequence
        resultWhenEmpty in class ScalarSystemFunction
        the result of evaluation when the supplied argument is an empty sequence
      • makeOptimizedFunctionCall

        public Expression makeOptimizedFunctionCall​(ExpressionVisitor visitor,
                                                    ContextItemStaticInfo contextInfo,
                                                    Expression... arguments)
                                             throws XPathException
        Allow the function to create an optimized call based on the values of the actual arguments
        makeOptimizedFunctionCall in class SystemFunction
        visitor - the expression visitor
        contextInfo - information about the context item
        arguments - the supplied arguments to the function call
        either a function call on this function, or an expression that delivers the same result, or null indicating that no optimization has taken place
        XPathException - if an error is detected
      • getStreamerName

        public java.lang.String getStreamerName()
        Description copied from class: SystemFunction
        Get a name that identifies the class that can be used to evaluate this function in streaming mode, that is, supplying one item or event at a time as it is delivered by the parser. Special streaming support is generally available in Saxon-EE for all system functions that take a sequence as their argument.
        getStreamerName in class SystemFunction
        a name that identifies a class that supports streamed evaluation of this system function, or null if no such class is available. The mapping of names to classes is defined in the Saxon-EE class StreamerMap. In non-streaming Saxon editions (HE and PE) the method always returns null.
      • getElaborator

        public Elaborator getElaborator()
        Make an elaborator for a system function call on this function
        getElaborator in class SystemFunction
        a suitable elaborator; or null if no custom elaborator is available