Uploaded image for project: 'Spatial Information Systems'
  1. Spatial Information Systems
  2. SIS-72

Find some clean way to put Anchor functionality in public API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.3
    • Utilities
    • None

    Description

      XML documents can use "anchor" in basically every places where our API return a CharSequence or InternationalString object. Anchor replaces a text by a reference to a text defined elsewhere. We do not have a clean way to expose this functionality in current API. Currently, we have an Anchor class in internal API, which extends the XLink class but implements the InternationalString interface. We probably don't want to put such trick in public API. But we may consider the following alternatives:

      • Provide a createAnchor(String, URI) method in the Types utility class.
      • Define Anchor as a sub-type of SimpleInternationalString with a XLink attribute.

      Attachments

        Activity

          People

            desruisseaux Martin Desruisseaux
            desruisseaux Martin Desruisseaux
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: