com.sun.xml.xsom.impl
Class EmptyImpl
java.lang.Object
com.sun.xml.xsom.impl.ComponentImpl
com.sun.xml.xsom.impl.EmptyImpl
- All Implemented Interfaces:
- ContentTypeImpl, Ref.ContentType, XSComponent, XSContentType
public class EmptyImpl
- extends ComponentImpl
- implements ContentTypeImpl
- Author:
- Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
Methods inherited from class com.sun.xml.xsom.impl.ComponentImpl |
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, toString |
EmptyImpl
public EmptyImpl()
asSimpleType
public XSSimpleType asSimpleType()
- Description copied from interface:
XSContentType
- Equivalent of
(this instanceof XSSimpleType)?this:null
- Specified by:
asSimpleType
in interface XSContentType
asParticle
public XSParticle asParticle()
- Description copied from interface:
XSContentType
- Equivalent of
(this instanceof XSParticle)?this:null
- Specified by:
asParticle
in interface XSContentType
asEmpty
public XSContentType asEmpty()
- Description copied from interface:
XSContentType
- If this content type represents the empty content, return
this
,
otherwise null.
- Specified by:
asEmpty
in interface XSContentType
apply
public Object apply(XSContentTypeFunction function)
- Specified by:
apply
in interface XSContentType
apply
public Object apply(XSFunction function)
- Description copied from interface:
XSComponent
- Accepts a functor.
- Specified by:
apply
in interface XSComponent
visit
public void visit(XSVisitor visitor)
- Description copied from interface:
XSComponent
- Accepts a visitor.
- Specified by:
visit
in interface XSComponent
visit
public void visit(XSContentTypeVisitor visitor)
- Specified by:
visit
in interface XSContentType
getContentType
public XSContentType getContentType()
- Specified by:
getContentType
in interface Ref.ContentType
Copyright © 2012 Oracle. All Rights Reserved.