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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classstatic final classNested classes/interfaces inherited from interface com.sun.xml.xsom.XSWildcard
XSWildcard.Union -
Field Summary
Fields inherited from class com.sun.xml.xsom.impl.ComponentImpl
ownerDocumentFields inherited from interface com.sun.xml.xsom.XSWildcard
LAX, SKIP, STRTICT -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedWildcardImpl(SchemaDocumentImpl owner, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl _fa, int _mode) -
Method Summary
Modifier and TypeMethodDescriptionapply(XSFunction function) Accepts a functor.apply(XSTermFunction function) <T,P> T apply(XSTermFunctionWithParam<T, P> function, P param) intgetMode()Gets the processing mode.getTerm()Obtains a reference as a term.booleanbooleanbooleanbooleanunion(SchemaDocumentImpl owner, WildcardImpl rhs) final voidvisit(XSTermVisitor visitor) final voidAccepts a visitor.Methods inherited from class com.sun.xml.xsom.impl.ComponentImpl
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.sun.xml.xsom.XSComponent
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingleMethods inherited from interface com.sun.xml.xsom.XSWildcard
acceptsNamespace, apply, visit
-
Constructor Details
-
WildcardImpl
protected WildcardImpl(SchemaDocumentImpl owner, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl _fa, int _mode)
-
-
Method Details
-
getMode
public int getMode()Description copied from interface:XSWildcardGets the processing mode.- Specified by:
getModein interfaceXSWildcard- Returns:
- Either LAX, STRICT, or SKIP.
-
union
-
visit
Description copied from interface:XSComponentAccepts a visitor.- Specified by:
visitin interfaceXSComponent
-
visit
-
apply
-
apply
-
apply
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
- Specified by:
asWildcardin interfaceXSTerm
-
asModelGroupDecl
- Specified by:
asModelGroupDeclin interfaceXSTerm
-
asModelGroup
- Specified by:
asModelGroupin interfaceXSTerm
-
asElementDecl
- Specified by:
asElementDeclin interfaceXSTerm
-
getTerm
Description copied from interface:Ref.TermObtains a reference as a term.
-