public interface XSContentType extends XSComponent
Modifier and Type | Method and Description |
---|---|
<T> T |
apply(XSContentTypeFunction<T> function) |
XSContentType |
asEmpty()
If this content type represents the empty content, return
this ,
otherwise null. |
XSParticle |
asParticle()
Equivalent of
(this instanceof XSParticle)?this:null |
XSSimpleType |
asSimpleType()
Equivalent of
(this instanceof XSSimpleType)?this:null |
void |
visit(XSContentTypeVisitor visitor) |
apply, getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, visit
XSSimpleType asSimpleType()
(this instanceof XSSimpleType)?this:null
XSParticle asParticle()
(this instanceof XSParticle)?this:null
XSContentType asEmpty()
this
,
otherwise null.<T> T apply(XSContentTypeFunction<T> function)
void visit(XSContentTypeVisitor visitor)
Copyright © 2021 JBoss by Red Hat. All rights reserved.