org.codehaus.enunciate.apt
Class ImplicitAttributeRef

java.lang.Object
  extended by org.codehaus.enunciate.apt.ImplicitAttributeRef
All Implemented Interfaces:
ImplicitSchemaAttribute

public class ImplicitAttributeRef
extends java.lang.Object
implements ImplicitSchemaAttribute

An implicit attribute reference.

Author:
Ryan Heaton

Field Summary
protected  Attribute attribute
           
 
Constructor Summary
ImplicitAttributeRef(Attribute attribute)
           
 
Method Summary
 TypeDefinition getAnonymousTypeDefinition()
           
 java.lang.String getAttributeDocs()
          Documentation for the attribute, if it exists.
 java.lang.String getAttributeName()
          The local attribute name.
 javax.xml.namespace.QName getTypeQName()
          The qname of the type for this attribute, if the type is not anonymous.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attribute

protected final Attribute attribute
Constructor Detail

ImplicitAttributeRef

public ImplicitAttributeRef(Attribute attribute)
Method Detail

getAttributeName

public java.lang.String getAttributeName()
Description copied from interface: ImplicitSchemaAttribute
The local attribute name.

Specified by:
getAttributeName in interface ImplicitSchemaAttribute
Returns:
The local attribute name.

getAttributeDocs

public java.lang.String getAttributeDocs()
Description copied from interface: ImplicitSchemaAttribute
Documentation for the attribute, if it exists.

Specified by:
getAttributeDocs in interface ImplicitSchemaAttribute
Returns:
Documentation for the attribute, or null if none.

getTypeQName

public javax.xml.namespace.QName getTypeQName()
Description copied from interface: ImplicitSchemaAttribute
The qname of the type for this attribute, if the type is not anonymous.

Specified by:
getTypeQName in interface ImplicitSchemaAttribute
Returns:
The qname of the type for this attribute, or null if it's an anonymous type.

getAnonymousTypeDefinition

public TypeDefinition getAnonymousTypeDefinition()