users@jaxb.java.net

Re: XSComplexType

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Wed, 15 Nov 2006 11:31:46 +0100

Hi.

> Sorry for the mess:
> Here are the methods exist on XSContentType:
>
> - 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)

I'm sorry I can't help much since I'm no XSOM pro, but I think you have to use
the visitor.

Bye.
/lexi