Package org.opennms.protocols.xml.vtdxml
Class DefaultVTDXmlCollectionHandler
- java.lang.Object
-
- org.opennms.protocols.xml.collector.AbstractXmlCollectionHandler
-
- org.opennms.protocols.xml.vtdxml.AbstractVTDXmlCollectionHandler
-
- org.opennms.protocols.xml.vtdxml.DefaultVTDXmlCollectionHandler
-
- All Implemented Interfaces:
XmlCollectionHandler
public class DefaultVTDXmlCollectionHandler extends AbstractVTDXmlCollectionHandler
The default implementation of the interface XmlCollectionHandler based on AbstractVTDXmlCollectionHandler.- Author:
- Ronald Roskens
-
-
Constructor Summary
Constructors Constructor Description DefaultVTDXmlCollectionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
fillCollectionSet(java.lang.String urlString, Request request, CollectionAgent agent, CollectionSetBuilder builder, XmlSource source)
Fill collection set.protected void
processXmlResource(CollectionSetBuilder builder, Resource collectionResource, java.lang.String resourceTypeName, java.lang.String group)
Process XML resource.-
Methods inherited from class org.opennms.protocols.xml.vtdxml.AbstractVTDXmlCollectionHandler
fillCollectionSet, getTimeStamp, getVTDXmlDocument, getVTDXmlDocument
-
Methods inherited from class org.opennms.protocols.xml.collector.AbstractXmlCollectionHandler
applyXsltTransformation, collect, fillCollectionSet, getBlobStore, getCollectionResource, getResourceStorageDao, getRrdRepository, getServiceName, getTimeStamp, getXmlDocument, getXmlDocument, parseRequest, parseString, parseUrl, preProcessHtml, setBlobStore, setResourceStorageDao, setRrdRepository, setServiceName
-
-
-
-
Method Detail
-
processXmlResource
protected void processXmlResource(CollectionSetBuilder builder, Resource collectionResource, java.lang.String resourceTypeName, java.lang.String group)
Description copied from class:AbstractXmlCollectionHandler
Process XML resource.- Specified by:
processXmlResource
in classAbstractXmlCollectionHandler
collectionResource
- the collection resource
-
fillCollectionSet
protected void fillCollectionSet(java.lang.String urlString, Request request, CollectionAgent agent, CollectionSetBuilder builder, XmlSource source) throws java.lang.Exception
Description copied from class:AbstractXmlCollectionHandler
Fill collection set.- Specified by:
fillCollectionSet
in classAbstractXmlCollectionHandler
- Parameters:
urlString
- the URL stringrequest
- the requestagent
- the collection agentsource
- the XML source- Throws:
java.lang.Exception
- the exception
-
-