|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jibx.custom.classes.CustomBase
org.jibx.ws.wsdl.tools.custom.ValueCustom
public class ValueCustom
Method parameter or return value customization information.
Field Summary | |
---|---|
private java.lang.String |
m_boundType
|
private java.lang.String |
m_createType
|
private java.util.List |
m_documentation
|
private java.lang.String |
m_elementName
|
private java.lang.String |
m_factoryMethod
|
private boolean |
m_primitive
|
private java.lang.Boolean |
m_required
|
private java.lang.String |
m_type
|
private java.lang.String |
m_valueName
|
static StringArray |
s_allowedAttributes
Enumeration of allowed attribute names |
private static org.apache.log4j.Logger |
s_logger
Logger for class. |
Fields 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 | |
---|---|
protected |
ValueCustom(NestingBase parent,
java.lang.String name)
Constructor. |
Method Summary | |
---|---|
private static CollectionValueCustom |
collectionParameterFactory(IUnmarshallingContext ictx)
Parameter value unmarshalling factory. |
private static CollectionValueCustom |
collectionReturnFactory(IUnmarshallingContext ictx)
Return value unmarshalling factory. |
(package private) void |
complete(java.lang.String type,
java.util.List docs,
java.lang.Boolean req)
Complete customization information based on supplied type. |
java.lang.String |
getBoundType()
Get value type to be bound. |
java.lang.String |
getCreateType()
Get member create type. |
java.util.List |
getDocumentation()
Get value documentation node list. |
java.lang.String |
getElementName()
Get XML element name. |
java.lang.String |
getFactoryMethod()
Get factory method. |
java.lang.String |
getItemElementName()
Get name for elements representing items in collection. |
java.lang.String |
getItemType()
Get item type for parameterized list collection. |
java.lang.String |
getType()
Get value type. |
java.lang.String |
getValueName()
Get value name. |
boolean |
isRequired()
Check if value is required. |
private static ValueCustom |
parameterFactory(IUnmarshallingContext ictx)
Parameter value unmarshalling factory. |
private void |
preSet(IUnmarshallingContext uctx)
Make sure all attributes are defined. |
private static ValueCustom |
returnFactory(IUnmarshallingContext ictx)
Return value unmarshalling factory. |
void |
setElementName(java.lang.String name)
Set XML element name. |
Methods inherited from class org.jibx.custom.classes.CustomBase |
---|
convertName, deriveItemName, deriveNamespace, getContainingObject, getGlobal, getParent, packageOfType, packageToNamespace, validateAttributes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final org.apache.log4j.Logger s_logger
public static final StringArray s_allowedAttributes
private boolean m_primitive
private java.lang.String m_boundType
private java.lang.String m_valueName
private java.lang.String m_elementName
private java.lang.String m_type
private java.lang.String m_createType
private java.lang.String m_factoryMethod
private java.lang.Boolean m_required
private java.util.List m_documentation
Constructor Detail |
---|
protected ValueCustom(NestingBase parent, java.lang.String name)
parent
- name
- Method Detail |
---|
private void preSet(IUnmarshallingContext uctx)
uctx
- unmarshalling contextpublic java.lang.String getValueName()
public java.lang.String getElementName()
public void setElementName(java.lang.String name)
name
- public java.lang.String getType()
complete(String, List, Boolean)
method is
called.
public java.lang.String getItemType()
null
.
null
public java.lang.String getBoundType()
public java.lang.String getItemElementName()
null
.
null
public java.lang.String getCreateType()
null
if none)public java.lang.String getFactoryMethod()
null
if none)public boolean isRequired()
true
if required, false
if notpublic java.util.List getDocumentation()
complete(String, List, Boolean)
method is called.
null
if none)void complete(java.lang.String type, java.util.List docs, java.lang.Boolean req)
type
- (null
if none available)docs
- default documentation text (null
if none)req
- required member flag (null
if unknown)private static ValueCustom parameterFactory(IUnmarshallingContext ictx) throws JiBXException
ictx
-
JiBXException
private static ValueCustom returnFactory(IUnmarshallingContext ictx)
ictx
-
private static CollectionValueCustom collectionParameterFactory(IUnmarshallingContext ictx) throws JiBXException
ictx
-
JiBXException
private static CollectionValueCustom collectionReturnFactory(IUnmarshallingContext ictx)
ictx
-
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |