org.codehaus.enunciate.contract.jaxb.adapters
Interface Adaptable

All Known Implementing Classes:
Accessor, Attribute, Element, ElementRef, Value, WebFault.FaultBeanChildElement, WebParam, WebResult

public interface Adaptable

Marks an element that has a type that is possibly adaptable according to the JAXB specification.

Author:
Ryan Heaton

Method Summary
 AdapterType getAdapterType()
          The class type of the adaptor.
 boolean isAdapted()
          Whether this element is adapted according to the JAXB spec.
 

Method Detail

isAdapted

boolean isAdapted()
Whether this element is adapted according to the JAXB spec.

Returns:
Whether the element is adapted.

getAdapterType

AdapterType getAdapterType()
The class type of the adaptor.

Returns:
The class type of the adaptor.