|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.jelly.apt.decorations.declaration.DecoratedDeclaration
net.sf.jelly.apt.decorations.declaration.DecoratedMemberDeclaration
net.sf.jelly.apt.decorations.declaration.DecoratedTypeDeclaration
net.sf.jelly.apt.decorations.declaration.DecoratedClassDeclaration
org.codehaus.enunciate.contract.jaxb.TypeDefinition
org.codehaus.enunciate.contract.jaxb.SimpleTypeDefinition
org.codehaus.enunciate.contract.jaxb.EnumTypeDefinition
public class EnumTypeDefinition
An enum type definition.
| Field Summary |
|---|
| Fields inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedDeclaration |
|---|
delegate, javaDoc |
| Constructor Summary | |
|---|---|
EnumTypeDefinition(com.sun.mirror.declaration.EnumDeclaration delegate)
|
|
| Method Summary | |
|---|---|
ValidationResult |
accept(BaseValidator validator)
Accept a validator. |
XmlType |
getBaseType()
The base type for this simple type, or null if none exists. |
com.sun.mirror.type.TypeMirror |
getEnumBaseClass()
The enum base class. |
protected com.sun.mirror.type.TypeMirror |
getEnumBaseClass(java.lang.Class enumClass)
|
java.util.Collection<com.sun.mirror.declaration.EnumConstantDeclaration> |
getEnumConstants()
|
java.util.Map<java.lang.String,java.lang.Object> |
getEnumValues()
The map of constant declarations (simple names) to their enum constant values. |
protected com.sun.mirror.apt.AnnotationProcessorEnvironment |
getEnv()
The current environment. |
boolean |
isEnum()
Whether this is a enum type. |
boolean |
isSimple()
Whether this is a simple type. |
protected java.util.Map<java.lang.String,java.lang.Object> |
loadEnumValues()
|
| Methods inherited from class org.codehaus.enunciate.contract.jaxb.TypeDefinition |
|---|
addOrReplace, aggregatePotentialAccessors, getAccessorOrder, getAccessType, getAnyAttributeQNameEnumRef, getAnyElement, getAttributes, getClientSimpleName, getElements, getInheritedAccessType, getName, getNamespace, getPackage, getPropertyOrder, getQname, getReferencedFrom, getSchema, getSeeAlsos, getValue, getXmlID, isAnonymous, isAnyAttribute, isAnyElement, isAttribute, isBaseObject, isComplex, isElementRef, isHasAnyAttribute, isUnsupported, isValue, isXmlTransient, loadPotentialAccessors, overrides, remove |
| Methods inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedClassDeclaration |
|---|
accept, getAnnotation, getConstructors, getMethods, getSuperclass, isClass |
| Methods inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedTypeDeclaration |
|---|
getFields, getFormalTypeParameters, getNestedTypes, getProperties, getQualifiedName, getSuperinterfaces, isAnnotatedType, isInterface, isPaired |
| Methods inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedMemberDeclaration |
|---|
getDeclaringType |
| Methods inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedDeclaration |
|---|
constructJavaDoc, equals, getAnnotationMirrors, getAnnotations, getDelegate, getDocComment, getDocValue, getJavaDoc, getModifiers, getPosition, getSimpleName, isAbstract, isFinal, isNative, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSynchronized, isTransient, isVolatile, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.sun.mirror.declaration.TypeDeclaration |
|---|
getFields, getFormalTypeParameters, getNestedTypes, getQualifiedName, getSuperinterfaces |
| Methods inherited from interface com.sun.mirror.declaration.MemberDeclaration |
|---|
getDeclaringType |
| Methods inherited from interface com.sun.mirror.declaration.Declaration |
|---|
equals, getAnnotationMirrors, getDocComment, getModifiers, getPosition, getSimpleName |
| Constructor Detail |
|---|
public EnumTypeDefinition(com.sun.mirror.declaration.EnumDeclaration delegate)
| Method Detail |
|---|
protected java.util.Map<java.lang.String,java.lang.Object> loadEnumValues()
public java.util.Collection<com.sun.mirror.declaration.EnumConstantDeclaration> getEnumConstants()
public XmlType getBaseType()
SimpleTypeDefinition
getBaseType in class SimpleTypeDefinitionpublic com.sun.mirror.type.TypeMirror getEnumBaseClass()
protected com.sun.mirror.type.TypeMirror getEnumBaseClass(java.lang.Class enumClass)
enumClass - The enum class.
public java.util.Map<java.lang.String,java.lang.Object> getEnumValues()
public boolean isSimple()
TypeDefinition
isSimple in class SimpleTypeDefinitionpublic boolean isEnum()
TypeDefinition
isEnum in class TypeDefinitionpublic ValidationResult accept(BaseValidator validator)
TypeDefinition
accept in class SimpleTypeDefinitionvalidator - The validator to accept.
protected com.sun.mirror.apt.AnnotationProcessorEnvironment getEnv()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||