public abstract class WildcardImpl extends ComponentImpl implements XSWildcard, Ref.Term
Modifier and Type | Class and Description |
---|---|
static class |
WildcardImpl.Any |
static class |
WildcardImpl.Finite |
static class |
WildcardImpl.Other |
XSWildcard.Union
ownerDocument
LAX, SKIP, STRTICT
Modifier | Constructor and Description |
---|---|
protected |
WildcardImpl(SchemaDocumentImpl owner,
AnnotationImpl _annon,
Locator _loc,
ForeignAttributesImpl _fa,
int _mode) |
Modifier and Type | Method and Description |
---|---|
Object |
apply(XSFunction function)
Accepts a functor.
|
Object |
apply(XSTermFunction function) |
<T,P> T |
apply(XSTermFunctionWithParam<T,P> function,
P param) |
XSElementDecl |
asElementDecl() |
XSModelGroup |
asModelGroup() |
XSModelGroupDecl |
asModelGroupDecl() |
XSWildcard |
asWildcard() |
int |
getMode()
Gets the processing mode.
|
XSTerm |
getTerm()
Obtains a reference as a term.
|
boolean |
isElementDecl() |
boolean |
isModelGroup() |
boolean |
isModelGroupDecl() |
boolean |
isWildcard() |
WildcardImpl |
union(SchemaDocumentImpl owner,
WildcardImpl rhs) |
void |
visit(XSTermVisitor visitor) |
void |
visit(XSVisitor visitor)
Accepts a visitor.
|
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
acceptsNamespace, apply, visit
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle
protected WildcardImpl(SchemaDocumentImpl owner, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl _fa, int _mode)
public int getMode()
XSWildcard
getMode
in interface XSWildcard
public WildcardImpl union(SchemaDocumentImpl owner, WildcardImpl rhs)
public final void visit(XSVisitor visitor)
XSComponent
visit
in interface XSComponent
public final void visit(XSTermVisitor visitor)
public Object apply(XSTermFunction function)
public <T,P> T apply(XSTermFunctionWithParam<T,P> function, P param)
public Object apply(XSFunction function)
XSComponent
apply
in interface XSComponent
public boolean isWildcard()
isWildcard
in interface XSTerm
public boolean isModelGroupDecl()
isModelGroupDecl
in interface XSTerm
public boolean isModelGroup()
isModelGroup
in interface XSTerm
public boolean isElementDecl()
isElementDecl
in interface XSTerm
public XSWildcard asWildcard()
asWildcard
in interface XSTerm
public XSModelGroupDecl asModelGroupDecl()
asModelGroupDecl
in interface XSTerm
public XSModelGroup asModelGroup()
asModelGroup
in interface XSTerm
public XSElementDecl asElementDecl()
asElementDecl
in interface XSTerm
Copyright © 2021 JBoss by Red Hat. All rights reserved.