com.android.repository.impl.generated.v1
Class ObjectFactory

java.lang.Object
  extended by com.android.repository.api.ElementFactory<Repository>
      extended by com.android.repository.impl.meta.CommonFactory
          extended by com.android.repository.impl.generated.v1.ObjectFactory

public class ObjectFactory
extends CommonFactory

This object contains factory methods for each Java content interface and Java element interface generated in the com.android.repository.impl.generated.v1 package.

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 Summary
ObjectFactory()
          Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.android.repository.impl.generated.v1
 
Method Summary
 RepoPackageImpl.Archives createArchivesType()
          Create an instance of ArchivesType
 Archive createArchiveType()
          Create an instance of ArchiveType
 Archive.CompleteType createCompleteType()
          Create an instance of CompleteType
 RepoPackageImpl.Dependencies createDependenciesType()
          Create an instance of DependenciesType
 Dependency createDependencyType()
          Create an instance of DependencyType
 RepoPackageImpl.UsesLicense createLicensesType()
          Create an instance of LicensesType
 License createLicenseType()
          Create an instance of LicenseType
 LocalPackageImpl createLocalPackage()
          Create an instance of LocalPackage
 Archive.PatchesType createPatchesType()
          Create an instance of PatchesType
 Archive.PatchType createPatchType()
          Create an instance of PatchType
 RemotePackageImpl createRemotePackage()
          Create an instance of RemotePackage
 javax.xml.bind.JAXBElement<RepositoryType> createRepository(RepositoryType value)
          Create an instance of JAXBElement<RepositoryType>}
 Repository createRepositoryType()
          Create an instance of RepositoryType
 RevisionType createRevisionType()
          Create an instance of RevisionType
 javax.xml.bind.JAXBElement<Repository> generateElement(Repository value)
          Creates a JAXBElement containing value, suitable for marshalling.
 
Methods inherited from class com.android.repository.impl.meta.CommonFactory
createDependencyType, createLicenseType, createRevisionType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectFactory

public ObjectFactory()
Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.android.repository.impl.generated.v1

Method Detail

createRepositoryType

public Repository createRepositoryType()
Create an instance of RepositoryType

Specified by:
createRepositoryType in class CommonFactory

createRemotePackage

public RemotePackageImpl createRemotePackage()
Create an instance of RemotePackage


createLocalPackage

public LocalPackageImpl createLocalPackage()
Create an instance of LocalPackage

Specified by:
createLocalPackage in class CommonFactory

createDependenciesType

public RepoPackageImpl.Dependencies createDependenciesType()
Create an instance of DependenciesType

Specified by:
createDependenciesType in class CommonFactory

createArchivesType

public RepoPackageImpl.Archives createArchivesType()
Create an instance of ArchivesType

Specified by:
createArchivesType in class CommonFactory

createLicensesType

public RepoPackageImpl.UsesLicense createLicensesType()
Create an instance of LicensesType

Specified by:
createLicensesType in class CommonFactory

createDependencyType

public Dependency createDependencyType()
Create an instance of DependencyType

Specified by:
createDependencyType in class CommonFactory

createLicenseType

public License createLicenseType()
Create an instance of LicenseType

Specified by:
createLicenseType in class CommonFactory

createArchiveType

public Archive createArchiveType()
Create an instance of ArchiveType

Specified by:
createArchiveType in class CommonFactory

createPatchesType

public Archive.PatchesType createPatchesType()
Create an instance of PatchesType


createCompleteType

public Archive.CompleteType createCompleteType()
Create an instance of CompleteType

Specified by:
createCompleteType in class CommonFactory

createPatchType

public Archive.PatchType createPatchType()
Create an instance of PatchType

Specified by:
createPatchType in class CommonFactory

createRevisionType

public RevisionType createRevisionType()
Create an instance of RevisionType

Specified by:
createRevisionType in class CommonFactory

createRepository

public javax.xml.bind.JAXBElement<RepositoryType> createRepository(RepositoryType value)
Create an instance of JAXBElement<RepositoryType>}


generateElement

public javax.xml.bind.JAXBElement<Repository> generateElement(Repository value)
Description copied from class: ElementFactory
Creates a JAXBElement containing value, suitable for marshalling.

Specified by:
generateElement in class ElementFactory<Repository>