|
|||||||||
| 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.json.JsonTypeDefinition
public abstract class JsonTypeDefinition
A json type definition.
| Field Summary |
|---|
| Fields inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedDeclaration |
|---|
delegate, javaDoc |
| Constructor Summary | |
|---|---|
protected |
JsonTypeDefinition(com.sun.mirror.declaration.ClassDeclaration delegate)
Create a new JsonTypeDefinition. |
| Method Summary | |
|---|---|
com.sun.mirror.declaration.ClassDeclaration |
classDeclaration()
|
static JsonTypeDefinition |
createTypeDefinition(com.sun.mirror.declaration.ClassDeclaration delegate)
Create a new JsonTypeDefinition. |
java.lang.String |
getTypeName()
|
static java.lang.String |
getTypeName(com.sun.mirror.declaration.TypeDeclaration delegate)
|
| 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, getPackage, getProperties, getQualifiedName, getSuperinterfaces, isAnnotatedType, isEnum, 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, getPackage, 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 |
|---|
protected JsonTypeDefinition(com.sun.mirror.declaration.ClassDeclaration delegate)
delegate - Declaration to create a JSON type from (must not be null).| Method Detail |
|---|
public static JsonTypeDefinition createTypeDefinition(com.sun.mirror.declaration.ClassDeclaration delegate)
EnumDeclaration then a JsonEnumTypeDefinition is created. Otherwise a JsonObjectTypeDefinition is created.
delegate - Declaration to create a JSON type from (must not be null).
public final com.sun.mirror.declaration.ClassDeclaration classDeclaration()
public final java.lang.String getTypeName()
getTypeName in interface JsonTypepublic static java.lang.String getTypeName(com.sun.mirror.declaration.TypeDeclaration delegate)
delegate - Type declaration to get a JSON type name for (must not be null).
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||