Top Description Constructors Methods
com.sun.tools.xjc.model

public final Class TypeUseFactory

extends Object
Class Inheritance
Imports
jakarta.activation.MimeType, jakarta.xml.bind.annotation.adapters.XmlAdapter, org.glassfish.jaxb.core.v2.TODO, org.glassfish.jaxb.core.v2.model.core.Adapter, .ID

Factory methods to create a new TypeUse from an existing one.
Author
Kohsuke Kawaguchi

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static TypeUse
adapt(TypeUse t, CAdapter adapter)

public static TypeUse
adapt(TypeUse t, Class<? extends XmlAdapter<ValueType, BoundType>> adapter, boolean copy)

Creates a new adapter TypeUse by using the existing Adapter class.

public static TypeUse
public static TypeUse
makeID(TypeUse t, ID id)

public static TypeUse
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

TypeUseFactoryback to summary
private TypeUseFactory()

Method Detail

adaptback to summary
public static TypeUse adapt(TypeUse t, CAdapter adapter)
adaptback to summary
public static TypeUse adapt(TypeUse t, Class<? extends XmlAdapter<ValueType, BoundType>> adapter, boolean copy)

Creates a new adapter TypeUse by using the existing Adapter class.

makeCollectionback to summary
public static TypeUse makeCollection(TypeUse t)
makeIDback to summary
public static TypeUse makeID(TypeUse t, ID id)
makeMimeTypedback to summary
public static TypeUse makeMimeTyped(TypeUse t, MimeType mt)