Uploaded image for project: 'XMLBeans'
  1. XMLBeans
  2. XMLBEANS-195

Review and update how annotations are made available

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • Version 2.1
    • TBD
    • SOM
    • None
    • All

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            ljones Lawrence Aston Jones
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment