|
||||||||||
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.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 IContentModel
public boolean isComplex()
isComplex
in interface IContentModel
public boolean isEmpty()
isEmpty
in interface IContentModel
public boolean isMixed()
isMixed
in interface IContentModel
public java.util.Iterator iterElements()
IContentModel
iterElements
in interface IContentModel
IElemRefOrDecl
.public int getMaxOccurs(IRef aRef)
IContentModel
getMaxOccurs
in interface IContentModel
public void validate(IConstraintViolations aViolations)
validate
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)
IContentModel
getElemDesc
in interface IContentModel
aNamespace
- (required).aName
- (required).
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 |