com.sun.xml.xsom
Interface XSParticle

All Superinterfaces:
XSComponent, XSContentType

public interface XSParticle
extends XSContentType

Particle schema component.

Author:
Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)

Field Summary
static int UNBOUNDED
           
 
Method Summary
 int getMaxOccurs()
          Gets the max occurs property.
 int getMinOccurs()
           
 XSTerm getTerm()
           
 boolean isRepeated()
          True if the maxOccurs is neither 0 or 1.
 
Methods inherited from interface com.sun.xml.xsom.XSContentType
apply, asEmpty, asParticle, asSimpleType, visit
 
Methods inherited from interface com.sun.xml.xsom.XSComponent
apply, getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, visit
 

Field Detail

UNBOUNDED

static final int UNBOUNDED
See Also:
Constant Field Values
Method Detail

getMinOccurs

int getMinOccurs()

getMaxOccurs

int getMaxOccurs()
Gets the max occurs property.

Returns:
UNBOUNDED will be returned if the value is "unbounded".

isRepeated

boolean isRepeated()
True if the maxOccurs is neither 0 or 1.


getTerm

XSTerm getTerm()