public class ObjectFactory extends RepoFactory
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: com.android.sdklib.repository.generated.repository.v1
|
| Modifier and Type | Method and Description |
|---|---|
LayoutlibType |
createLayoutlibType()
Create an instance of
LayoutlibType |
PlatformDetailsType |
createPlatformDetailsType()
Create an instance of
PlatformDetailsType |
SourceDetailsType |
createSourceDetailsType()
Create an instance of
SourceDetailsType |
javax.xml.bind.JAXBElement<com.android.repository.api.Repository> |
generateSdkRepository(com.android.repository.api.Repository value) |
javax.xml.bind.JAXBElement<com.android.repository.impl.generated.v1.RepositoryType> |
generateSdkRepositoryInternal(com.android.repository.impl.generated.v1.RepositoryType value)
Create an instance of
JAXBElement<RepositoryType>} |
public ObjectFactory()
public PlatformDetailsType createPlatformDetailsType()
PlatformDetailsTypecreatePlatformDetailsType in class RepoFactorypublic LayoutlibType createLayoutlibType()
LayoutlibTypecreateLayoutlibType in class RepoFactorypublic SourceDetailsType createSourceDetailsType()
SourceDetailsTypecreateSourceDetailsType in class RepoFactorypublic javax.xml.bind.JAXBElement<com.android.repository.impl.generated.v1.RepositoryType> generateSdkRepositoryInternal(com.android.repository.impl.generated.v1.RepositoryType value)
JAXBElement<RepositoryType>}public javax.xml.bind.JAXBElement<com.android.repository.api.Repository> generateSdkRepository(com.android.repository.api.Repository value)