XML Schema API: Interface XSParticle

Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.xerces.xs
Interface XSParticle

All Superinterfaces:
  XSObject

public interface XSParticle
extends XSObject

This interface represents the Particle schema component.

Method Summary
`int` | `getMaxOccurs()` [max occurs]: determines the maximum number of terms that can occur.
`boolean` | `getMaxOccursUnbounded()` [max occurs]: whether the maxOccurs value is unbounded.
`int` | `getMinOccurs()` [min occurs]: determines the minimum number of terms that can occur.
`XSTerm` | `getTerm()` [term]: one of a model group, a wildcard, or an element declaration.

Methods inherited from interface org.apache.xerces.xs.XSObject
`getName, getNamespace, getNamespaceItem, getType`

Method Detail

### getMinOccurs

    public int getMinOccurs()

  [min occurs]: determines the minimum number of terms that can occur.

### getMaxOccurs

    public int getMaxOccurs()

  [max occurs]: determines the maximum number of terms that can occur. To query for the value of unbounded use `maxOccursUnbounded`. When the value of `maxOccursUnbounded` is `true`, the value of `maxOccurs` is unspecified.

### getMaxOccursUnbounded

    public boolean getMaxOccursUnbounded()

  [max occurs]: whether the maxOccurs value is unbounded.

### getTerm

    public XSTerm getTerm()

  [term]: one of a model group, a wildcard, or an element declaration.

Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 1999-2004 Apache XML Project. All Rights Reserved.