public class SchemaExtension extends BaseExtension
ARITY_OPTIONAL_COLLECTION, ARITY_OPTIONAL_SINGLETON, ARITY_REQUIRED_COLLECTION, ARITY_REQUIRED_SINGLETON| Constructor and Description |
|---|
SchemaExtension(SchemaElement schema,
SchemaCustom custom,
PackageHolder pack)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBindingFileName()
Get binding definition file name.
|
ClassDecorator[] |
getClassDecorators()
Get code generation decorators used for this component.
|
SchemaCustom |
getCustom()
Get the containing global extension.
|
NameConverter |
getNameConverter()
Get name converter used for this component.
|
PackageHolder |
getPackage()
Get package for class generation.
|
String |
getPrefix()
Get prefix used for namespace.
|
Map |
getSchemaTypes()
Get map from schema type local name to type information.
|
boolean |
isForceBinding()
Check if separate binding forced for schema.
|
boolean |
isForceTypes()
Check if type specifications forced for schema.
|
boolean |
isInlineGroups()
Check whether xs:group and xs:attributeGroup definitions should be inlined by default.
|
boolean |
isPreferInline()
Check if inlining of definition preferred.
|
boolean |
isUseInnerClasses()
Check if inner classes should be used for substructures.
|
getComponent, getReplacementType, setTypeReplacerpublic SchemaExtension(SchemaElement schema, SchemaCustom custom, PackageHolder pack)
schema - root element of schema definitioncustom - schema customizationspack - package for code generated from schemapublic SchemaCustom getCustom()
public Map getSchemaTypes()
public NameConverter getNameConverter()
public ClassDecorator[] getClassDecorators()
public PackageHolder getPackage()
public boolean isForceBinding()
public String getBindingFileName()
null if to be derived from schema namepublic String getPrefix()
null if to be found from schemapublic boolean isInlineGroups()
public boolean isPreferInline()
public boolean isUseInnerClasses()
public boolean isForceTypes()
Copyright © 2005-2014 jibx.org. All Rights Reserved.