com.sun.tools.xjc.model
Class TypeUseFactory
java.lang.Object
com.sun.tools.xjc.model.TypeUseFactory
public final class TypeUseFactory
- extends Object
Factory methods to create a new TypeUse
from an existing one.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
makeID
public static TypeUse makeID(TypeUse t,
ID id)
makeMimeTyped
public static TypeUse makeMimeTyped(TypeUse t,
javax.activation.MimeType mt)
makeCollection
public static TypeUse makeCollection(TypeUse t)
adapt
public static TypeUse adapt(TypeUse t,
CAdapter adapter)
adapt
public static TypeUse adapt(TypeUse t,
Class<? extends XmlAdapter> adapter,
boolean copy)
- Creates a new adapter
TypeUse
by using the existing Adapter
class.