public abstract class NestingBase extends SharedNestingBase
| Modifier and Type | Field and Description |
|---|---|
static java.lang.Integer |
ATTRIBUTE_STYLE_INTEGER |
static int |
ATTRIBUTE_VALUE_STYLE |
static java.lang.Integer |
ELEMENT_STYLE_INTEGER |
static int |
ELEMENT_VALUE_STYLE |
private java.lang.Boolean |
m_forceMapping |
private java.lang.Boolean |
m_forceNames |
private java.lang.Boolean |
m_mapAbstract |
private java.lang.Boolean |
m_propertyAccess |
private java.lang.String[] |
m_stripPrefixes |
private java.lang.String[] |
m_stripSuffixes |
private java.lang.Integer |
m_valueStyle |
private java.lang.Boolean |
m_wrapCollections |
static StringArray |
s_allowedAttributes
Enumeration of allowed attribute names
|
static EnumSet |
s_valueStyleEnum |
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 and Description |
|---|
NestingBase(SharedNestingBase parent)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getStripPrefixes()
Get prefixes to be stripped from field names.
|
java.lang.String[] |
getStripSuffixes()
Get suffixes to be stripped from field names.
|
int |
getValueStyle(java.lang.String type)
Get value style code.
|
private java.lang.String |
getValueStyleText()
Value style get text method.
|
boolean |
isForceMapping()
Check force mapping flag.
|
boolean |
isForceStructureNames()
Check force structure names flag.
|
boolean |
isMapAbstract()
Check abstract mapping flag.
|
boolean |
isPropertyAccess()
Check property access mode flag.
|
boolean |
isWrapCollections()
Check wrap collections flag.
|
void |
setMapAbstract(java.lang.Boolean abs)
Set abstract mapping flag.
|
void |
setValueStyle(java.lang.Integer style)
Set value style.
|
private void |
setValueStyleText(java.lang.String text,
IUnmarshallingContext ictx)
Value style set text method.
|
convertName, getFormatterClass, getNamespace, getNamespaceStyle, getNameStyle, getSpecifiedNamespace, isObjectRequired, isPrimitiveRequired, isUseJavaDocs, setNamespace, setNamespaceStyle, setNameStyleconvertName, deriveItemName, deriveNamespace, getContainingObject, getGlobal, getParent, packageOfType, packageToNamespace, validateAttributespublic static final StringArray s_allowedAttributes
public static final int ATTRIBUTE_VALUE_STYLE
public static final int ELEMENT_VALUE_STYLE
public static final java.lang.Integer ATTRIBUTE_STYLE_INTEGER
public static final java.lang.Integer ELEMENT_STYLE_INTEGER
public static final EnumSet s_valueStyleEnum
private java.lang.Integer m_valueStyle
private java.lang.Boolean m_propertyAccess
private java.lang.String[] m_stripPrefixes
private java.lang.String[] m_stripSuffixes
private java.lang.Boolean m_mapAbstract
private java.lang.Boolean m_wrapCollections
private java.lang.Boolean m_forceMapping
private java.lang.Boolean m_forceNames
public NestingBase(SharedNestingBase parent)
parent - public boolean isMapAbstract()
true.public void setMapAbstract(java.lang.Boolean abs)
abs - public boolean isForceMapping()
false.public boolean isForceStructureNames()
true.public boolean isWrapCollections()
false.public boolean isPropertyAccess()
false.true if bean-style get/set methods to be used, false if fields to be used
directlypublic java.lang.String[] getStripPrefixes()
null if none)public java.lang.String[] getStripSuffixes()
null if none)public int getValueStyle(java.lang.String type)
type - value type names_valueStyleEnum enumerationpublic void setValueStyle(java.lang.Integer style)
style - (null if none at this level)private void setValueStyleText(java.lang.String text,
IUnmarshallingContext ictx)
text - ictx - private java.lang.String getValueStyleText()