Fields Summary |
---|
public static final int | AS_UNBOUNDEDSignifies unbounded upper limit. The MAX_VALUE value is
0xFFFFFFFF FFFFFFFF . This needs to be better defined in
the generated bindings. |
public static final short | AS_SEQUENCEThis constant value signifies a sequence operator. For example, in a
DTD, this would be the ', ' operator. |
public static final short | AS_CHOICEThis constant value signifies a choice operator. For example, in a DTD,
this would be the '| ' operator. |
public static final short | AS_ALLAll of the above. |
public static final short | AS_NONENone of the above, i.e., neither a choice nor sequence operator. |
Methods Summary |
---|
public int | appendsubModel(ASObject newNode)Appends a new node to the end of the list representing the
subModels .
|
public short | getListOperator()One of AS_CHOICE , AS_SEQUENCE ,
AS_ALL or AS_NONE . The operator is applied
to all the components(ASObjects) in the subModels . For
example, if the list operator is AS_CHOICE and the
components in subModels are a, b and c then the abstract schema for
the element being declared is (a|b|c) .
|
public int | getMaxOccurs()maximum occurrence for this content particle. Its value may be
0 , a positive integer, or AS_UNBOUNDED to
indicate that no upper limit has been set.
|
public int | getMinOccurs()min occurrence for this content particle. Its value may be 0 or a
positive integer.
|
public ASObjectList | getSubModels()Pointers to ASObject s such as
ASElementDeclaration s and further
ASContentModel s.
|
public void | insertsubModel(ASObject newNode)Inserts a new node in the submodel. Nodes that already exist in the
list are moved as needed.
|
public void | removesubModel(ASObject oldNode)Removes the ASObject in the submodel. Nodes that already
exist in the list are moved as needed.
|
public void | setListOperator(short listOperator)One of AS_CHOICE , AS_SEQUENCE ,
AS_ALL or AS_NONE . The operator is applied
to all the components(ASObjects) in the subModels . For
example, if the list operator is AS_CHOICE and the
components in subModels are a, b and c then the abstract schema for
the element being declared is (a|b|c) .
|
public void | setMaxOccurs(int maxOccurs)maximum occurrence for this content particle. Its value may be
0 , a positive integer, or AS_UNBOUNDED to
indicate that no upper limit has been set.
|
public void | setMinOccurs(int minOccurs)min occurrence for this content particle. Its value may be 0 or a
positive integer.
|
public void | setSubModels(ASObjectList subModels)Pointers to ASObject s such as
ASElementDeclaration s and further
ASContentModel s.
|