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
Modifier and TypeClassDescriptionstatic final class
static final class
static final class
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
ModifierConstructorDescriptionprotected
WildcardImpl
(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) int
getMode()
Gets the processing mode.getTerm()
Obtains a reference as a term.boolean
boolean
boolean
boolean
union
(SchemaDocumentImpl owner, WildcardImpl rhs) final void
visit
(XSTermVisitor visitor) final void
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 Details
-
WildcardImpl
protected WildcardImpl(SchemaDocumentImpl owner, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl _fa, int _mode)
-
-
Method Details
-
getMode
public int getMode()Description copied from interface:XSWildcard
Gets the processing mode.- Specified by:
getMode
in interfaceXSWildcard
- Returns:
- Either LAX, STRICT, or SKIP.
-
union
-
visit
Description copied from interface:XSComponent
Accepts a visitor.- Specified by:
visit
in interfaceXSComponent
-
visit
-
apply
-
apply
-
apply
Description copied from interface:XSComponent
Accepts a functor.- Specified by:
apply
in interfaceXSComponent
-
isWildcard
public boolean isWildcard()- Specified by:
isWildcard
in interfaceXSTerm
-
isModelGroupDecl
public boolean isModelGroupDecl()- Specified by:
isModelGroupDecl
in interfaceXSTerm
-
isModelGroup
public boolean isModelGroup()- Specified by:
isModelGroup
in interfaceXSTerm
-
isElementDecl
public boolean isElementDecl()- Specified by:
isElementDecl
in interfaceXSTerm
-
asWildcard
- Specified by:
asWildcard
in interfaceXSTerm
-
asModelGroupDecl
- Specified by:
asModelGroupDecl
in interfaceXSTerm
-
asModelGroup
- Specified by:
asModelGroup
in interfaceXSTerm
-
asElementDecl
- Specified by:
asElementDecl
in interfaceXSTerm
-
getTerm
Description copied from interface:Ref.Term
Obtains a reference as a term.
-