Interface XSContentType

All Superinterfaces:
XSComponent
All Known Subinterfaces:
ContentTypeImpl, XSListSimpleType, XSParticle, XSRestrictionSimpleType, XSSimpleType, XSUnionSimpleType
All Known Implementing Classes:
EmptyImpl, ListSimpleTypeImpl, ParticleImpl, RestrictionSimpleTypeImpl, SchemaSetImpl.AnySimpleType, SimpleTypeImpl, UnionSimpleTypeImpl

public interface XSContentType extends XSComponent
Content of a complex type.
Author:
Kohsuke Kawaguchi ([email protected])
  • Method Details

    • asSimpleType

      XSSimpleType asSimpleType()
      Equivalent of (this instanceof XSSimpleType)?this:null
    • asParticle

      XSParticle asParticle()
      Equivalent of (this instanceof XSParticle)?this:null
    • asEmpty

      XSContentType asEmpty()
      If this content type represents the empty content, return this, otherwise null.
    • apply

      <T> T apply(XSContentTypeFunction<T> function)
    • visit

      void visit(XSContentTypeVisitor visitor)