com.android.repository.impl.meta
Class TypeDetails
java.lang.Object
com.android.repository.impl.meta.TypeDetails
- Direct Known Subclasses:
- TypeDetails
public abstract class TypeDetails
- extends java.lang.Object
Abstract superclass for xjc-created JAXB-usable types.
Each RepoPackage can optionally contain an instance of a subclass of TypeDetails.
Each JAXB-usable subclass should itself implement an interface that can be used to access the
actual type information and methods of the concrete subclass.
Notably this class is used to create JAXBElements when marshalling, since it is the one
class that has access to the ObjectFactory of the relevant extension (namely, the
extension in which it was defined).
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeDetails
public TypeDetails()
createFactory
@NonNull
public abstract ElementFactory<Repository> createFactory()
- Creates an
ElementFactory which will itself use the ObjectFactory of
our concrete type to create a JAXBElement for marshalling.