|
||||||
| 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.custom.classes.SharedNestingBase
public abstract class SharedNestingBase
Base class for all binding customizations that can contain other customizations. This includes inherited values shared with customization extensions (in particular, the WSDL extensions).
| Field Summary | |
|---|---|
private java.lang.String |
m_actualNamespace
|
private java.lang.String |
m_javadocFormatter
|
private java.lang.String |
m_namespace
|
private java.lang.Integer |
m_namespaceStyle
|
private java.lang.Integer |
m_nameStyle
|
private java.lang.Integer |
m_require
|
private java.lang.Boolean |
m_useJavaDocs
|
static StringArray |
s_allowedAttributes
Enumeration of allowed attribute names |
| 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 | |
|---|---|
SharedNestingBase(SharedNestingBase parent)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
convertName(java.lang.String base)
Convert class or unprefixed field name to element or attribute name using current format. |
java.lang.String |
getFormatterClass()
Get JavaDoc formatter class name. |
java.lang.String |
getNamespace()
Get the namespace for schema definitions. |
int |
getNamespaceStyle()
Get namespace style. |
private java.lang.String |
getNamespaceStyleText()
Namespace style get text method. |
int |
getNameStyle()
Get name style. |
private java.lang.String |
getNameStyleText()
Name style get text method. |
private java.lang.String |
getRequireText()
Required get text method. |
protected java.lang.String |
getSpecifiedNamespace()
Get namespace specified on this element. |
boolean |
isObjectRequired(java.lang.String type)
Check if object value should be treated as required. |
boolean |
isPrimitiveRequired(java.lang.String type)
Check if primitive value should be treated as required. |
boolean |
isUseJavaDocs()
Check if JavaDocs should be used for documentation. |
protected void |
setNamespace(java.lang.String ns)
Set the namespace to be used for schema definitions. |
void |
setNamespaceStyle(java.lang.Integer style)
Set name style. |
private void |
setNamespaceStyleText(java.lang.String text,
IUnmarshallingContext ictx)
Namespace style set text method. |
void |
setNameStyle(java.lang.Integer style)
Set name style. |
private void |
setNameStyleText(java.lang.String text,
IUnmarshallingContext ictx)
Name style set text method. |
private void |
setRequireText(java.lang.String text,
IUnmarshallingContext ictx)
Required set text method. |
| 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 |
|---|
public static final StringArray s_allowedAttributes
private java.lang.String m_javadocFormatter
private java.lang.String m_namespace
private java.lang.Integer m_namespaceStyle
private java.lang.Integer m_nameStyle
private java.lang.Integer m_require
private java.lang.Boolean m_useJavaDocs
private java.lang.String m_actualNamespace
| Constructor Detail |
|---|
public SharedNestingBase(SharedNestingBase parent)
parent - | Method Detail |
|---|
public java.lang.String getFormatterClass()
protected java.lang.String getSpecifiedNamespace()
getNamespace() method should instead be used.
null if none)public int getNamespaceStyle()
public void setNamespaceStyle(java.lang.Integer style)
style - (null if none at this level)public int getNameStyle()
public void setNameStyle(java.lang.Integer style)
style - (null if none at this level)public final java.lang.String getNamespace()
setNamespace(String) method.
protected void setNamespace(java.lang.String ns)
ns - public boolean isPrimitiveRequired(java.lang.String type)
true.
type - primitive type
true if required value, false if notpublic boolean isObjectRequired(java.lang.String type)
false.
type - object type
true if required value, false if notpublic boolean isUseJavaDocs()
true.
public java.lang.String convertName(java.lang.String base)
base - class or simple field name to be converted
private void setNameStyleText(java.lang.String text,
IUnmarshallingContext ictx)
text - ictx - private java.lang.String getNameStyleText()
private void setNamespaceStyleText(java.lang.String text,
IUnmarshallingContext ictx)
text - ictx - private java.lang.String getNamespaceStyleText()
private void setRequireText(java.lang.String text,
IUnmarshallingContext ictx)
text - ictx - private java.lang.String getRequireText()
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||