Interface XQueryTransformerPluginExtension

All Superinterfaces:
PluginExtension
All Known Subinterfaces:
SaxonXQueryTransformerPluginExtension

@API(type=EXTENDABLE, src=PUBLIC) public interface XQueryTransformerPluginExtension extends PluginExtension
A plugin extension that contributes an XQuery transformer.
Since:
18
  • Method Details

    • getTransformerName

      String getTransformerName()
      Get the transformer name.
      Returns:
      The transformer name.
    • getDisplayTransformerName

      String getDisplayTransformerName()
      Get the display transformer name.
      Returns:
      The display transformer name.
    • suportsAutomaticValidation

      boolean suportsAutomaticValidation()
      Checks if this transformer supports validation.
      Returns:
      true if automatic validation is supported.
    • getXQueryTransformer

      Transformer getXQueryTransformer(Source source, URIResolver uriResolver, boolean validationOnly) throws ro.sync.exml.editor.xmleditor.ErrorListException
      Get an XQuery transformer.
      Parameters:
      source - The XQuery source.
      uriResolver - The URI resolver.
      validationOnly - true if the transformer is used only to compile the query, to see if there are any errors.
      Returns:
      The transformer if created.
      Throws:
      ro.sync.exml.editor.xmleditor.ErrorListException - Exceptions encountered while initializing the transformer.