|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.enunciate.contract.jaxb.types.XmlTypeFactory
public class XmlTypeFactory
A decorator that decorates the relevant type mirrors as xml type mirrors.
| Constructor Summary | |
|---|---|
XmlTypeFactory()
|
|
| Method Summary | |
|---|---|
static XmlType |
findExplicitSchemaType(Accessor accessor)
Finds the explicit schema type for the given accessor. |
static XmlType |
findSpecifiedType(Adaptable adaptable)
Find the specified type of the given adaptable element, if it exists. |
static XmlType |
getXmlType(java.lang.Class type)
Get the XML type for the specified type. |
static XmlType |
getXmlType(com.sun.mirror.type.TypeMirror typeMirror)
Get the XML type for the specified type mirror. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlTypeFactory()
| Method Detail |
|---|
public static XmlType findSpecifiedType(Adaptable adaptable)
throws XmlTypeException
adaptable - The adaptable element for which to find the specified type.
XmlTypeExceptionpublic static XmlType findExplicitSchemaType(Accessor accessor)
accessor - The accessor.
public static XmlType getXmlType(com.sun.mirror.type.TypeMirror typeMirror)
throws XmlTypeException
typeMirror - The type mirror.
XmlTypeException - If the type is invalid or unknown as an xml type.
public static XmlType getXmlType(java.lang.Class type)
throws XmlTypeException
type - The type mirror.
XmlTypeException - If the type is invalid or unknown as an xml type.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||