org.codehaus.enunciate.contract.jaxb
Class AnyElement

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.AnyElement
All Implemented Interfaces:
com.sun.mirror.declaration.Declaration, com.sun.mirror.declaration.MemberDeclaration, HasFacets

public class AnyElement
extends net.sf.jelly.apt.decorations.declaration.DecoratedMemberDeclaration
implements HasFacets

Used to wrap @XmlAnyElement.

Author:
Ryan Heaton

Field Summary
 
Fields inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedDeclaration
delegate, javaDoc
 
Constructor Summary
AnyElement(com.sun.mirror.declaration.MemberDeclaration delegate, TypeDefinition typeDef)
           
 
Method Summary
 java.lang.String getClientSimpleName()
          The simple name for client-side code generation.
 java.util.List<ElementRef> getElementRefs()
          The element refs.
 java.util.Set<Facet> getFacets()
          The facets here applicable.
 boolean isCollectionType()
          Whether the any element is a collection.
 boolean isLax()
          Whether this is lax.
 
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

AnyElement

public AnyElement(com.sun.mirror.declaration.MemberDeclaration delegate,
                  TypeDefinition typeDef)
Method Detail

isLax

public boolean isLax()
Whether this is lax.

Returns:
Whether this is lax.

isCollectionType

public boolean isCollectionType()
Whether the any element is a collection.

Returns:
Whether the any element is a collection.

getElementRefs

public java.util.List<ElementRef> getElementRefs()
The element refs.

Returns:
The element refs.

getClientSimpleName

public java.lang.String getClientSimpleName()
The simple name for client-side code generation.

Returns:
The simple name for client-side code generation.

getFacets

public java.util.Set<Facet> getFacets()
The facets here applicable.

Specified by:
getFacets in interface HasFacets
Returns:
The facets here applicable.