Class ReceiverUtils


  • public class ReceiverUtils
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.reflect.Method characters  
      private static java.lang.reflect.Method of  
      private static java.lang.Boolean saxon10  
    • Constructor Summary

      Constructors 
      Constructor Description
      ReceiverUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void handleCharacters​(net.sf.saxon.event.Receiver receiver, java.lang.String text)  
      static net.sf.saxon.s9api.XdmDestination makeDestination​(java.net.URI baseURI)  
      static net.sf.saxon.s9api.XdmDestination makeDestination​(net.sf.saxon.s9api.XdmNode node)  
      static net.sf.saxon.event.Receiver makeReceiver​(net.sf.saxon.event.PipelineConfiguration pipe, net.sf.saxon.s9api.XdmDestination destination)  
      static net.sf.saxon.event.Receiver makeReceiver​(net.sf.saxon.s9api.XdmNode node, net.sf.saxon.s9api.XdmDestination destination)  
      static net.sf.saxon.s9api.XdmNode makeTextDocument​(net.sf.saxon.s9api.XdmNode node, java.lang.String text)  
      static java.net.URI nodeBaseURI​(net.sf.saxon.s9api.XdmNode node)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • saxon10

        private static java.lang.Boolean saxon10
      • characters

        private static java.lang.reflect.Method characters
      • of

        private static java.lang.reflect.Method of
    • Constructor Detail

      • ReceiverUtils

        public ReceiverUtils()
    • Method Detail

      • makeDestination

        public static net.sf.saxon.s9api.XdmDestination makeDestination​(net.sf.saxon.s9api.XdmNode node)
      • makeDestination

        public static net.sf.saxon.s9api.XdmDestination makeDestination​(java.net.URI baseURI)
      • makeReceiver

        public static net.sf.saxon.event.Receiver makeReceiver​(net.sf.saxon.s9api.XdmNode node,
                                                               net.sf.saxon.s9api.XdmDestination destination)
                                                        throws net.sf.saxon.trans.XPathException
        Throws:
        net.sf.saxon.trans.XPathException
      • makeReceiver

        public static net.sf.saxon.event.Receiver makeReceiver​(net.sf.saxon.event.PipelineConfiguration pipe,
                                                               net.sf.saxon.s9api.XdmDestination destination)
                                                        throws net.sf.saxon.trans.XPathException
        Throws:
        net.sf.saxon.trans.XPathException
      • makeTextDocument

        public static net.sf.saxon.s9api.XdmNode makeTextDocument​(net.sf.saxon.s9api.XdmNode node,
                                                                  java.lang.String text)
      • nodeBaseURI

        public static java.net.URI nodeBaseURI​(net.sf.saxon.s9api.XdmNode node)
      • handleCharacters

        public static void handleCharacters​(net.sf.saxon.event.Receiver receiver,
                                            java.lang.String text)