Class AbstractVTDXmlCollectionHandler

    • Constructor Detail

      • AbstractVTDXmlCollectionHandler

        public AbstractVTDXmlCollectionHandler()
    • Method Detail

      • fillCollectionSet

        protected void fillCollectionSet​(CollectionAgent agent,
                                         CollectionSetBuilder builder,
                                         XmlSource source,
                                         com.ximpleware.VTDNav document)
                                  throws ParseException,
                                         com.ximpleware.XPathParseException,
                                         com.ximpleware.XPathEvalException,
                                         com.ximpleware.NavException
        Fill collection set.
        Parameters:
        agent - the agent
        collectionSet - the collection set
        source - the source
        document - the document
        Throws:
        ParseException - the parse exception
        com.ximpleware.XPathParseException - the x-path parse exception
        com.ximpleware.XPathEvalException - the x-path evaluation exception
        com.ximpleware.NavException - the navigation exception
      • getTimeStamp

        protected Date getTimeStamp​(com.ximpleware.VTDNav document,
                                    XmlGroup group)
                             throws com.ximpleware.XPathParseException
        Gets the time stamp.
        Parameters:
        document - the document
        group - the group
        Returns:
        the time stamp
        Throws:
        com.ximpleware.XPathParseException - the x-path parse exception
      • getVTDXmlDocument

        protected com.ximpleware.VTDNav getVTDXmlDocument​(String urlString,
                                                          Request request)
                                                   throws Exception
        Gets the XML document.
        Parameters:
        urlString - the URL string
        request - the request
        Returns:
        the XML document
        Throws:
        Exception - the exception
      • getVTDXmlDocument

        protected com.ximpleware.VTDNav getVTDXmlDocument​(InputStream is,
                                                          Request request)
                                                   throws Exception
        Gets the XML document.
        Parameters:
        is - the input stream
        request - the request
        Returns:
        the XML document
        Throws:
        Exception - the exception