|
|||||||||
| 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. |
String |
getName()
The name of the accessor. |
String |
getNamespace()
The namespace of the accessor. |
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 |
isRequired()
Whether the attribute is required. |
| Methods inherited from class org.codehaus.enunciate.contract.jaxb.Accessor |
|---|
getAccessorForXmlID, getAccessorType, getAdapterType, getBareAccessorType, getBaseType, getClientSimpleName, getCollectionItemType, getMimeType, getTypeDefinition, isAdapted, isBinaryData, isCollectionType, isElementRef, isMTOMAttachment, 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 |
|---|
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 String getName()
Accessor
getName in class Accessorpublic String getNamespace()
Accessor
getNamespace in class Accessorpublic javax.xml.bind.annotation.XmlNsForm getForm()
public QName getRef()
getRef in class Accessorpublic boolean isRequired()
public boolean isAttribute()
Accessor
isAttribute in class Accessor
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||