Package org.jibx.ws.wsdl.tools.custom
Class NestingBase
java.lang.Object
org.jibx.custom.classes.CustomBase
org.jibx.custom.classes.SharedNestingBase
org.jibx.ws.wsdl.tools.custom.NestingBase
- Direct Known Subclasses:
OperationCustom
,ServiceCustom
,WsdlCustom
Base class for nested WSDL customizations that can contain other customizations.
- Author:
- Dennis M. Sosnoski
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map
private String
private Boolean
private Boolean
private Boolean
static final StringArray
Enumeration of allowed attribute namesFields inherited from class org.jibx.custom.classes.CustomBase
CAMEL_CASE_NAMES, DERIVE_BY_PACKAGE, DERIVE_FIXED, DERIVE_NONE, DOTTED_NAMES, HYPHENATED_NAMES, REQUIRE_ALL, REQUIRE_NONE, REQUIRE_OBJECTS, REQUIRE_PRIMITIVES, s_namespaceStyleEnum, s_nameStyleEnum, s_requireEnum, UNDERSCORED_NAMES, UPPER_CAMEL_CASE_NAMES
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet child by name.protected static SharedNestingBase
Gets the parent element link from the unmarshalling stack.Get the service base address.abstract String
Get WSDL definitions namespace.boolean
Check if xsi:nillable should be used for optional values (rather than minOccurs='0').boolean
Check if soapAction should be set.boolean
Check wrapped flag.registerName
(String base, CustomBase child) Register a child name.Methods inherited from class org.jibx.custom.classes.SharedNestingBase
convertName, getFormatterClass, getNamespace, getNamespaceStyle, getNameStyle, getSpecifiedNamespace, isObjectRequired, isPrimitiveRequired, isUseJavaDocs, setNamespace, setNamespaceStyle, setNameStyle
Methods inherited from class org.jibx.custom.classes.CustomBase
convertName, deriveItemName, deriveNamespace, getContainingObject, getGlobal, getParent, packageOfType, packageToNamespace, validateAttributes
-
Field Details
-
s_allowedAttributes
Enumeration of allowed attribute names -
m_wrapped
-
m_setActions
-
m_useNillable
-
m_serviceBase
-
m_namedChildMap
-
-
Constructor Details
-
Method Details
-
isWrapped
public boolean isWrapped()Check wrapped flag.- Returns:
- wrapped flag
-
isSoapAction
public boolean isSoapAction()Check if soapAction should be set.- Returns:
- soapAction flag
-
isNillable
public boolean isNillable()Check if xsi:nillable should be used for optional values (rather than minOccurs='0').- Returns:
- xsi:nillable flag
-
getServiceBase
Get the service base address.- Returns:
- base address
-
getChild
Get child by name.- Parameters:
name
-- Returns:
- named child,
null
if name not registered
-
registerName
Register a child name. If the base name supplied has already been used by a different child, the name will be modified by adding a numeric suffix to make it unique. Once a name has been registered for a child, calling this method again with that name is guaranteed to just return that same name. Depending on the nesting level, the type of child may take different forms. This doesn't care what the names represent, it just makes sure they're unique.- Parameters:
base
- proposed namechild
- named child- Returns:
- allowed name
-
getWsdlNamespace
Get WSDL definitions namespace.- Returns:
- WSDL namespace
-
getContainingClass
Gets the parent element link from the unmarshalling stack. This method is for use by factories during unmarshalling.- Parameters:
ictx
- unmarshalling context- Returns:
- containing class
-