You need to look at 

SchemaType.getAttributeModel()
SchemaAttributeModel.getAttribute(QName)
SchemaLocalAttribute.getAnnotation()
SchemaAnnotation.getAttributes()

SchemaProperty does not have enough XMLSchema fidelity to allow access
to annotations.

Hope this helps,
Radu

On Wed, 2009-03-04 at 11:10 -0500, Lee, Diane wrote:
> I have set a custom read-only attribute which is of boolean type in a
> schema that specifies whether an element is read-only.  I use XmlBeans
> to generate the XmlBean classes from the schema.  Is there a way to
> access the read-only attribute value from the schema?  I have tried
> using the SchemaType and SchemaProperty from the XmlBeans API but I
> have not been able to access the read-only attribute from those two
> classes.  
> 
>  
> 
> Any suggestions would be helpful.  Thanks for your help.
> 
>  
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to