org.codehaus.enunciate.contract.jaxb.adapters
Class AdapterUtil

java.lang.Object
  extended by org.codehaus.enunciate.contract.jaxb.adapters.AdapterUtil

public class AdapterUtil
extends java.lang.Object

Logic for the XML adapter stuff according to the JAXB specification.

Author:
Ryan Heaton

Constructor Summary
AdapterUtil()
           
 
Method Summary
static AdapterType findAdapterType(com.sun.mirror.declaration.Declaration declaration)
          Finds the adapter type for the specified declaration, if any.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdapterUtil

public AdapterUtil()
Method Detail

findAdapterType

public static AdapterType findAdapterType(com.sun.mirror.declaration.Declaration declaration)
Finds the adapter type for the specified declaration, if any.

Parameters:
declaration - The declaration for which to find that adapter type.
Returns:
The adapter type, or null if none was specified.