org.jboss.xb.binding.introspection
Class ClassInfo

java.lang.Object
  extended by org.jboss.xb.binding.introspection.ClassInfo

public class ClassInfo
extends Object

Version:
$Revision: $
Author:
Alexey Loubyansky

Constructor Summary
ClassInfo(Class<?> cls)
           
 
Method Summary
 FieldInfo getFieldInfo(String name, boolean required)
           
 Class<?> getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassInfo

public ClassInfo(Class<?> cls)
Method Detail

getType

public Class<?> getType()

getFieldInfo

public FieldInfo getFieldInfo(String name,
                              boolean required)
Parameters:
name - the name of the field
required - if true never returns null (if the FieldInfo is not available, an exception will be thrown). If false and FieldInfo is not available then null will be returned.
Returns:
an instance of FieldInfo or null


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.