public abstract class AbstractJsonCollectionHandler extends AbstractXmlCollectionHandler
All JsonCollectionHandler should extend this class.
Constructor and Description |
---|
AbstractJsonCollectionHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
fillCollectionSet(CollectionAgent agent,
XmlCollectionSet collectionSet,
XmlSource source,
net.sf.json.JSONObject json)
Fill collection set.
|
protected net.sf.json.JSONObject |
getJSONObject(String urlString,
Request request)
Gets the JSON object.
|
protected Date |
getTimeStamp(org.apache.commons.jxpath.JXPathContext context,
XmlGroup group)
Gets the time stamp.
|
applyXsltTransformation, collect, fillCollectionSet, fillCollectionSet, getCollectionResource, getNodeDao, getResourceStorageDao, getRrdRepository, getServiceName, getTimeStamp, getXmlDocument, getXmlDocument, getXmlResourceType, parseRequest, parseString, parseUrl, preProcessHtml, processXmlResource, setNodeDao, setResourceStorageDao, setRrdRepository, setServiceName
protected void fillCollectionSet(CollectionAgent agent, XmlCollectionSet collectionSet, XmlSource source, net.sf.json.JSONObject json) throws ParseException
agent
- the agentcollectionSet
- the collection setsource
- the sourcejson
- the JSON ObjectParseException
- the parse exceptionprotected Date getTimeStamp(org.apache.commons.jxpath.JXPathContext context, XmlGroup group)
context
- the JXPath contextgroup
- the groupCopyright © 2017. All rights reserved.