| java.lang.Object org.jibx.binding.generator.CustomBase org.jibx.binding.generator.MemberCustom
All known Subclasses: org.jibx.binding.generator.MemberFieldCustom, org.jibx.binding.generator.MemberPropertyCustom,
MemberCustom | abstract public class MemberCustom extends CustomBase (Code) | | Member field or property customization information.
|
MemberCustom | protected MemberCustom(SharedNestingBase parent, String name)(Code) | | Constructor with name known.
Parameters: parent - Parameters: name - |
complete | void complete(String type, Boolean req)(Code) | | Complete customization information based on supplied type. If the type
information has not previously been set, this will set it. It will also
derive the appropriate XML name, if not previously set.
Parameters: type - (null if none available) Parameters: req - required member flag (null if unknown) |
convertMemberNameCase | public static String convertMemberNameCase(String name)(Code) | | Convert case of member name derived from method or field name. If the
supplied name starts with an uppercase letter followed by a lowercase
letter, the initial letter is converted to lowercase in order to obtain a
standard form of the name.
Parameters: name - converted name |
getActualType | public String getActualType()(Code) | | Get member actual type.
member actual type (null if none) |
getBaseName | public String getBaseName()(Code) | | Get member (field or property) name. In the case of a field, this is the
name with any prefix or suffix stripped; in the case of a property, it's
the property name. For both field and property names, the initial letter
is converted to lowercase unless the second letter is lowercase.
name |
getContainingClass | protected static ClassCustom getContainingClass(IUnmarshallingContext ictx)(Code) | | Gets the parent element link from the unmarshalling stack. This method is
for use by factories during unmarshalling.
Parameters: ictx - unmarshalling context containing class |
getCreateType | public String getCreateType()(Code) | | Get member create type.
type used for creating new instance (null if none) |
getFactoryMethod | public String getFactoryMethod()(Code) | | Get factory method.
method used for creating new instance (null if none) |
getFieldName | public String getFieldName()(Code) | | Get field name.
field name (null if none) |
getGetName | public String getGetName()(Code) | | Get 'get' method name.
'get' method name (null if none) |
getItemName | public String getItemName()(Code) | | Get collection item element name.
item name (null if none) |
getItemType | public String getItemType()(Code) | | Get collection item type.
item type (null if none) |
getSetName | public String getSetName()(Code) | | Get 'set' method name.
'set' method name (null if none) |
getStatedType | public String getStatedType()(Code) | | Get stated type of member.
stated type |
getWorkingType | public String getWorkingType()(Code) | | Get working type of member.
working type |
getXmlName | public String getXmlName()(Code) | | Get XML element or attribute name.
name (null if none) |
isCollection | public boolean isCollection()(Code) | | Check if collection member.
true if collection, false if not |
isRequired | public boolean isRequired()(Code) | | Check if value is required.
true if required, false if not |
setBaseName | protected void setBaseName(String name)(Code) | | Set member (field or property) name. This is only for use by subclasses.
Parameters: name - |
|
|