NameCase#

class xsdata.models.config.NameCase(value)[source]#

Naming case convention enumeration.

All schemes are using a processor that splits a string into words when it encounters non-alphanumerical characters or when an upper case letter follows a lower case letter.

ORIGINAL#

originalCase

PASCAL#

pascalCase

CAMEL#

camelCase

SNAKE#

snakeCase

SCREAMING_SNAKE#

screamingSnakeCase

MIXED#

mixedCase

MIXED_SNAKE#

mixedSnakeCase

MIXED_PASCAL#

mixedPascalCase

__call__(string, **kwargs)[source]#

Apply the callback to the input string.

Return type:

str

property callback: Callable#

Return the actual callable of the scheme.