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 IClassItemBuild 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:
buildItemin classClassWrapper- Parameters:
item-- Returns:
- wrapper
-
getJavaDoc
Description copied from interface:IClassGet the JavaDoc comment for this class.- Specified by:
getJavaDocin interfaceIClass- Overrides:
getJavaDocin classClassWrapper- Returns:
- comment text, or
nullif none or no source available
-