Package com.sun.xml.xsom
Interface XSTerm
- All Superinterfaces:
- XSComponent
- All Known Subinterfaces:
- XSElementDecl,- XSModelGroup,- XSModelGroupDecl,- XSWildcard,- XSWildcard.Any,- XSWildcard.Other,- XSWildcard.Union
- All Known Implementing Classes:
- ElementDecl,- ModelGroupDeclImpl,- ModelGroupImpl,- WildcardImpl,- WildcardImpl.Any,- WildcardImpl.Finite,- WildcardImpl.Other
A component that can be referenced from 
XSParticle
 
 This interface provides a set of type check functions (isXXX),
 which are essentially:
 
 
 boolean isXXX() {
     return this instanceof XXX;
 }
 
 
 and a set of cast functions (asXXX), which are
 essentially:
 
 
 XXX asXXX() {
     if(isXXX())  return (XXX)this;
     else          return null;
 }
 - 
Method SummaryModifier and TypeMethodDescription<T> Tapply(XSTermFunction<T> function) <T,P> T apply(XSTermFunctionWithParam<T, P> function, P param) booleanbooleanbooleanbooleanvoidvisit(XSTermVisitor visitor) Methods inherited from interface com.sun.xml.xsom.XSComponentapply, getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, visit
- 
Method Details- 
visit
- 
apply
- 
apply
- 
isWildcardboolean isWildcard()
- 
isModelGroupDeclboolean isModelGroupDecl()
- 
isModelGroupboolean isModelGroup()
- 
isElementDeclboolean isElementDecl()
- 
asWildcardXSWildcard asWildcard()
- 
asModelGroupDeclXSModelGroupDecl asModelGroupDecl()
- 
asModelGroupXSModelGroup asModelGroup()
- 
asElementDeclXSElementDecl asElementDecl()
 
-