Class AbstractVTDXmlCollectionHandler

    • Constructor Detail

      • AbstractVTDXmlCollectionHandler

        public AbstractVTDXmlCollectionHandler()
    • Method Detail

      • fillCollectionSet

        protected void fillCollectionSet​(CollectionAgent agent,
                                         CollectionSetBuilder builder,
                                         XmlSource source,
                                         com.ximpleware.VTDNav document)
                                  throws java.text.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:
        java.text.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 java.util.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​(java.lang.String urlString,
                                                          Request request)
                                                   throws java.lang.Exception
        Gets the XML document.
        Parameters:
        urlString - the URL string
        request - the request
        Returns:
        the XML document
        Throws:
        java.lang.Exception - the exception
      • getVTDXmlDocument

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