|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 IComplexContentModelpublic boolean isMixed()
isMixed in interface IContentModelpublic IElemGroupDesc getGroup()
IComplexContentModel
getGroup in interface IComplexContentModelpublic void setGroup(IElemGroupDesc aGroup)
IComplexContentModel
setGroup in interface IComplexContentModelpublic boolean isSimple()
isSimple in interface IContentModelpublic boolean isEmpty()
isEmpty in interface IContentModelpublic boolean isComplex()
isComplex in interface IContentModelpublic java.util.Iterator iterElements()
IContentModel
iterElements in interface IContentModelIElemRefOrDecl.public void validate(IConstraintViolations aViolations)
validate in interface IContentModelpublic int getMaxOccurs(IRef aRef)
IContentModel
getMaxOccurs in interface IContentModelpublic IUseStateIterator createUseIterator()
createUseIterator in interface IContentModelpublic 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 IContentModelaNamespace - (required).aName - (required).
XmlExceptionpublic boolean canContainText()
IContentModeltrue.
canContainText in interface IContentModeltrue iff the type can contain text.public java.util.Iterator iterElemWildcards()
IContentModel
iterElemWildcards in interface IContentModelIElemWildcard
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||