Class XmlAttributeCounter
- java.lang.Object
-
- org.opennms.netmgt.collection.support.AbstractCollectionSetVisitor
-
- org.opennms.protocols.xml.collector.XmlAttributeCounter
-
- All Implemented Interfaces:
CollectionSetVisitor
public class XmlAttributeCounter extends AbstractCollectionSetVisitor
The Class XmlAttributeCounter.- Author:
- Alejandro Galue
-
-
Constructor Summary
Constructors Constructor Description XmlAttributeCounter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCount()
Gets the count of attributes.void
visitAttribute(CollectionAttribute attribute)
visitAttribute-
Methods inherited from class org.opennms.netmgt.collection.support.AbstractCollectionSetVisitor
completeAttribute, completeCollectionSet, completeGroup, completeResource, visitCollectionSet, visitGroup, visitResource
-
-
-
-
Method Detail
-
visitAttribute
public void visitAttribute(CollectionAttribute attribute)
Description copied from class:AbstractCollectionSetVisitor
visitAttribute
- Specified by:
visitAttribute
in interfaceCollectionSetVisitor
- Overrides:
visitAttribute
in classAbstractCollectionSetVisitor
- Parameters:
attribute
- aorg.opennms.netmgt.collection.api.collectd.CollectionAttribute
object.
-
getCount
public int getCount()
Gets the count of attributes.- Returns:
- the count
-
-