XSComponent
ContentTypeImpl
, XSListSimpleType
, XSParticle
, XSRestrictionSimpleType
, XSSimpleType
, XSUnionSimpleType
EmptyImpl
, ListSimpleTypeImpl
, ParticleImpl
, RestrictionSimpleTypeImpl
, SimpleTypeImpl
, UnionSimpleTypeImpl
public 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, 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 © 2018 Oracle Corporation. All rights reserved.