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
Methods inherited from class com.sun.xml.xsom.impl.ComponentImpl |
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, toString |
WildcardImpl
protected WildcardImpl(SchemaDocumentImpl owner,
AnnotationImpl _annon,
Locator _loc,
ForeignAttributesImpl _fa,
int _mode)
getMode
public int getMode()
- Description copied from interface:
XSWildcard
- Gets the processing mode.
- Specified by:
getMode
in interface XSWildcard
- 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:
XSComponent
- Accepts a visitor.
- Specified by:
visit
in interface XSComponent
visit
public final void visit(XSTermVisitor visitor)
- Specified by:
visit
in interface XSTerm
apply
public Object apply(XSTermFunction function)
- Specified by:
apply
in interface XSTerm
apply
public <T,P> T apply(XSTermFunctionWithParam<T,P> function,
P param)
- Specified by:
apply
in interface XSTerm
apply
public Object apply(XSFunction function)
- Description copied from interface:
XSComponent
- Accepts a functor.
- Specified by:
apply
in interface XSComponent
isWildcard
public boolean isWildcard()
- Specified by:
isWildcard
in interface XSTerm
isModelGroupDecl
public boolean isModelGroupDecl()
- Specified by:
isModelGroupDecl
in interface XSTerm
isModelGroup
public boolean isModelGroup()
- Specified by:
isModelGroup
in interface XSTerm
isElementDecl
public boolean isElementDecl()
- Specified by:
isElementDecl
in interface XSTerm
asWildcard
public XSWildcard asWildcard()
- Specified by:
asWildcard
in interface XSTerm
asModelGroupDecl
public XSModelGroupDecl asModelGroupDecl()
- Specified by:
asModelGroupDecl
in interface XSTerm
asModelGroup
public XSModelGroup asModelGroup()
- Specified by:
asModelGroup
in interface XSTerm
asElementDecl
public XSElementDecl asElementDecl()
- Specified by:
asElementDecl
in interface XSTerm
getTerm
public XSTerm getTerm()
- Description copied from interface:
Ref.Term
- Obtains a reference as a term.
- Specified by:
getTerm
in interface Ref.Term
Copyright © 2012 Oracle. All Rights Reserved.