Package net.sf.xslthl

Class ConnectorSaxonEE

java.lang.Object
net.sf.xslthl.ConnectorSaxonEE

public class ConnectorSaxonEE extends Object
A new saxon connector to be used with saxon 8.5 and later. This class uses Java reflection to call Saxon classes in order to be able to compile both connectors with the older Saxon library.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.sf.saxon.om.SequenceIterator
    highlight(net.sf.saxon.expr.XPathContext context, String hlCode, net.sf.saxon.om.SequenceIterator nodes)
    Highlight the nodes using the standard configuration file
    static net.sf.saxon.om.SequenceIterator
    highlight(net.sf.saxon.expr.XPathContext context, String hlCode, net.sf.saxon.om.SequenceIterator seq, String configFilename)
    highlight the nodes using a specific interface

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ConnectorSaxonEE

      public ConnectorSaxonEE()
  • Method Details

    • highlight

      public static net.sf.saxon.om.SequenceIterator highlight(net.sf.saxon.expr.XPathContext context, String hlCode, net.sf.saxon.om.SequenceIterator nodes) throws Exception
      Highlight the nodes using the standard configuration file
      Parameters:
      context -
      hlCode -
      nodes -
      Returns:
      Throws:
      Exception
    • highlight

      public static net.sf.saxon.om.SequenceIterator highlight(net.sf.saxon.expr.XPathContext context, String hlCode, net.sf.saxon.om.SequenceIterator seq, String configFilename) throws Exception
      highlight the nodes using a specific interface
      Parameters:
      context -
      hlCode -
      seq -
      configFilename -
      Returns:
      Throws:
      Exception