public class ComponentCustom extends NestingCustomBase
| Modifier and Type | Field and Description |
|---|---|
static int |
INLINE_BLOCK |
static int |
INLINE_DEFAULT |
static int |
INLINE_PREFER |
static EnumSet |
s_inlineValues |
ANY_DISCARD, ANY_DOM, ANY_MAPPED, s_allowedAttributes, s_anyValues, s_selectionValues, SELECTION_CHECKEDBOTH, SELECTION_CHECKEDSET, SELECTION_OVERRIDEBOTH, SELECTION_OVERRIDESET, SELECTION_UNCHECKED| Constructor and Description |
|---|
ComponentCustom(String name,
NestingCustomBase parent)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(ComponentExtension exten,
ValidationContext vctx)
Apply customizations to a schema extension.
|
SchemaPath |
buildPath(ValidationContext vctx)
Build the schema path for this customization.
|
String |
getBaseName()
Get base name for corresponding property.
|
String |
getClassName()
Get name to be used for generated class.
|
String |
getElementName()
Get the schema element name for the component.
|
boolean |
isExcluded()
Check if schema component is to be excluded.
|
boolean |
isIgnored()
Check if schema component is to be ignored (allowed, but not processed, in unmarshalling).
|
boolean |
isInlined()
Check if schema component is to be generated inline.
|
boolean |
isSeparateClass()
Check if schema component is to be generated as a separate class.
|
getActiveFacetsMask, 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 int INLINE_DEFAULT
public static final int INLINE_BLOCK
public static final int INLINE_PREFER
public static final EnumSet s_inlineValues
public ComponentCustom(String name, NestingCustomBase parent)
name - schema element nameparent - public final String getElementName()
public final SchemaPath buildPath(ValidationContext vctx)
vctx - validation contextnull if errorpublic boolean isIgnored()
true if ignored, false if notpublic boolean isExcluded()
true if ignored, false if notpublic boolean isInlined()
true if inlined, false if notpublic boolean isSeparateClass()
true if separate class, false if notpublic String getClassName()
null if not set)public String getBaseName()
null if not set)public final void apply(ComponentExtension exten, ValidationContext vctx)
exten - target schema extensionvctx - validation contextCopyright © 2005-2014 jibx.org. All Rights Reserved.