org.codehaus.enunciate.contract.jaxb.types
Interface XmlType

All Known Implementing Classes:
KnownXmlType, MapXmlType, SpecifiedXmlType, XmlClassType, XmlPrimitiveType

public interface XmlType

Type mirror that provides its qname.

Author:
Ryan Heaton

Method Summary
 java.lang.String getName()
          The (local) name of this xml type.
 java.lang.String getNamespace()
          The namespace for this xml type.
 javax.xml.namespace.QName getQname()
          The qname of the xml type mirror.
 boolean isAnonymous()
          Whether this type is anonymous.
 boolean isSimple()
          Whether this is a simple XML type.
 

Method Detail

getName

java.lang.String getName()
The (local) name of this xml type.

Returns:
The (local) name of this xml type.

getNamespace

java.lang.String getNamespace()
The namespace for this xml type.

Returns:
The namespace for this xml type.

getQname

javax.xml.namespace.QName getQname()
The qname of the xml type mirror.

Returns:
The qname of the xml type mirror.

isAnonymous

boolean isAnonymous()
Whether this type is anonymous.

Returns:
Whether this type is anonymous.

isSimple

boolean isSimple()
Whether this is a simple XML type.

Returns:
Whether this is a simple XML type.