public abstract class NestingCustomBase extends CustomBase implements TypeReplacer
| Modifier and Type | Field and Description |
|---|---|
static int |
ANY_DISCARD |
static int |
ANY_DOM |
static int |
ANY_MAPPED |
static StringArray |
s_allowedAttributes
Enumeration of allowed attribute names
|
static EnumSet |
s_anyValues |
static EnumSet |
s_selectionValues |
static int |
SELECTION_CHECKEDBOTH |
static int |
SELECTION_CHECKEDSET |
static int |
SELECTION_OVERRIDEBOTH |
static int |
SELECTION_OVERRIDESET |
static int |
SELECTION_UNCHECKED |
| Constructor and Description |
|---|
NestingCustomBase(NestingCustomBase parent)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getActiveFacetsMask()
Get the bitmask of facet element flags to be processed.
|
String |
getAnyHandling()
Get the xs:any handling text value set specifically for this element.
|
int |
getAnyType()
Get the xs:any handling type code to be applied for this component and all nested components.
|
LazyList |
getChildren()
Get child customizations.
|
String |
getChoiceHandling()
Get the xs:choice handling text value set specifically for this element.
|
int |
getChoiceType()
Get the xs:choice handling type code to be applied for this component and all nested components.
|
QName |
getReplacement(QName qname)
Get replacement type.
|
QName[] |
getSubstitutions()
Get type substitution pairs list.
|
String |
getUnionHandling()
Get the xs:union handling text value set specifically for this element.
|
int |
getUnionType()
Get the xs:union handling type code to be applied for this component and all nested components.
|
boolean |
isAttributeInlined()
Check whether xs:attribute definitions should always be inlined, even when used in multiple locations.
|
boolean |
isChoiceExposed()
Check whether xs:choice selection states should be exposed to the user.
|
boolean |
isUnionExposed()
Check whether xs:union selection states should be exposed to the user.
|
void |
setAnyType(int code)
Set the xs:any handling type code.
|
void |
setChoiceType(int code)
Set the xs:choice handling type code.
|
void |
setEnforcedFacets(String[] facets,
IUnmarshallingContext ictx)
Set the list of facet elements to be enforced.
|
void |
setIgnoredFacets(String[] facets,
IUnmarshallingContext ictx)
Set the list of facet elements to be ignored.
|
protected void |
setReplacement(QName original,
QName replace)
Set a type replacement.
|
void |
setSubstitutions(QName[] subs)
Set type substitution pairs list.
|
void |
setUnionType(int code)
Set the xs:union handling type code.
|
boolean |
validate(ValidationContext vctx)
Validate and finalize customization information.
|
getContainingObject, getParent, getSchemaRoot, setParent, validateAttributespublic static final StringArray s_allowedAttributes
public static final int ANY_DISCARD
public static final int ANY_DOM
public static final int ANY_MAPPED
public static final EnumSet s_anyValues
public static final int SELECTION_UNCHECKED
public static final int SELECTION_CHECKEDSET
public static final int SELECTION_CHECKEDBOTH
public static final int SELECTION_OVERRIDESET
public static final int SELECTION_OVERRIDEBOTH
public static final EnumSet s_selectionValues
public NestingCustomBase(NestingCustomBase parent)
parent - public QName[] getSubstitutions()
public void setSubstitutions(QName[] subs)
subs - public void setEnforcedFacets(String[] facets, IUnmarshallingContext ictx)
facets - ictx - public void setIgnoredFacets(String[] facets, IUnmarshallingContext ictx)
facets - ictx - public long getActiveFacetsMask()
public LazyList getChildren()
protected void setReplacement(QName original, QName replace)
original - replace - public QName getReplacement(QName qname)
getReplacement in interface TypeReplacerqname - null if deletion; original type, if no replacement defined)public int getAnyType()
ANY_DOM if not overridden at any level.public void setAnyType(int code)
code - handling code, -1 if to be unsetpublic String getAnyHandling()
null if not set)public boolean isChoiceExposed()
false if not
overridden at any level.public int getChoiceType()
SELECTION_CHECKEDSET if not overridden at any level.public void setChoiceType(int code)
code - handling code, -1 if to be unsetpublic String getChoiceHandling()
null if not set)public boolean isUnionExposed()
false if not
overridden at any level.public int getUnionType()
SELECTION_CHECKEDSET if not overridden at any level.public void setUnionType(int code)
code - handling code, -1 if to be unsetpublic String getUnionHandling()
null if not set)public boolean isAttributeInlined()
false if not overridden at any level.
TODO: implement in customizationspublic boolean validate(ValidationContext vctx)
vctx - validation contexttrue if valid, false if notCopyright © 2005-2014 jibx.org. All Rights Reserved.