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, visitXSSimpleType asSimpleType()
(this instanceof XSSimpleType)?this:nullXSParticle asParticle()
(this instanceof XSParticle)?this:nullXSContentType asEmpty()
this,
otherwise null.<T> T apply(XSContentTypeFunction<T> function)
void visit(XSContentTypeVisitor visitor)
Copyright © 2005–2017 Oracle Corporation. All rights reserved.