sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Desruisseaux (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SIS-72) Find some clean way to put Anchor functionality in public API
Date Tue, 25 Dec 2012 10:46:15 GMT

     [ https://issues.apache.org/jira/browse/SIS-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Martin Desruisseaux updated SIS-72:
-----------------------------------

    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.


  was:
XML documents can use "anchor" in basically any place where our API returni a {{CharSequence}}
or {{InternationalString}} object. Anchor replace 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 extend the {{XLink}} class but implement
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.


        Summary: Find some clean way to put Anchor functionality in public API  (was: Find
some clean way to put {{Anchor}} functionality in public API)
    
> Find some clean way to put Anchor functionality in public API
> -------------------------------------------------------------
>
>                 Key: SIS-72
>                 URL: https://issues.apache.org/jira/browse/SIS-72
>             Project: Spatial Information Systems
>          Issue Type: Improvement
>          Components: Utilities
>            Reporter: Martin Desruisseaux
>            Assignee: Martin Desruisseaux
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message