Class ObjectFactory
- java.lang.Object
-
- org.apache.karaf.features.internal.model.ObjectFactory
-
public class ObjectFactory extends Object
This object contains factory methods for each Java content interface and Java element interface generated in the org.apache.karaf.features.wrapper package.
An ObjectFactory allows you to programmatically 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 Summary
Constructors Constructor Description ObjectFactory()
Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.karaf.features.wrapper
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Bundle
createBundle()
Create an instance ofBundle
Config
createConfig()
Create an instance ofConfig
ConfigFile
createConfigFile()
Create an instance ofConfigFile
Dependency
createDependency()
Create an instance ofDependency
Feature
createFeature()
Create an instance ofFeature
JAXBElement<Features>
createFeatures(Features value)
Features
createFeaturesRoot()
Create an instance ofFeatures
-
-
-
Method Detail
-
createConfigFile
public ConfigFile createConfigFile()
Create an instance ofConfigFile
- Returns:
- the config file.
-
createDependency
public Dependency createDependency()
Create an instance ofDependency
- Returns:
- the dependency.
-
createFeaturesRoot
public Features createFeaturesRoot()
Create an instance ofFeatures
- Returns:
- the features.
-
createFeatures
public JAXBElement<Features> createFeatures(Features value)
- Parameters:
value
- the features- Returns:
- the JAXB representation of the given features.
-
-