org.jboss.xb.binding.introspection
Class ClassInfo
java.lang.Object
org.jboss.xb.binding.introspection.ClassInfo
public class ClassInfo
- extends Object
- Version:
- $Revision: $
- Author:
- Alexey Loubyansky
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassInfo
public ClassInfo(Class<?> cls)
getType
public Class<?> getType()
getFieldInfo
public FieldInfo getFieldInfo(String name,
boolean required)
- Parameters:
name
- the name of the fieldrequired
- 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 © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.