public class EmptyImpl extends ComponentImpl implements ContentTypeImpl
ownerDocument| Constructor and Description |
|---|
EmptyImpl() |
| Modifier and Type | Method and Description |
|---|---|
Object |
apply(XSContentTypeFunction function) |
Object |
apply(XSFunction function)
Accepts a functor.
|
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 |
XSContentType |
getContentType() |
void |
visit(XSContentTypeVisitor visitor) |
void |
visit(XSVisitor visitor)
Accepts a visitor.
|
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSinglepublic XSSimpleType asSimpleType()
XSContentType(this instanceof XSSimpleType)?this:nullasSimpleType in interface XSContentTypepublic XSParticle asParticle()
XSContentType(this instanceof XSParticle)?this:nullasParticle in interface XSContentTypepublic XSContentType asEmpty()
XSContentTypethis,
otherwise null.asEmpty in interface XSContentTypepublic Object apply(XSContentTypeFunction function)
apply in interface XSContentTypepublic Object apply(XSFunction function)
XSComponentapply in interface XSComponentpublic void visit(XSVisitor visitor)
XSComponentvisit in interface XSComponentpublic void visit(XSContentTypeVisitor visitor)
visit in interface XSContentTypepublic XSContentType getContentType()
getContentType in interface Ref.ContentTypeCopyright © 2005–2017 Oracle Corporation. All rights reserved.