|
||||||||||
| 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.SimpleContentModel
| Constructor Summary | |
SimpleContentModel()
|
|
| 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. |
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 |
validate(IConstraintViolations aViolations)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SimpleContentModel()
| Method Detail |
public boolean isSimple()
isSimple in interface IContentModelpublic boolean isComplex()
isComplex in interface IContentModelpublic boolean isEmpty()
isEmpty in interface IContentModelpublic boolean isMixed()
isMixed in interface IContentModelpublic java.util.Iterator iterElements()
IContentModel
iterElements in interface IContentModelIElemRefOrDecl.public int getMaxOccurs(IRef aRef)
IContentModel
getMaxOccurs in interface IContentModelpublic void validate(IConstraintViolations aViolations)
validate 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)
IContentModel
getElemDesc in interface IContentModelaNamespace - (required).aName - (required).
public 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 | |||||||||