Package com.sun.xml.xsom.impl
Class WildcardImpl
- java.lang.Object
-
- com.sun.xml.xsom.impl.ComponentImpl
-
- com.sun.xml.xsom.impl.WildcardImpl
-
- All Implemented Interfaces:
Ref.Term,XSComponent,XSTerm,XSWildcard
- Direct Known Subclasses:
WildcardImpl.Any,WildcardImpl.Finite,WildcardImpl.Other
public abstract class WildcardImpl extends ComponentImpl implements XSWildcard, Ref.Term
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWildcardImpl.Anystatic classWildcardImpl.Finitestatic classWildcardImpl.Other-
Nested classes/interfaces inherited from interface com.sun.xml.xsom.XSWildcard
XSWildcard.Union
-
-
Field Summary
-
Fields inherited from class com.sun.xml.xsom.impl.ComponentImpl
ownerDocument
-
Fields inherited from interface com.sun.xml.xsom.XSWildcard
LAX, SKIP, STRTICT
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWildcardImpl(SchemaDocumentImpl owner, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl _fa, int _mode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectapply(XSFunction function)Accepts a functor.Objectapply(XSTermFunction function)<T,P>
Tapply(XSTermFunctionWithParam<T,P> function, P param)XSElementDeclasElementDecl()XSModelGroupasModelGroup()XSModelGroupDeclasModelGroupDecl()XSWildcardasWildcard()intgetMode()Gets the processing mode.XSTermgetTerm()Obtains a reference as a term.booleanisElementDecl()booleanisModelGroup()booleanisModelGroupDecl()booleanisWildcard()WildcardImplunion(SchemaDocumentImpl owner, WildcardImpl rhs)voidvisit(XSTermVisitor visitor)voidvisit(XSVisitor visitor)Accepts a visitor.-
Methods inherited from class com.sun.xml.xsom.impl.ComponentImpl
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, 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, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle
-
Methods inherited from interface com.sun.xml.xsom.XSWildcard
acceptsNamespace, apply, visit
-
-
-
-
Constructor Detail
-
WildcardImpl
protected WildcardImpl(SchemaDocumentImpl owner, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl _fa, int _mode)
-
-
Method Detail
-
getMode
public int getMode()
Description copied from interface:XSWildcardGets the processing mode.- Specified by:
getModein interfaceXSWildcard- Returns:
- Either LAX, STRICT, or SKIP.
-
union
public WildcardImpl union(SchemaDocumentImpl owner, WildcardImpl rhs)
-
visit
public final void visit(XSVisitor visitor)
Description copied from interface:XSComponentAccepts a visitor.- Specified by:
visitin interfaceXSComponent
-
visit
public final void visit(XSTermVisitor visitor)
-
apply
public Object apply(XSTermFunction function)
-
apply
public <T,P> T apply(XSTermFunctionWithParam<T,P> function, P param)
-
apply
public Object apply(XSFunction function)
Description copied from interface:XSComponentAccepts a functor.- Specified by:
applyin interfaceXSComponent
-
isWildcard
public boolean isWildcard()
- Specified by:
isWildcardin interfaceXSTerm
-
isModelGroupDecl
public boolean isModelGroupDecl()
- Specified by:
isModelGroupDeclin interfaceXSTerm
-
isModelGroup
public boolean isModelGroup()
- Specified by:
isModelGroupin interfaceXSTerm
-
isElementDecl
public boolean isElementDecl()
- Specified by:
isElementDeclin interfaceXSTerm
-
asWildcard
public XSWildcard asWildcard()
- Specified by:
asWildcardin interfaceXSTerm
-
asModelGroupDecl
public XSModelGroupDecl asModelGroupDecl()
- Specified by:
asModelGroupDeclin interfaceXSTerm
-
asModelGroup
public XSModelGroup asModelGroup()
- Specified by:
asModelGroupin interfaceXSTerm
-
asElementDecl
public XSElementDecl asElementDecl()
- Specified by:
asElementDeclin interfaceXSTerm
-
-