org.codehaus.enunciate.contract.jaxb
Class Value

java.lang.Object
  extended by net.sf.jelly.apt.decorations.declaration.DecoratedDeclaration
      extended by net.sf.jelly.apt.decorations.declaration.DecoratedMemberDeclaration
          extended by org.codehaus.enunciate.contract.jaxb.Accessor
              extended by org.codehaus.enunciate.contract.jaxb.Value
All Implemented Interfaces:
com.sun.mirror.declaration.Declaration, com.sun.mirror.declaration.MemberDeclaration, Adaptable

public class Value
extends Accessor

An accessor that is marshalled in xml to an xml value.

Author:
Ryan Heaton

Field Summary
 
Fields inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedDeclaration
delegate, javaDoc
 
Constructor Summary
Value(com.sun.mirror.declaration.MemberDeclaration delegate, TypeDefinition typedef)
           
 
Method Summary
 java.lang.String getJsonMemberName()
          Get the name for the JSON member to which this element will be serialized.
 java.lang.String getName()
          There's no name of a value accessor
 java.lang.String getNamespace()
          The target namespace of the value.
 boolean isValue()
          Whether this accessor is a value.
 
Methods inherited from class org.codehaus.enunciate.contract.jaxb.Accessor
getAccessorForXmlID, getAccessorType, getAdapterType, getBareAccessorType, getBaseType, getClientSimpleName, getCollectionItemType, getMimeType, getQNameEnumRef, getRef, getReferencedFrom, getSeeAlsos, getTypeDefinition, isAdapted, isAttribute, isBinaryData, isCollectionType, isElementRef, isMTOMAttachment, isQNameType, isReferencesQNameEnum, isSwaRef, isXmlID, isXmlIDREF, isXmlList
 
Methods inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedMemberDeclaration
accept, getDeclaringType
 
Methods inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedDeclaration
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
 
Methods inherited from interface com.sun.mirror.declaration.Declaration
equals, getAnnotation, getAnnotationMirrors, getDocComment, getModifiers, getPosition, getSimpleName
 

Constructor Detail

Value

public Value(com.sun.mirror.declaration.MemberDeclaration delegate,
             TypeDefinition typedef)
Method Detail

getName

public java.lang.String getName()
There's no name of a value accessor

Specified by:
getName in class Accessor
Returns:
null.

getNamespace

public java.lang.String getNamespace()
The target namespace of the value.

Specified by:
getNamespace in class Accessor
Returns:
The target namespace of the value.

isValue

public boolean isValue()
Description copied from class: Accessor
Whether this accessor is a value.

Overrides:
isValue in class Accessor
Returns:
Whether this accessor is a value.

getJsonMemberName

public java.lang.String getJsonMemberName()
Description copied from class: Accessor
Get the name for the JSON member to which this element will be serialized.

Specified by:
getJsonMemberName in class Accessor
Returns:
The JSON member name.