public abstract class AbstractVTDXmlCollectionHandler extends AbstractXmlCollectionHandler
All CollectionHandler based on VTD-XML should extend this class.
Constructor and Description |
---|
AbstractVTDXmlCollectionHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
fillCollectionSet(CollectionAgent agent,
CollectionSetBuilder builder,
XmlSource source,
com.ximpleware.VTDNav document)
Fill collection set.
|
protected Date |
getTimeStamp(com.ximpleware.VTDNav document,
XmlGroup group)
Gets the time stamp.
|
protected com.ximpleware.VTDNav |
getVTDXmlDocument(InputStream is,
Request request)
Gets the XML document.
|
protected com.ximpleware.VTDNav |
getVTDXmlDocument(String urlString,
Request request)
Gets the XML document.
|
applyXsltTransformation, collect, fillCollectionSet, fillCollectionSet, getCollectionResource, getResourceStorageDao, getRrdRepository, getServiceName, getTimeStamp, getXmlDocument, getXmlDocument, parseRequest, parseString, parseUrl, preProcessHtml, processXmlResource, setResourceStorageDao, setRrdRepository, setServiceName
protected void fillCollectionSet(CollectionAgent agent, CollectionSetBuilder builder, XmlSource source, com.ximpleware.VTDNav document) throws ParseException, com.ximpleware.XPathParseException, com.ximpleware.XPathEvalException, com.ximpleware.NavException
agent
- the agentcollectionSet
- the collection setsource
- the sourcedocument
- the documentParseException
- the parse exceptioncom.ximpleware.XPathParseException
- the x-path parse exceptioncom.ximpleware.XPathEvalException
- the x-path evaluation exceptioncom.ximpleware.NavException
- the navigation exceptionprotected Date getTimeStamp(com.ximpleware.VTDNav document, XmlGroup group) throws com.ximpleware.XPathParseException
document
- the documentgroup
- the groupcom.ximpleware.XPathParseException
- the x-path parse exceptionprotected com.ximpleware.VTDNav getVTDXmlDocument(String urlString, Request request) throws Exception
urlString
- the URL stringrequest
- the requestException
- the exceptionprotected com.ximpleware.VTDNav getVTDXmlDocument(InputStream is, Request request) throws Exception
is
- the input streamrequest
- the requestException
- the exceptionCopyright © 2021. All rights reserved.