org.codehaus.enunciate.apt
Class ImplicitWrappedElementRef

java.lang.Object
  extended by org.codehaus.enunciate.apt.ImplicitWrappedElementRef
All Implemented Interfaces:
ImplicitRootElement, ImplicitSchemaElement

public class ImplicitWrappedElementRef
extends java.lang.Object
implements ImplicitRootElement

An implicit wrapped element reference.

Author:
Ryan Heaton

Constructor Summary
ImplicitWrappedElementRef(Element element)
           
 
Method Summary
 java.util.Collection<ImplicitChildElement> getChildElements()
          If the schema type of this element is anonymous, get the list of child elements for this schema element.
 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
 

Constructor Detail

ImplicitWrappedElementRef

public ImplicitWrappedElementRef(Element element)
Method Detail

getChildElements

public java.util.Collection<ImplicitChildElement> getChildElements()
Description copied from interface: ImplicitRootElement
If the schema type of this element is anonymous, get the list of child elements for this schema element.

Specified by:
getChildElements in interface ImplicitRootElement
Returns:
The list of child elements for this schema element, or null if the type of this implicit element is not anonymous.

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.

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.