XSComponentContentTypeImpl, XSListSimpleType, XSParticle, XSRestrictionSimpleType, XSSimpleType, XSUnionSimpleTypeEmptyImpl, ListSimpleTypeImpl, ParticleImpl, RestrictionSimpleTypeImpl, SimpleTypeImpl, UnionSimpleTypeImplpublic interface XSContentType extends XSComponent
| Modifier and Type | Method | 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 © 2018 Oracle. All rights reserved.