But that gives annotation for its type. What about the annotation
directly under it? Or for simple properties such as

      <xsd:element name="udpMappingTimeout" minOccurs="0" type="uint32">
        <xsd:annotation>
          <xsd:documentation xml:lang="en-US">Specifies how many seconds
of
                 inactivity before a UDP NAT mapping is timed out
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>

Thanks..
-----Original Message-----
From: Vance Vagell [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 24, 2007 11:35 AM
To: [email protected]
Subject: RE: How to get annotation from a SchemaProperty instance

Hi Ajay,

You can get the SchemaType of a SchemaProperty by calling getType() on
it.  Hope that helps.

- Vance

> -------- Original Message --------
> Subject: How to get annotation from a SchemaProperty instance
> From: "Ajay Aggarwal" <[EMAIL PROTECTED]>
> Date: Thu, May 24, 2007 11:26 am
> To: <[email protected]>
> 
> I can get the SchemaAnnotation from a SchemaType. But how do I get the
> same from its individual element SchemaProperties?
> 
>  
> 
> Thanks.
> 
>  
> 
> -Ajay

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to