public class SchemaCustom extends SchemaRootBase
SchemaRootBase.ClassDecoratorUnmarshaller, SchemaRootBase.ExtensionUnmarshaller, SchemaRootBase.NameConverterUnmarshaller, SchemaRootBase.SchemaTypeUnmarshaller| Modifier and Type | Field and Description |
|---|---|
static StringArray |
s_allowedAttributes
Enumeration of allowed attribute names
|
ENUM_JAVA5, ENUM_SIMPLE, REPEAT_ARRAY, REPEAT_LIST, REPEAT_TYPED, s_enumValues, s_repeatValuesANY_DISCARD, ANY_DOM, ANY_MAPPED, s_anyValues, s_selectionValues, SELECTION_CHECKEDBOTH, SELECTION_CHECKEDSET, SELECTION_OVERRIDEBOTH, SELECTION_OVERRIDESET, SELECTION_UNCHECKED| Constructor and Description |
|---|
SchemaCustom(SchemasetCustom parent)
Constructor.
|
SchemaCustom(SchemasetCustom parent,
String name,
String namespace,
String[] includes,
String[] excludes)
Constructor for constructing instance directly.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkMatch(String name,
SchemaElement schema)
Check if this customization matches a particular schema.
|
void |
extend(PackageHolder pack,
ValidationContext vctx)
Build the schema extension structure.
|
String[] |
getExcludes()
Get the names of definitions to be excluded from generation.
|
String[] |
getIncludes()
Get the names of definitions to be included in generation.
|
String |
getName()
Get schema name.
|
String |
getNamespace()
Get schema namespace.
|
SchemaElement |
getSchema()
Get schema definition.
|
boolean |
isForceTypes()
Check if type specifications forced for schema.
|
void |
setExcludes(String[] excludes)
Set the names of definitions to be excluded from generation.
|
void |
setForceTypes(Boolean force)
Set type specifications forced for schema.
|
void |
setIncludes(String[] includes)
Set the names of definitions to be included in generation.
|
void |
setName(String name)
Set schema name.
|
void |
setNamespace(String namespace)
Set schema namespace.
|
void |
setSchema(String name,
SchemaElement schema)
Set schema definition.
|
void |
stripAnnotations()
Strip the annotation components (at any level) from a schema definitions.
|
getBindingFileName, getEnumerationTypeText, getEnumType, getLineWidth, getPackage, getPrefix, getRepeatedTypeText, getRepeatType, getRootParent, isBindingPerSchema, isDeleteAnnotations, isGenerateAll, isInlineGroups, isJavaDocDocumentation, isNullCollectionAllowed, isPreferInline, isSchemaFragmentDocumentation, isStructureOptional, isUseInner, setEnumType, setPackage, setRepeatTypegetActiveFacetsMask, getAnyHandling, getAnyType, getChildren, getChoiceHandling, getChoiceType, getReplacement, getSubstitutions, getUnionHandling, getUnionType, isAttributeInlined, isChoiceExposed, isUnionExposed, setAnyType, setChoiceType, setEnforcedFacets, setIgnoredFacets, setReplacement, setSubstitutions, setUnionType, validategetContainingObject, getParent, getSchemaRoot, setParent, validateAttributespublic static final StringArray s_allowedAttributes
public SchemaCustom(SchemasetCustom parent)
parent - public SchemaCustom(SchemasetCustom parent, String name, String namespace, String[] includes, String[] excludes)
parent - name - schema namenamespace - target namespace URIincludes - definition names to be included in generationexcludes - definition names to be excluded from generationpublic String[] getIncludes()
public void setIncludes(String[] includes)
extend(PackageHolder, ValidationContext) is called.includes - public String[] getExcludes()
public void setExcludes(String[] excludes)
extend(PackageHolder, ValidationContext) is called.excludes - public String getName()
public void setName(String name)
name - public String getNamespace()
public void setNamespace(String namespace)
namespace - public boolean isForceTypes()
true if types forced, false if notpublic void setForceTypes(Boolean force)
force - true if types forced, false if notpublic SchemaElement getSchema()
public void setSchema(String name, SchemaElement schema)
name - schema - public boolean checkMatch(String name, SchemaElement schema)
name - schema - true if a match, false if notpublic void stripAnnotations()
public void extend(PackageHolder pack, ValidationContext vctx)
pack - package for generated classes (null if no code generation)vctx - validation contextCopyright © 2005-2014 jibx.org. All Rights Reserved.