org.codehaus.enunciate.apt
Class ImplicitElementRef

java.lang.Object
  extended by org.codehaus.enunciate.apt.ImplicitElementRef
All Implemented Interfaces:
ImplicitSchemaElement
Direct Known Subclasses:
ImplicitChildElementRef

public class ImplicitElementRef
extends java.lang.Object
implements ImplicitSchemaElement

An implicit element reference.

Author:
Ryan Heaton

Field Summary
protected  Element element
           
 
Constructor Summary
ImplicitElementRef(Element element)
           
 
Method Summary
 TypeDefinition getAnonymousTypeDefinition()
           
 java.lang.String getElementDocs()
          Documentation for the element, if it exists.
 java.lang.String getElementName()
          The local element name.
 com.sun.mirror.util.SourcePosition getPosition()
          The source position for this element, or null if none.
 java.lang.String getTargetNamespace()
          The target namespace;
 javax.xml.namespace.QName getTypeQName()
          The qname of the type for this element, 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

element

protected final Element element
Constructor Detail

ImplicitElementRef

public ImplicitElementRef(Element element)
Method Detail

getElementName

public java.lang.String getElementName()
Description copied from interface: ImplicitSchemaElement
The local element name.

Specified by:
getElementName in interface ImplicitSchemaElement
Returns:
The local element name.

getTargetNamespace

public java.lang.String getTargetNamespace()
Description copied from interface: ImplicitSchemaElement
The target namespace;

Specified by:
getTargetNamespace in interface ImplicitSchemaElement
Returns:
The target namespace;

getElementDocs

public java.lang.String getElementDocs()
Description copied from interface: ImplicitSchemaElement
Documentation for the element, if it exists.

Specified by:
getElementDocs in interface ImplicitSchemaElement
Returns:
Documentation for the element, or null if none.

getTypeQName

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

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

getAnonymousTypeDefinition

public TypeDefinition getAnonymousTypeDefinition()

getPosition

public com.sun.mirror.util.SourcePosition getPosition()
Description copied from interface: ImplicitSchemaElement
The source position for this element, or null if none.

Specified by:
getPosition in interface ImplicitSchemaElement
Returns:
The source position for this element, or null if none.