| java.lang.Object org.jibx.binding.generator.CustomBase
All known Subclasses: org.jibx.ws.wsdl.ThrowsCustom, org.jibx.ws.wsdl.FaultCustom, org.jibx.binding.generator.SharedNestingBase, org.jibx.ws.wsdl.ValueCustom, org.jibx.binding.generator.MemberCustom,
CustomBase | public class CustomBase (Code) | | Base class for all customizations. This defines a way to navigate up the tree
of nested components without making assumptions about the specific type of
the containing components. This allows for other types of customizations,
beyond the binding customizations included directly in this package. This
also includes enumeration definitions which are used with both base and
extension customizations.
|
CAMEL_CASE_NAMES | final public static int CAMEL_CASE_NAMES(Code) | | |
DERIVE_BY_PACKAGE | final public static int DERIVE_BY_PACKAGE(Code) | | |
DERIVE_FIXED | final public static int DERIVE_FIXED(Code) | | |
DERIVE_NONE | final public static int DERIVE_NONE(Code) | | |
DOTTED_NAMES | final public static int DOTTED_NAMES(Code) | | |
HYPHENATED_NAMES | final public static int HYPHENATED_NAMES(Code) | | |
REQUIRE_ALL | final public static int REQUIRE_ALL(Code) | | |
REQUIRE_NONE | final public static int REQUIRE_NONE(Code) | | |
REQUIRE_OBJECTS | final public static int REQUIRE_OBJECTS(Code) | | |
REQUIRE_PRIMITIVES | final public static int REQUIRE_PRIMITIVES(Code) | | |
UNDERSCORED_NAMES | final public static int UNDERSCORED_NAMES(Code) | | |
UPPER_CAMEL_CASE_NAMES | final public static int UPPER_CAMEL_CASE_NAMES(Code) | | |
s_namespaceStyleEnum | final public static EnumSet s_namespaceStyleEnum(Code) | | |
convertName | public static String convertName(String base, int code)(Code) | | Convert class, method, or parameter name to XML name.
Parameters: base - class or simple field name to be converted Parameters: code - conversion format style code XML name |
deriveItemName | public static String deriveItemName(String cname, String type, int code)(Code) | | Derive name for item in a collection. If the supplied collection name
ends in a recognized plural form the derived item name is the singular
version of the collection name. Otherwise, it is the converted name of
the collection item class, or just "item" if the class is unknown.
Parameters: cname - collection name Parameters: type - item type (null if unknown) Parameters: code - conversion format style code item name |
deriveNamespace | public static String deriveNamespace(String uri, String pkgpth, int style)(Code) | | Derive namespace using specified technique.
Parameters: uri - base namespace URI (null if none) Parameters: pkgpth - fully qualified package name Parameters: style - namespace style code derived namespace |
getGlobal | public GlobalCustom getGlobal()(Code) | | Get global customizations root.
global customization |
nameSet | protected static Set nameSet(String[] names)(Code) | | Utility method to build a set from an array of names.
Parameters: names - (null if none) name set (null if none) |
packageOfType | public static String packageOfType(String type)(Code) | | Get the package from a fully-qualified type name.
Parameters: type - fully-qualified type name package of the type (empty string if in default package) |
packageToNamespace | public static String packageToNamespace(String pkgpth)(Code) | | Create a namespace URL from a package path.
Parameters: pkgpth - fully-qualified package name namespace based on package (null if none) |
|
|