org.apache.cocoon.optional.pipeline.components.sax.jaxb
Class GenericType<T>

java.lang.Object
  extended by org.apache.cocoon.optional.pipeline.components.sax.jaxb.GenericType<T>

public abstract class GenericType<T>
extends Object

Version:
$Id: GenericType.html 1343757 2012-05-29 14:45:42Z ilgrosso $

Constructor Summary
GenericType(T object)
           
 
Method Summary
 T getObject()
           
 Object[] getObjectAsArray()
           
 Iterable<Object> getObjectAsIterable()
           
 Class<?> getRawType()
           
 Class<?> getType()
           
static
<T> GenericType<T>
toGenericType(T t)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GenericType

public GenericType(T object)
Method Detail

toGenericType

public static <T> GenericType<T> toGenericType(T t)

getObject

public final T getObject()

getObjectAsArray

public final Object[] getObjectAsArray()

getObjectAsIterable

public final Iterable<Object> getObjectAsIterable()

getRawType

public final Class<?> getRawType()

getType

public final Class<?> getType()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.