org.codehaus.enunciate.contract.jaxb.types
Class SpecifiedXmlType

java.lang.Object
  extended by org.codehaus.enunciate.contract.jaxb.types.SpecifiedXmlType
All Implemented Interfaces:
XmlType

public class SpecifiedXmlType
extends java.lang.Object
implements XmlType

An xml type that has been specified.

Author:
Ryan Heaton

Constructor Summary
SpecifiedXmlType(javax.xml.bind.annotation.XmlSchemaType annotation)
           
 
Method Summary
 java.lang.String getName()
          The specified name.
 java.lang.String getNamespace()
          The specified namespace.
 javax.xml.namespace.QName getQname()
          The qname.
 boolean isAnonymous()
          A specified type is never anonymous.
 boolean isSimple()
          A specified type is assumed to be simple.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpecifiedXmlType

public SpecifiedXmlType(javax.xml.bind.annotation.XmlSchemaType annotation)
Method Detail

getName

public java.lang.String getName()
The specified name.

Specified by:
getName in interface XmlType
Returns:
The specified name.

getNamespace

public java.lang.String getNamespace()
The specified namespace.

Specified by:
getNamespace in interface XmlType
Returns:
The specified namespace.

getQname

public javax.xml.namespace.QName getQname()
The qname.

Specified by:
getQname in interface XmlType
Returns:
The qname.

isAnonymous

public boolean isAnonymous()
A specified type is never anonymous.

Specified by:
isAnonymous in interface XmlType
Returns:
A specified type is never anonymous.

isSimple

public boolean isSimple()
A specified type is assumed to be simple.

Specified by:
isSimple in interface XmlType
Returns:
true