Package com.android.repository.impl.meta
Class CommonFactory
- java.lang.Object
-
- com.android.repository.impl.meta.CommonFactory
-
- Direct Known Subclasses:
ObjectFactory,ObjectFactory
public abstract class CommonFactory extends java.lang.ObjectFactory for creating the objects used by the repository framework. Instances of this class can be obtained from any of the objects creatable by this class, or byRepoManager.getCommonModule().createLatestFactory(). Primarily a superclass for xjc-generatedObjectFactorys. Most methods shouldn't be needed outside the repository framework.
-
-
Constructor Summary
Constructors Constructor Description CommonFactory()
-
Method Summary
-
-
-
Method Detail
-
createRepositoryType
@NonNull public abstract Repository createRepositoryType()
-
createArchiveType
@NonNull public abstract Archive createArchiveType()
-
createArchivesType
@NonNull protected abstract RepoPackageImpl.Archives createArchivesType()
-
createLocalPackage
@NonNull public abstract LocalPackageImpl createLocalPackage()
-
createRemotePackage
@NonNull public abstract RemotePackageImpl createRemotePackage()
-
createRevisionType
@NonNull protected abstract RevisionType createRevisionType()
-
createChannelType
@NonNull public abstract Channel createChannelType()
-
createPatchesType
@NonNull public abstract Archive.PatchesType createPatchesType()
-
createChecksum
@NonNull public Checksum createChecksum(java.lang.String checksum, java.lang.String type)
-
createChecksumType
@NonNull protected Checksum createChecksumType()
-
generateRepository
@NonNull public abstract javax.xml.bind.JAXBElement<Repository> generateRepository(Repository repo)
-
createChannelType
@NonNull public Channel createChannelType(int id)
Convenience method to create aChannelwith the given numeric id.
-
createRevisionType
@NonNull public RevisionType createRevisionType(Revision revision)
Creates aRevisionTypefrom the specifiedRevision.
-
createLicenseRefType
@NonNull public abstract RepoPackageImpl.UsesLicense createLicenseRefType()
-
createLicenseType
@NonNull public License createLicenseType(java.lang.String value, java.lang.String id)
Convenience method to create a license with the given id and value.
-
createLicenseType
@NonNull public abstract License createLicenseType()
-
createDependencyType
@NonNull public abstract Dependency createDependencyType()
-
createDependencyType
@NonNull public Dependency createDependencyType(@Nullable Revision minRevision, @NonNull java.lang.String path)
-
createDependenciesType
@NonNull public abstract RepoPackageImpl.Dependencies createDependenciesType()
-
createCompleteType
@NonNull public abstract Archive.CompleteType createCompleteType()
-
createPatchType
@NonNull public abstract Archive.PatchType createPatchType()
-
createChannelRefType
public abstract RemotePackageImpl.ChannelRef createChannelRefType()
-
-