com.android.repository.impl.meta
Class GenericFactory

java.lang.Object
  extended by com.android.repository.api.ElementFactory<Repository>
      extended by com.android.repository.impl.meta.GenericFactory
Direct Known Subclasses:
ObjectFactory

public abstract class GenericFactory
extends ElementFactory<Repository>

Factory for creating types used by the generic schema.


Constructor Summary
GenericFactory()
           
 
Method Summary
abstract  TypeDetails.GenericType createGenericDetailsType()
           
abstract  javax.xml.bind.JAXBElement<Repository> generateElement(Repository value)
          Creates a JAXBElement containing value, suitable for marshalling.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericFactory

public GenericFactory()
Method Detail

createGenericDetailsType

@NonNull
public abstract TypeDetails.GenericType createGenericDetailsType()

generateElement

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

Specified by:
generateElement in class ElementFactory<Repository>