|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jbind.xml.schema.cmp.ContentModel org.jbind.xml.schema.cmp.ComplexContentModel
Constructor Summary | |
ComplexContentModel()
|
Method Summary | |
boolean |
canContainText()
Indicates if the content model allows text. |
IUseStateIterator |
createUseIterator()
|
IElemDesc |
getElemDesc(java.lang.String aNamespace,
java.lang.String aName)
Gets an element description for the specified namespace and name. |
IElemGroupDesc |
getGroup()
Gets the group use. |
int |
getMaxOccurs(IRef aRef)
Gets the maximum number of occurences of the specified element. |
IRange |
getRange(IRef aRef)
Gets the range of occurences for the specified element. |
boolean |
isComplex()
|
boolean |
isEmpty()
|
boolean |
isMixed()
|
boolean |
isSimple()
|
java.util.Iterator |
iterElements()
Iterates the element declarations. |
java.util.Iterator |
iterElemWildcards()
Iterates the element wildcards of the content model. |
void |
setGroup(IElemGroupDesc aGroup)
Sets the group usage. |
void |
setIsMixed(boolean aBoolean)
|
void |
validate(IConstraintViolations aViolations)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ComplexContentModel()
Method Detail |
public void setIsMixed(boolean aBoolean)
setIsMixed
in interface IComplexContentModel
public boolean isMixed()
isMixed
in interface IContentModel
public IElemGroupDesc getGroup()
IComplexContentModel
getGroup
in interface IComplexContentModel
public void setGroup(IElemGroupDesc aGroup)
IComplexContentModel
setGroup
in interface IComplexContentModel
public boolean isSimple()
isSimple
in interface IContentModel
public boolean isEmpty()
isEmpty
in interface IContentModel
public boolean isComplex()
isComplex
in interface IContentModel
public java.util.Iterator iterElements()
IContentModel
iterElements
in interface IContentModel
IElemRefOrDecl
.public void validate(IConstraintViolations aViolations)
validate
in interface IContentModel
public int getMaxOccurs(IRef aRef)
IContentModel
getMaxOccurs
in interface IContentModel
public IUseStateIterator createUseIterator()
createUseIterator
in interface IContentModel
public IRange getRange(IRef aRef)
IContentModel
getRange
in interface IContentModel
public IElemDesc getElemDesc(java.lang.String aNamespace, java.lang.String aName) throws XmlException
IContentModel
getElemDesc
in interface IContentModel
aNamespace
- (required).aName
- (required).
XmlException
public boolean canContainText()
IContentModel
true
.
canContainText
in interface IContentModel
true
iff the type can contain text.public java.util.Iterator iterElemWildcards()
IContentModel
iterElemWildcards
in interface IContentModel
IElemWildcard
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |