|
|||||||||
| 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
org.codehaus.enunciate.contract.jaxb.Accessor
public abstract class Accessor
An accessor for a field or method value into a type.
| Field Summary |
|---|
| Fields inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedDeclaration |
|---|
delegate, javaDoc |
| Constructor Summary | |
|---|---|
Accessor(com.sun.mirror.declaration.MemberDeclaration delegate,
TypeDefinition typeDef)
|
|
| Method Summary | |
|---|---|
com.sun.mirror.declaration.MemberDeclaration |
getAccessorForXmlID()
Returns the accessor for the XML id, or null if none was found or if this isn't an Xml IDREF accessor. |
com.sun.mirror.type.TypeMirror |
getAccessorType()
The type of the accessor. |
AdapterType |
getAdapterType()
The class type of the adaptor. |
com.sun.mirror.type.TypeMirror |
getBareAccessorType()
The bare (i.e. |
XmlType |
getBaseType()
The base xml type of the accessor. |
java.lang.String |
getClientSimpleName()
The simple name for client-side code generation. |
com.sun.mirror.type.TypeMirror |
getCollectionItemType()
If this is a collection type, return the type parameter of the collection, or null if this isn't a parameterized collection type. |
abstract java.lang.String |
getJsonMemberName()
Get the name for the JSON member to which this element will be serialized. |
java.lang.String |
getMimeType()
The suggested mime type of the binary data, or null if none. |
abstract java.lang.String |
getName()
The name of the accessor. |
abstract java.lang.String |
getNamespace()
The namespace of the accessor. |
com.sun.mirror.type.TypeMirror |
getQNameEnumRef()
The enum type containing the known qnames for this qname enum accessor, or null is this accessor doesn't reference a known qname type. |
javax.xml.namespace.QName |
getRef()
The qname for the referenced accessor, if this accessor is a reference to a global element, or null if this element is not a reference element. |
java.util.Set<java.lang.String> |
getReferencedFrom()
Set of (human-readable) locations that this type definition is referenced from. |
java.util.Collection<com.sun.mirror.type.TypeMirror> |
getSeeAlsos()
|
TypeDefinition |
getTypeDefinition()
The type definition for this accessor. |
boolean |
isAdapted()
Whether this element is adapted according to the JAXB spec. |
boolean |
isAttribute()
Whether this accessor is an attribute. |
boolean |
isBinaryData()
Whether this accessor consists of binary data. |
boolean |
isCollectionType()
Whether the accessor type is a collection type. |
boolean |
isElementRef()
Whether this accessor is an element ref. |
boolean |
isMTOMAttachment()
Whether this accessor is an MTOM attachment. |
boolean |
isQNameType()
Whether this access is a QName type. |
boolean |
isReferencesQNameEnum()
Whether this QName accessor references a QName enum type. |
boolean |
isSwaRef()
Whether this accessor is a swa ref. |
boolean |
isValue()
Whether this accessor is a value. |
boolean |
isXmlID()
Whether this accessor is an XML ID. |
boolean |
isXmlIDREF()
Whether this accessor is an XML IDREF. |
boolean |
isXmlList()
Whether this accessor is specified as an xml list. |
| 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 |
|---|
public Accessor(com.sun.mirror.declaration.MemberDeclaration delegate,
TypeDefinition typeDef)
| Method Detail |
|---|
public abstract java.lang.String getName()
public abstract java.lang.String getNamespace()
public java.lang.String getClientSimpleName()
public com.sun.mirror.type.TypeMirror getAccessorType()
public com.sun.mirror.type.TypeMirror getBareAccessorType()
public XmlType getBaseType()
public javax.xml.namespace.QName getRef()
public TypeDefinition getTypeDefinition()
public boolean isXmlList()
public boolean isXmlID()
public boolean isXmlIDREF()
public boolean isBinaryData()
public boolean isQNameType()
public boolean isSwaRef()
public boolean isMTOMAttachment()
public java.lang.String getMimeType()
public boolean isCollectionType()
public com.sun.mirror.type.TypeMirror getCollectionItemType()
public com.sun.mirror.declaration.MemberDeclaration getAccessorForXmlID()
public java.util.Collection<com.sun.mirror.type.TypeMirror> getSeeAlsos()
public boolean isAdapted()
Adaptable
isAdapted in interface Adaptablepublic AdapterType getAdapterType()
Adaptable
getAdapterType in interface Adaptablepublic boolean isAttribute()
public boolean isValue()
public boolean isElementRef()
public boolean isReferencesQNameEnum()
public com.sun.mirror.type.TypeMirror getQNameEnumRef()
public java.util.Set<java.lang.String> getReferencedFrom()
public abstract java.lang.String getJsonMemberName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||