|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jbind.xml.schema.cmp.Component org.jbind.xml.schema.cmp.Content org.jbind.xml.schema.cmp.ElemDesc org.jbind.xml.schema.cmp.ElemWildcard
Constructor Summary | |
ElemWildcard(ISourceInfo aSourceInfo,
IRange aRange,
IWildcard aWildcard)
|
Method Summary | |
void |
accept(IComponentVisitor aVisitor)
Accepts a visitor. |
void |
checkIdentityConstraints(IAnyTypeData aData,
IKeyStore anElementKeys,
IConstraintViolations aViolations)
|
void |
collectElemDescs(java.util.Map anElementDecls,
java.util.List anElemWildcards,
IConstraintViolations aViolations)
Recursively collects the element descriptions that are contained in this content object. |
IUseState |
createUseState(IUseState aParent)
|
protected void |
doAddToParentWithNewRange(IRange aRange,
IElemGroupDesc aParent)
|
ISimpleData |
getDefault()
Gets the default value. |
java.lang.String |
getDefaultTextContent()
|
java.lang.String |
getDesc()
Gets a description that is output if the content was not matched when an instance is read in. |
ISimpleData |
getFixed()
Gets the fixed value. |
IRange |
getRange(IRef aRef)
Gets the range of possible occurences of the specified element in this use (and all of its nested subuses). |
ISymbolspace |
getSymbolspace()
Gets the symbol space. |
IAnyType |
getType()
Gets the data type. |
IWildcard |
getWildcard()
|
boolean |
isAbstract()
|
boolean |
isActive(BlockType aBlockType)
Checks if the specified block type is active for the declaration. |
boolean |
isActive(FinalType aFinalType)
Checks if the specified final type is active for the declaration. |
boolean |
isNillable()
|
boolean |
isReference()
Checks if this component is defined as a reference to another component. |
void |
replaceSubstitutions(IElemGroupDesc aParent)
Recursively adds this content use to the parent group use. |
void |
validate(IConstraintViolations aViolations)
Validates the component. |
Methods inherited from class org.jbind.xml.schema.cmp.ElemDesc |
addToParent, checkValueConstraints, createData, createEmptyData, createUncheckedData, createUseStateProxy |
Methods inherited from class org.jbind.xml.schema.cmp.Content |
getMaxOccurs, getMinOccurs, getRange, isEmptiable, isUnbounded |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jbind.xml.core.content.IContentDesc |
addToParent, createUseStateProxy, getMaxOccurs, getMinOccurs, isEmptiable, isUnbounded |
Methods inherited from interface org.jbind.xml.core.cmp.IComponent |
addSubComponent, getBindings, getGlobalRef, getName, getNamespace, getParentComponent, isAnonymous, isTopLevelComponent, setBindings, setParentComponent |
Methods inherited from interface org.jbind.xml.core.cmp.ISourceInfo |
getAnnotation, getPrefixToNamespaceMapping |
Methods inherited from interface org.jbind.xml.base.IHasLocation |
getLocation |
Methods inherited from interface org.jbind.xml.base.IHasBindingAttributes |
getBindingAttribute, getDefaultedLocalBindingAttribute, getDefaultedLocalStringBindingAttribute, getLocalBindingAttribute, getLocalStringBindingAttribute, getStringBindingAttribute |
Methods inherited from interface org.jbind.xml.base.IHasRange |
getRange |
Methods inherited from interface org.jbind.xml.core.content.IDataDesc |
checkValueConstraints, createData, createEmptyData, createUncheckedData |
Constructor Detail |
public ElemWildcard(ISourceInfo aSourceInfo, IRange aRange, IWildcard aWildcard)
Method Detail |
public IWildcard getWildcard()
getWildcard
in interface IElemWildcard
public IUseState createUseState(IUseState aParent)
createUseState
in interface IContentDesc
public java.lang.String getDesc()
IContentDesc
getDesc
in interface IContentDesc
public IRange getRange(IRef aRef)
IContentDesc
getRange
in interface IContentDesc
public ISymbolspace getSymbolspace()
IComponent
getSymbolspace
in interface IComponent
public java.lang.String getDefaultTextContent()
getDefaultTextContent
in interface IDefaultTextContentProvider
public IAnyType getType()
IDataDesc
getType
in interface IDataDesc
public ISimpleData getDefault()
IDataDesc
getDefault
in interface IDataDesc
public ISimpleData getFixed()
IDataDesc
getFixed
in interface IDataDesc
public boolean isActive(BlockType aBlockType)
IDataDesc
isActive
in interface IDataDesc
aBlockType
- (required).
true
iff the specified block type is active.public boolean isActive(FinalType aFinalType)
IDataDesc
isActive
in interface IDataDesc
true
iff the specified block type is active.public void accept(IComponentVisitor aVisitor) throws XmlException
IComponent
visitComplexTypeStart
and visitComplexTypeEnd
).
accept
in interface IComponent
aVisitor
- (required).
XmlException
public boolean isReference()
IComponent
isReference
in interface IComponent
true
iff this component is a reference to
another component.public void validate(IConstraintViolations aViolations)
IComponent
validate
in interface IComponent
aViolations
- (required).public void collectElemDescs(java.util.Map anElementDecls, java.util.List anElemWildcards, IConstraintViolations aViolations)
IContentDesc
collectElemDescs
in interface IContentDesc
anElementDecls
- (required). Maps IRef
s to IElemRefOrDecl
.anElemWildcards
- (required). Collects the element wildcards.aViolations
- (required).public void replaceSubstitutions(IElemGroupDesc aParent)
IContentDesc
replaceSubstitutions
in interface IContentDesc
aParent
- (required). The group use to which content uses are
added.protected void doAddToParentWithNewRange(IRange aRange, IElemGroupDesc aParent)
doAddToParentWithNewRange
in class ElemDesc
public void checkIdentityConstraints(IAnyTypeData aData, IKeyStore anElementKeys, IConstraintViolations aViolations)
checkIdentityConstraints
in interface IElemDesc
public boolean isAbstract()
isAbstract
in interface IElemDesc
public boolean isNillable()
isNillable
in interface IElemDesc
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |