public abstract class NestingBase extends SharedNestingBase
| Modifier and Type | Field and Description |
|---|---|
static Integer |
ATTRIBUTE_STYLE_INTEGER |
static int |
ATTRIBUTE_VALUE_STYLE |
static Integer |
ELEMENT_STYLE_INTEGER |
static int |
ELEMENT_VALUE_STYLE |
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 |
|---|---|
String[] |
getStripPrefixes()
Get prefixes to be stripped from field names.
|
String[] |
getStripSuffixes()
Get suffixes to be stripped from field names.
|
int |
getValueStyle(String type)
Get value style code.
|
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(Boolean abs)
Set abstract mapping flag.
|
void |
setValueStyle(Integer style)
Set value style.
|
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 Integer ATTRIBUTE_STYLE_INTEGER
public static final Integer ELEMENT_STYLE_INTEGER
public static final EnumSet s_valueStyleEnum
public NestingBase(SharedNestingBase parent)
parent - public boolean isMapAbstract()
true.public void setMapAbstract(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 String[] getStripPrefixes()
null if none)public String[] getStripSuffixes()
null if none)public int getValueStyle(String type)
type - value type names_valueStyleEnum enumerationpublic void setValueStyle(Integer style)
style - (null if none at this level)Copyright © 2005-2014 jibx.org. All Rights Reserved.