org.codehaus.enunciate.contract.jaxrs
Class ResourceRepresentationMetadata

java.lang.Object
  extended by org.codehaus.enunciate.contract.jaxrs.ResourceRepresentationMetadata

public class ResourceRepresentationMetadata
extends java.lang.Object

Metadata about the representations of a resource, as provided by a resource methods.

Author:
Ryan Heaton

Constructor Summary
ResourceRepresentationMetadata(net.sf.jelly.apt.decorations.type.DecoratedTypeMirror delegate)
           
ResourceRepresentationMetadata(com.sun.mirror.type.TypeMirror delegate, java.lang.String docValue)
           
 
Method Summary
 com.sun.mirror.type.TypeMirror getDelegate()
           
 java.lang.String getDocValue()
          The documentation.
 JsonType getJsonType()
          The type for the JSON representation, if any.
 ElementDeclaration getXmlElement()
          The element for the XML representation, if any.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceRepresentationMetadata

public ResourceRepresentationMetadata(net.sf.jelly.apt.decorations.type.DecoratedTypeMirror delegate)

ResourceRepresentationMetadata

public ResourceRepresentationMetadata(com.sun.mirror.type.TypeMirror delegate,
                                      java.lang.String docValue)
Method Detail

getDocValue

public java.lang.String getDocValue()
The documentation.

Returns:
The documentation.

getXmlElement

public ElementDeclaration getXmlElement()
The element for the XML representation, if any.

Returns:
The element for the XML representation, if any.

getJsonType

public JsonType getJsonType()
The type for the JSON representation, if any.

Returns:
The type for the JSON representation, if any.

getDelegate

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