Top Description Methods
com.sun.xml.xsom

public Interface XSTerm

extends XSComponent
Known Direct Subinterfaces
com.sun.xml.xsom.XSWildcard, com.sun.xml.xsom.XSElementDecl, com.sun.xml.xsom.XSModelGroup, com.sun.xml.xsom.XSModelGroupDecl
Imports
com.sun.xml.xsom.visitor.XSTermFunction, .XSTermVisitor, .XSTermFunctionWithParam

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 Summary

Modifier and TypeMethod and Description
public <T> T
apply(XSTermFunction<T> function)

public <T, P> T
apply(XSTermFunctionWithParam<T, P> function, P param)

public XSElementDecl
public XSModelGroup
public XSModelGroupDecl
public XSWildcard
public boolean
public boolean
public boolean
public boolean
public void
Inherited from com.sun.xml.xsom.XSComponent:
applygetAnnotationgetAnnotationgetForeignAttributegetForeignAttributesgetLocatorgetOwnerSchemagetRootgetSourceDocumentselectselectSinglevisit

Method Detail

applyback to summary
public <T> T apply(XSTermFunction<T> function)
applyback to summary
public <T, P> T apply(XSTermFunctionWithParam<T, P> function, P param)
asElementDeclback to summary
public XSElementDecl asElementDecl()
asModelGroupback to summary
public XSModelGroup asModelGroup()
asModelGroupDeclback to summary
public XSModelGroupDecl asModelGroupDecl()
asWildcardback to summary
public XSWildcard asWildcard()
isElementDeclback to summary
public boolean isElementDecl()
isModelGroupback to summary
public boolean isModelGroup()
isModelGroupDeclback to summary
public boolean isModelGroupDecl()
isWildcardback to summary
public boolean isWildcard()
visitback to summary
public void visit(XSTermVisitor visitor)