users@jaxb.java.net

RE: Re: XSComplexType

From: <HeruMartinus.Salim_at_infineon.com>
Date: Wed, 15 Nov 2006 12:14:17 +0100

OK, I will try to look for this Visitor.

By the way, can we change the property of class Jmethod? For example
change the mods, the return value, etc.

Thanks,
Heru

-----Original Message-----
From: Aleksei Valikov [mailto:valikov_at_gmx.net]
Sent: Wednesday, November 15, 2006 11:32 AM
To: users_at_jaxb.dev.java.net
Subject: Re: XSComplexType

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


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net