[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    [jira] Created: (XMLBEANS-195) Review and update how annotations are made available
From:       "Lawrence Jones (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2005-08-30 17:40:10
Message-ID: 809676129.1125423610446.JavaMail.jira () ajax ! apache ! org
[Download RAW message or body]

Review and update how annotations are made available
----------------------------------------------------

         Key: XMLBEANS-195
         URL: http://issues.apache.org/jira/browse/XMLBEANS-195
     Project: XMLBeans
        Type: Improvement
  Components: SOM  
    Versions: Version 2.1    
 Environment: All
 Reporter: Lawrence Jones
    Priority: Minor
     Fix For: TBD


Currently the way XmlBeans makes annotations available can be confusing - for \
instance to get an annotation on an element instead of just calling something simple \
like:

        MyElement.getAnnotation();

you have to do something like:

        SchemaAnnotation ann = ((SchemaLocalElement) \
MyElement.type.getContentModel()).getAnnotation();

XmlBeans should review all places where annotations are available in the Schema spec \
and review and update how it makes them available.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic