Class SequenceReceiver

    • Field Detail

      • previousAtomic

        protected boolean previousAtomic
      • systemId

        protected java.lang.String systemId
    • Constructor Detail

      • SequenceReceiver

        public SequenceReceiver​(PipelineConfiguration pipe)
        Create a SequenceReceiver
        Parameters:
        pipe - the pipeline configuration
    • Method Detail

      • setPipelineConfiguration

        public void setPipelineConfiguration​(PipelineConfiguration pipelineConfiguration)
        Description copied from interface: Receiver
        Set the pipeline configuration
        Specified by:
        setPipelineConfiguration in interface Receiver
        Parameters:
        pipelineConfiguration - the pipeline configuration
      • getConfiguration

        public final Configuration getConfiguration()
        Get the Saxon Configuration
        Returns:
        the Configuration
      • setSystemId

        public void setSystemId​(java.lang.String systemId)
        Set the system ID
        Specified by:
        setSystemId in interface Receiver
        Specified by:
        setSystemId in interface javax.xml.transform.Result
        Parameters:
        systemId - the URI used to identify the tree being passed across this interface
      • getSystemId

        public java.lang.String getSystemId()
        Get the system ID
        Specified by:
        getSystemId in interface javax.xml.transform.Result
        Returns:
        the system ID that was supplied using the setSystemId() method
      • setUnparsedEntity

        public void setUnparsedEntity​(java.lang.String name,
                                      java.lang.String systemID,
                                      java.lang.String publicID)
                               throws XPathException
        Notify an unparsed entity URI.
        Specified by:
        setUnparsedEntity in interface Receiver
        Parameters:
        name - The name of the unparsed entity
        systemID - The system identifier of the unparsed entity
        publicID - The public identifier of the unparsed entity
        Throws:
        XPathException - if an error occurs
      • append

        public abstract void append​(Item item,
                                    int locationId,
                                    int copyNamespaces)
                             throws XPathException
        Append an arbitrary item (node or atomic value) to the output
        Parameters:
        item - the item to be appended
        locationId - the location of the calling instruction, for diagnostics
        copyNamespaces - if the item is an element node, this indicates whether its namespaces need to be copied. Values are NodeInfo.ALL_NAMESPACES, NodeInfo.LOCAL_NAMESPACES, NodeInfo.NO_NAMESPACES
        Throws:
        XPathException - if the operation fails
      • append

        public void append​(Item item)
                    throws XPathException
        Append an item (node or atomic value) to the output
        Parameters:
        item - the item to be appended
        Throws:
        XPathException - if the operation fails
      • getNamePool

        public NamePool getNamePool()
        Get the name pool
        Returns:
        the Name Pool that was supplied using the setConfiguration() method