|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.idoox.xml.schema.SchemaConstruct
org.idoox.xml.schema.RepeatableSchemaConstruct
Represents a "repeatable" schema construct.
"Repeatable" is each construct which can have minOccurs or maxOccurs attribute.
Nested Class Summary |
Nested classes inherited from class org.idoox.xml.schema.SchemaConstruct |
SchemaConstruct.ConstructType |
Field Summary | |
protected int |
maxOccurs
Maximal count of occurences |
protected int |
minOccurs
Minimal count of occurences |
static int |
UNBOUNDED
the value of UNBOUNDED |
Fields inherited from class org.idoox.xml.schema.SchemaConstruct |
appInfo, name, reference |
Constructor Summary | |
protected |
RepeatableSchemaConstruct(SchemaConstruct.ConstructType constructType)
|
protected |
RepeatableSchemaConstruct(SchemaConstruct.ConstructType constructType,
QName name)
|
Method Summary | |
void |
copyFrom(SchemaConstruct anotherConstruct)
Copies all the information of another repeatable construct into this construct. |
int |
getMaxOccurs()
Returns maximal number of occurences. |
int |
getMinOccurs()
Returns minimal number of occurences. |
void |
setMaxOccurs(int maxOccurs)
Sets maximal number of occurences. |
void |
setMinOccurs(int minOccurs)
Sets minimal number of occurences. |
Methods inherited from class org.idoox.xml.schema.SchemaConstruct |
clone, containsInFirst, getAppInfo, getAppInfos, getConstructType, getFacets, getJavaName, getName, getParent, getPrefixNamespaceMapping, getReferencedConstruct, parseQName, setAppInfo, setAppInfos, setConstructType, setFacets, setJavaName, setName, setParent, setPrefixNamespaceMapping, setReferencedConstruct, toIndentedString, toIndentedString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int minOccurs
protected int maxOccurs
public static final int UNBOUNDED
Constructor Detail |
protected RepeatableSchemaConstruct(SchemaConstruct.ConstructType constructType)
protected RepeatableSchemaConstruct(SchemaConstruct.ConstructType constructType, QName name)
Method Detail |
public int getMinOccurs()
public void setMinOccurs(int minOccurs)
minOccurs
- the minimal number of occurencespublic int getMaxOccurs()
public void setMaxOccurs(int maxOccurs)
maxOccurs
- the maximal number of occurencespublic void copyFrom(SchemaConstruct anotherConstruct)
copyFrom
in class SchemaConstruct
anotherConstruct
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |