Package net.sf.xslthl

Class ConnectorXalan


  • public class ConnectorXalan
    extends java.lang.Object
    XalanConnector for XsltHL. Usage: Add the namespace xmlns:xhl="xalan://net.sf.xslthl.XalanConnector" then you can use the function: xhl:highlight($language, exsl:node-set($content)) or xhl:highlight($language, exsl:node-set($content), 'myConfigFile')
    Author:
    Michiel Hendriks
    • Constructor Summary

      Constructors 
      Constructor Description
      ConnectorXalan()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.w3c.dom.NodeList highlight​(org.apache.xalan.extensions.ExpressionContext context, java.lang.String hlCode, org.w3c.dom.NodeList nodes)
      highlight the given nodes using the standard configuration
      static org.w3c.dom.NodeList highlight​(org.apache.xalan.extensions.ExpressionContext context, java.lang.String hlCode, org.w3c.dom.NodeList nodes, java.lang.String configFilename)
      highlight the given nodes
      • Methods inherited from class java.lang.Object

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

      • ConnectorXalan

        public ConnectorXalan()
    • Method Detail

      • highlight

        public static final org.w3c.dom.NodeList highlight​(org.apache.xalan.extensions.ExpressionContext context,
                                                           java.lang.String hlCode,
                                                           org.w3c.dom.NodeList nodes)
        highlight the given nodes using the standard configuration
        Parameters:
        context -
        hlCode -
        nodes -
        Returns:
      • highlight

        public static final org.w3c.dom.NodeList highlight​(org.apache.xalan.extensions.ExpressionContext context,
                                                           java.lang.String hlCode,
                                                           org.w3c.dom.NodeList nodes,
                                                           java.lang.String configFilename)
        highlight the given nodes
        Parameters:
        context -
        hlCode -
        nodes -
        configFilename -
        Returns: