|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 IElemWildcardpublic IUseState createUseState(IUseState aParent)
createUseState in interface IContentDescpublic java.lang.String getDesc()
IContentDesc
getDesc in interface IContentDescpublic IRange getRange(IRef aRef)
IContentDesc
getRange in interface IContentDescpublic ISymbolspace getSymbolspace()
IComponent
getSymbolspace in interface IComponentpublic java.lang.String getDefaultTextContent()
getDefaultTextContent in interface IDefaultTextContentProviderpublic IAnyType getType()
IDataDesc
getType in interface IDataDescpublic ISimpleData getDefault()
IDataDesc
getDefault in interface IDataDescpublic ISimpleData getFixed()
IDataDesc
getFixed in interface IDataDescpublic boolean isActive(BlockType aBlockType)
IDataDesc
isActive in interface IDataDescaBlockType - (required).
true iff the specified block type is active.public boolean isActive(FinalType aFinalType)
IDataDesc
isActive in interface IDataDesctrue iff the specified block type is active.
public void accept(IComponentVisitor aVisitor)
throws XmlException
IComponentvisitComplexTypeStart and visitComplexTypeEnd).
accept in interface IComponentaVisitor - (required).
XmlExceptionpublic boolean isReference()
IComponent
isReference in interface IComponenttrue iff this component is a reference to
another component.public void validate(IConstraintViolations aViolations)
IComponent
validate in interface IComponentaViolations - (required).
public void collectElemDescs(java.util.Map anElementDecls,
java.util.List anElemWildcards,
IConstraintViolations aViolations)
IContentDesc
collectElemDescs in interface IContentDescanElementDecls - (required). Maps IRefs to IElemRefOrDecl.anElemWildcards - (required). Collects the element wildcards.aViolations - (required).public void replaceSubstitutions(IElemGroupDesc aParent)
IContentDesc
replaceSubstitutions in interface IContentDescaParent - (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 IElemDescpublic boolean isAbstract()
isAbstract in interface IElemDescpublic boolean isNillable()
isNillable in interface IElemDesc
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||