public class ObjectFactory extends Object
An ObjectFactory allows you to programatically construct new instances of the Java representation for XML content. The Java representation of XML content can consist of schema derived interfaces and classes representing the binding of schema type definitions, element declarations and model groups. Factory methods for each of these are provided in this class.
| Constructor and Description | 
|---|
ObjectFactory()
Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.opennms.netmgt.config.prometheus 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Collection | 
createCollection()
Create an instance of  
Collection | 
Group | 
createGroup()
Create an instance of  
Group | 
NumericAttribute | 
createNumericAttribute()
Create an instance of  
NumericAttribute | 
PrometheusCollectionRequest | 
createPrometheusCollectionRequest()
Create an instance of  
PrometheusCollectionRequest | 
PrometheusDatacollectionConfig | 
createPrometheusDatacollectionConfig()
Create an instance of  
PrometheusDatacollectionConfig | 
Rrd | 
createRrd()
Create an instance of  
Rrd | 
StringAttribute | 
createStringAttribute()
Create an instance of  
StringAttribute | 
public ObjectFactory()
public PrometheusDatacollectionConfig createPrometheusDatacollectionConfig()
PrometheusDatacollectionConfigpublic Collection createCollection()
Collectionpublic NumericAttribute createNumericAttribute()
NumericAttributepublic StringAttribute createStringAttribute()
StringAttributepublic PrometheusCollectionRequest createPrometheusCollectionRequest()
PrometheusCollectionRequestCopyright © 2020. All rights reserved.