org.codehaus.enunciate.apt
Class ImplicitChildElementRef

java.lang.Object
  extended by org.codehaus.enunciate.apt.ImplicitElementRef
      extended by org.codehaus.enunciate.apt.ImplicitChildElementRef
All Implemented Interfaces:
ImplicitChildElement, ImplicitSchemaElement

public class ImplicitChildElementRef
extends ImplicitElementRef
implements ImplicitChildElement

An implicit child element reference.

Author:
Ryan Heaton

Field Summary
 
Fields inherited from class org.codehaus.enunciate.apt.ImplicitElementRef
element
 
Constructor Summary
ImplicitChildElementRef(Element element)
           
 
Method Summary
 java.lang.String getMaxOccurs()
          The value for the max occurs of the child element.
 java.lang.String getMimeType()
          The mime type for this child element (for binary data), or null if not applicable.
 int getMinOccurs()
          The value for the min occurs of the child element.
 com.sun.mirror.util.SourcePosition getPosition()
          The source position for this element, or null if none.
 com.sun.mirror.type.TypeMirror getType()
          Gets the java type for this child element.
 XmlType getXmlType()
          Gets the xml type for this child element.
 boolean isSwaRef()
          Whether this child element is an attachment ref.
 
Methods inherited from class org.codehaus.enunciate.apt.ImplicitElementRef
getAnonymousTypeDefinition, getElementDocs, getElementName, getTargetNamespace, getTypeQName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.codehaus.enunciate.contract.jaxb.ImplicitChildElement
getTypeQName
 
Methods inherited from interface org.codehaus.enunciate.contract.jaxb.ImplicitSchemaElement
getElementDocs, getElementName, getTargetNamespace
 

Constructor Detail

ImplicitChildElementRef

public ImplicitChildElementRef(Element element)
Method Detail

getMinOccurs

public int getMinOccurs()
Description copied from interface: ImplicitChildElement
The value for the min occurs of the child element.

Specified by:
getMinOccurs in interface ImplicitChildElement
Returns:
The value for the min occurs of the child element.

getMaxOccurs

public java.lang.String getMaxOccurs()
Description copied from interface: ImplicitChildElement
The value for the max occurs of the child element.

Specified by:
getMaxOccurs in interface ImplicitChildElement
Returns:
The value for the max occurs of the child element.

getXmlType

public XmlType getXmlType()
Description copied from interface: ImplicitChildElement
Gets the xml type for this child element.

Specified by:
getXmlType in interface ImplicitChildElement
Returns:
The xml type.

getType

public com.sun.mirror.type.TypeMirror getType()
Description copied from interface: ImplicitChildElement
Gets the java type for this child element.

Specified by:
getType in interface ImplicitChildElement
Returns:
The xml type.

getMimeType

public java.lang.String getMimeType()
Description copied from interface: ImplicitChildElement
The mime type for this child element (for binary data), or null if not applicable.

Specified by:
getMimeType in interface ImplicitChildElement
Returns:
The mime type or null.

isSwaRef

public boolean isSwaRef()
Description copied from interface: ImplicitChildElement
Whether this child element is an attachment ref.

Specified by:
isSwaRef in interface ImplicitChildElement
Returns:
Whether this child element is an attachment ref.

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
Overrides:
getPosition in class ImplicitElementRef
Returns:
The source position for this element, or null if none.