public class JBossXSParticle extends JBossXSObject implements org.apache.xerces.xs.XSParticle, Comparable
| Modifier and Type | Field and Description |
|---|---|
protected int |
maxOccurs |
protected int |
minOccurs |
protected org.apache.xerces.xs.XSTerm |
term |
name, namespace| Constructor and Description |
|---|
JBossXSParticle() |
JBossXSParticle(String name,
String namespace) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object o) |
org.apache.xerces.xs.XSObjectList |
getAnnotations() |
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.
|
org.apache.xerces.xs.XSTerm |
getTerm()
[term]: one of a model group, a wildcard, or an element declaration.
|
short |
getType()
Get the type
|
void |
setMaxOccurs(int maxOccurs) |
void |
setMinOccurs(int minOccurs) |
void |
setTerm(org.apache.xerces.xs.XSTerm term) |
equals, getName, getNamespace, getNamespaceItem, hashCode, setName, setNamespace, setNamespaceItem, setTypeprotected int minOccurs
protected int maxOccurs
protected org.apache.xerces.xs.XSTerm term
public int getMinOccurs()
getMinOccurs in interface org.apache.xerces.xs.XSParticlepublic int getMaxOccurs()
maxOccursUnbounded. When the value of
maxOccursUnbounded is true, the value of
maxOccurs is unspecified.getMaxOccurs in interface org.apache.xerces.xs.XSParticlepublic boolean getMaxOccursUnbounded()
getMaxOccursUnbounded in interface org.apache.xerces.xs.XSParticlepublic org.apache.xerces.xs.XSTerm getTerm()
getTerm in interface org.apache.xerces.xs.XSParticlepublic short getType()
getType in interface org.apache.xerces.xs.XSObjectgetType in class JBossXSObjectpublic void setMinOccurs(int minOccurs)
public void setMaxOccurs(int maxOccurs)
public void setTerm(org.apache.xerces.xs.XSTerm term)
public int compareTo(Object o)
compareTo in interface Comparablepublic org.apache.xerces.xs.XSObjectList getAnnotations()
getAnnotations in interface org.apache.xerces.xs.XSParticleCopyright © 2012 JBoss, by Red Hat. All Rights Reserved.