Package org.jibx.custom.classes
Class ClassSourceWrapper
java.lang.Object
org.jibx.binding.model.ClassWrapper
org.jibx.custom.classes.ClassSourceWrapper
- All Implemented Interfaces:
IClass
Wrapper for class with added source information. This wraps the basic class handling implementation with added
support for retrieving information from source files.
- Author:
- Dennis M. Sosnoski
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected IClassItem
Build an item wrapper.Get the JavaDoc comment for this class.Methods inherited from class org.jibx.binding.model.ClassWrapper
getBestMethod, getClassFile, getDirectField, getField, getFields, getInitializerMethod, getInstanceSigs, getInterfaces, getLocator, getMethod, getMethod, getMethods, getName, getPackage, getSignature, getStaticMethod, getSuperClass, isAbstract, isAccessible, isAssignable, isImplements, isInterface, isModifiable, isSuperclass, loadClass
-
Constructor Details
-
ClassSourceWrapper
Constructor.- Parameters:
loc
-clas
-
-
-
Method Details
-
buildItem
Build an item wrapper. This override of the base class implementation always creates a wrapper which will support source operations.- Overrides:
buildItem
in classClassWrapper
- Parameters:
item
-- Returns:
- wrapper
-
getJavaDoc
Description copied from interface:IClass
Get the JavaDoc comment for this class.- Specified by:
getJavaDoc
in interfaceIClass
- Overrides:
getJavaDoc
in classClassWrapper
- Returns:
- comment text, or
null
if none or no source available
-