|
|||||||||
| 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
org.codehaus.enunciate.contract.jaxb.Attribute
public class Attribute
An accessor that is marshalled in xml to an xml attribute.
| Field Summary |
|---|
| Fields inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedDeclaration |
|---|
delegate, javaDoc |
| Constructor Summary | |
|---|---|
Attribute(com.sun.mirror.declaration.MemberDeclaration delegate,
TypeDefinition typedef)
|
|
| Method Summary | |
|---|---|
javax.xml.bind.annotation.XmlNsForm |
getForm()
The form of this attribute. |
java.lang.String |
getJsonMemberName()
Get the name for the JSON member to which this element will be serialized. |
java.lang.String |
getName()
The name of the accessor. |
java.lang.String |
getNamespace()
The namespace of the accessor. |
javax.xml.namespace.QName |
getRef()
An attribute is a ref if its namespace differs from that of its type definition (JAXB spec 8.9.7.2). |
boolean |
isAttribute()
Whether this accessor is an attribute. |
boolean |
isFormQualified()
Whether the form of this attribute is qualified. |
boolean |
isRequired()
Whether the attribute is required. |
| Methods inherited from class org.codehaus.enunciate.contract.jaxb.Accessor |
|---|
getAccessorForXmlID, getAccessorType, getAdapterType, getBareAccessorType, getBaseType, getClientSimpleName, getCollectionItemType, getMimeType, getQNameEnumRef, getReferencedFrom, getSeeAlsos, getTypeDefinition, isAdapted, isBinaryData, isCollectionType, isElementRef, isMTOMAttachment, isQNameType, isReferencesQNameEnum, isSwaRef, isValue, 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 |
|---|
public Attribute(com.sun.mirror.declaration.MemberDeclaration delegate,
TypeDefinition typedef)
| Method Detail |
|---|
public java.lang.String getName()
Accessor
getName in class Accessorpublic java.lang.String getNamespace()
Accessor
getNamespace in class Accessorpublic javax.xml.bind.annotation.XmlNsForm getForm()
public boolean isFormQualified()
public javax.xml.namespace.QName getRef()
getRef in class Accessorpublic boolean isRequired()
public boolean isAttribute()
Accessor
isAttribute in class Accessorpublic java.lang.String getJsonMemberName()
Accessor
getJsonMemberName in class Accessor
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||