|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.xsom.impl.ComponentImpl
com.sun.xml.xsom.impl.ParticleImpl
public class ParticleImpl
| Field Summary |
|---|
| Fields inherited from class com.sun.xml.xsom.impl.ComponentImpl |
|---|
ownerDocument |
| Fields inherited from interface com.sun.xml.xsom.XSParticle |
|---|
UNBOUNDED |
| Constructor Summary | |
|---|---|
ParticleImpl(SchemaDocumentImpl owner,
AnnotationImpl _ann,
Ref.Term _term,
Locator _loc)
|
|
ParticleImpl(SchemaDocumentImpl owner,
AnnotationImpl _ann,
Ref.Term _term,
Locator _loc,
BigInteger _maxOccurs,
BigInteger _minOccurs)
|
|
ParticleImpl(SchemaDocumentImpl owner,
AnnotationImpl _ann,
Ref.Term _term,
Locator _loc,
int _maxOccurs,
int _minOccurs)
|
|
| Method Summary | |
|---|---|
Object |
apply(XSContentTypeFunction function)
|
Object |
apply(XSFunction function)
Accepts a functor. |
XSContentType |
asEmpty()
If this content type represents the empty content, return this,
otherwise null. |
XSParticle |
asParticle()
Equivalent of (this instanceof XSParticle)?this:null |
XSSimpleType |
asSimpleType()
Equivalent of (this instanceof XSSimpleType)?this:null |
XSContentType |
getContentType()
|
List |
getForeignAttributes()
Foreign attribuets are considered to be on terms. |
BigInteger |
getMaxOccurs()
Gets the max occurs property. |
BigInteger |
getMinOccurs()
|
XSTerm |
getTerm()
|
boolean |
isRepeated()
True if the maxOccurs is neither 0 or 1. |
void |
redefine(ModelGroupDeclImpl oldMG)
|
void |
visit(XSContentTypeVisitor visitor)
|
void |
visit(XSVisitor visitor)
Accepts a visitor. |
| Methods inherited from class com.sun.xml.xsom.impl.ComponentImpl |
|---|
getAnnotation, getAnnotation, getForeignAttribute, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.sun.xml.xsom.XSComponent |
|---|
getAnnotation, getAnnotation, getForeignAttribute, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle |
| Constructor Detail |
|---|
public ParticleImpl(SchemaDocumentImpl owner,
AnnotationImpl _ann,
Ref.Term _term,
Locator _loc,
BigInteger _maxOccurs,
BigInteger _minOccurs)
public ParticleImpl(SchemaDocumentImpl owner,
AnnotationImpl _ann,
Ref.Term _term,
Locator _loc,
int _maxOccurs,
int _minOccurs)
public ParticleImpl(SchemaDocumentImpl owner,
AnnotationImpl _ann,
Ref.Term _term,
Locator _loc)
| Method Detail |
|---|
public XSTerm getTerm()
getTerm in interface XSParticlepublic BigInteger getMaxOccurs()
XSParticle
getMaxOccurs in interface XSParticleUNBOUNDED will be returned if the value
is "unbounded".public boolean isRepeated()
XSParticle
isRepeated in interface XSParticlepublic BigInteger getMinOccurs()
getMinOccurs in interface XSParticlepublic void redefine(ModelGroupDeclImpl oldMG)
public XSSimpleType asSimpleType()
XSContentType(this instanceof XSSimpleType)?this:null
asSimpleType in interface XSContentTypepublic XSParticle asParticle()
XSContentType(this instanceof XSParticle)?this:null
asParticle in interface XSContentTypepublic XSContentType asEmpty()
XSContentTypethis,
otherwise null.
asEmpty in interface XSContentTypepublic final Object apply(XSFunction function)
XSComponent
apply in interface XSComponentpublic final Object apply(XSContentTypeFunction function)
apply in interface XSContentTypepublic final void visit(XSVisitor visitor)
XSComponent
visit in interface XSComponentpublic final void visit(XSContentTypeVisitor visitor)
visit in interface XSContentTypepublic XSContentType getContentType()
getContentType in interface Ref.ContentTypepublic List getForeignAttributes()
getForeignAttributes in interface XSComponentgetForeignAttributes in class ComponentImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||