public abstract class CommonFactory
extends java.lang.Object
RepoManager.getCommonModule().createLatestFactory().
Primarily a superclass for xjc-generated ObjectFactorys. Most methods shouldn't be
needed outside the repository framework.| Constructor and Description |
|---|
CommonFactory() |
@NonNull public abstract Repository createRepositoryType()
@NonNull public abstract Archive createArchiveType()
@NonNull protected abstract RepoPackageImpl.Archives createArchivesType()
@NonNull public abstract LocalPackageImpl createLocalPackage()
@NonNull public abstract RemotePackageImpl createRemotePackage()
@NonNull protected abstract RevisionType createRevisionType()
@NonNull public abstract Channel createChannelType()
@NonNull public abstract javax.xml.bind.JAXBElement<Repository> generateRepository(Repository repo)
@NonNull public Channel createChannelType(int id)
Channel with the given numeric id.@NonNull public RevisionType createRevisionType(Revision revision)
RevisionType from the specified Revision.@NonNull public abstract RepoPackageImpl.UsesLicense createLicenseRefType()
@NonNull public License createLicenseType(java.lang.String value, java.lang.String id)
@NonNull public abstract License createLicenseType()
@NonNull public abstract Dependency createDependencyType()
@NonNull public Dependency createDependencyType(@Nullable Revision minRevision, @NonNull java.lang.String path)
@NonNull public abstract RepoPackageImpl.Dependencies createDependenciesType()
@NonNull public abstract Archive.CompleteType createCompleteType()
@NonNull protected abstract Archive.PatchType createPatchType()
public abstract RemotePackageImpl.ChannelRef createChannelRefType()