Class XQueryOperation

  • All Implemented Interfaces:
    AuthorOperation, Extension

    @API(type=INTERNAL,
         src=PUBLIC)
    public class XQueryOperation
    extends TransformOperation
    An implementation of an operation to apply an XQuery script on a element and replacing it with the result of the XQuery transformation, or inserting the result in the document.
    • Constructor Detail

      • XQueryOperation

        public XQueryOperation()
    • Method Detail

      • createTransformer

        protected javax.xml.transform.Transformer createTransformer​(AuthorAccess authorAccess,
                                                                    javax.xml.transform.Source xquerySrc)
                                                             throws javax.xml.transform.TransformerConfigurationException
        Create XQuery transformer
        Specified by:
        createTransformer in class TransformOperation
        Parameters:
        authorAccess - The author access.
        xquerySrc - The XQuery source.
        Returns:
        The transformer
        Throws:
        javax.xml.transform.TransformerConfigurationException