| |
|
| java.lang.Object org.jibx.binding.generator.CustomBase org.jibx.binding.generator.SharedNestingBase org.jibx.binding.generator.NestingBase org.jibx.binding.generator.PackageCustom
PackageCustom | public class PackageCustom extends NestingBase implements IApply(Code) | | Package customization information.
|
Field Summary | |
final public static String | ELEMENT_NAME Element name in XML customization file. |
ELEMENT_NAME | final public static String ELEMENT_NAME(Code) | | Element name in XML customization file.
|
PackageCustom | PackageCustom(String simple, String full, NestingBase parent)(Code) | | Constructor. This has package access so that it can be used from the
GlobalCustom class.
Parameters: simple - simple package name Parameters: full - fully-qualified package name Parameters: parent - |
addClassCustomization | ClassCustom addClassCustomization(String name)(Code) | | Add information for class in this package. This just creates the basic
class information structure and returns it, without populating the class
details.
Parameters: name - simple class name (without package) class information (null if no existing information) |
apply | public void apply(IClassLocator loc)(Code) | | Apply customizations to default values. This fills in the information for
classes in this package by deriving information for fields or properties
in each class. This is intended to be used once, after customizations
have been unmarshalled.
Parameters: loc - class locator |
getClassCustomization | public ClassCustom getClassCustomization(String name)(Code) | | Get existing information for class in this package.
Parameters: name - simple class name (without package) class information (null if no existing information) |
getName | public String getName()(Code) | | Get fully-qualified package name.
package name (empty string if default package) |
|
|
|