org.codehaus.enunciate.contract.jaxrs
Class ResourceEntityParameter

java.lang.Object
  extended by net.sf.jelly.apt.decorations.declaration.DecoratedDeclaration
      extended by org.codehaus.enunciate.contract.jaxrs.ResourceEntityParameter
All Implemented Interfaces:
com.sun.mirror.declaration.Declaration

public class ResourceEntityParameter
extends net.sf.jelly.apt.decorations.declaration.DecoratedDeclaration

An entity parameter.

Author:
Ryan Heaton

Field Summary
 
Fields inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedDeclaration
delegate, javaDoc
 
Constructor Summary
ResourceEntityParameter(com.sun.mirror.declaration.Declaration delegate, com.sun.mirror.type.TypeMirror type)
           
ResourceEntityParameter(com.sun.mirror.declaration.ParameterDeclaration delegate)
           
 
Method Summary
 JsonType getJsonType()
          The JSON element associated with the entity parameter, or null if none (or unknown).
 com.sun.mirror.type.TypeMirror getType()
           
 ElementDeclaration getXmlElement()
          The XML element associated with the entity parameter, or null if none (or unknown).
 
Methods inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedDeclaration
accept, constructJavaDoc, equals, getAnnotation, 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
 

Constructor Detail

ResourceEntityParameter

public ResourceEntityParameter(com.sun.mirror.declaration.ParameterDeclaration delegate)

ResourceEntityParameter

public ResourceEntityParameter(com.sun.mirror.declaration.Declaration delegate,
                               com.sun.mirror.type.TypeMirror type)
Method Detail

getXmlElement

public ElementDeclaration getXmlElement()
The XML element associated with the entity parameter, or null if none (or unknown).

Returns:
The XML element associated with the entity parameter, or null if none (or unknown).

getJsonType

public JsonType getJsonType()
The JSON element associated with the entity parameter, or null if none (or unknown).

Returns:
The JSON element associated with the entity parameter, or null if none (or unknown).

getType

public com.sun.mirror.type.TypeMirror getType()