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

java.lang.Object
  extended by net.sf.jelly.apt.decorations.type.DecoratedTypeMirror
      extended by net.sf.jelly.apt.decorations.type.DecoratedPrimitiveType
          extended by org.codehaus.enunciate.contract.jaxb.types.XmlPrimitiveType
All Implemented Interfaces:
com.sun.mirror.type.PrimitiveType, com.sun.mirror.type.TypeMirror, XmlType

public class XmlPrimitiveType
extends net.sf.jelly.apt.decorations.type.DecoratedPrimitiveType
implements XmlType

Author:
Ryan Heaton

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.mirror.type.PrimitiveType
com.sun.mirror.type.PrimitiveType.Kind
 
Field Summary
 
Fields inherited from class net.sf.jelly.apt.decorations.type.DecoratedTypeMirror
delegate
 
Constructor Summary
XmlPrimitiveType(com.sun.mirror.type.PrimitiveType delegate)
           
 
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.
 
Methods inherited from class net.sf.jelly.apt.decorations.type.DecoratedPrimitiveType
accept, getKeyword, getKind, isInstanceOf, isPrimitive
 
Methods inherited from class net.sf.jelly.apt.decorations.type.DecoratedTypeMirror
equals, getDelegate, getDocComment, getDocValue, isAnnotation, isArray, isClass, isCollection, isDeclared, isEnum, isInterface, isReferenceType, isTypeVariable, isVoid, isWildcard, setDocComment, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.sun.mirror.type.TypeMirror
equals, toString
 

Constructor Detail

XmlPrimitiveType

public XmlPrimitiveType(com.sun.mirror.type.PrimitiveType delegate)
Method Detail

getName

public java.lang.String getName()
Description copied from interface: XmlType
The (local) name of this xml type.

Specified by:
getName in interface XmlType
Returns:
The (local) name of this xml type.

getNamespace

public java.lang.String getNamespace()
Description copied from interface: XmlType
The namespace for this xml type.

Specified by:
getNamespace in interface XmlType
Returns:
The namespace for this xml type.

getQname

public javax.xml.namespace.QName getQname()
Description copied from interface: XmlType
The qname of the xml type mirror.

Specified by:
getQname in interface XmlType
Returns:
The qname of the xml type mirror.

isAnonymous

public boolean isAnonymous()
Description copied from interface: XmlType
Whether this type is anonymous.

Specified by:
isAnonymous in interface XmlType
Returns:
Whether this type is anonymous.

isSimple

public boolean isSimple()
Description copied from interface: XmlType
Whether this is a simple XML type.

Specified by:
isSimple in interface XmlType
Returns:
Whether this is a simple XML type.