Package net.sf.xslthl
Class ConnectorSaxonEE
java.lang.Object
net.sf.xslthl.ConnectorSaxonEE
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic 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 filestatic 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
-
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
-