[
https://issues.apache.org/jira/browse/SIS-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Desruisseaux closed SIS-71.
----------------------------------
> Consider replacing PT_FreeText by direct annotation of
> AbstractInternationalString
> ----------------------------------------------------------------------------------
>
> Key: SIS-71
> URL: https://issues.apache.org/jira/browse/SIS-71
> Project: Spatial Information Systems
> Issue Type: Improvement
> Components: Utilities
> Reporter: Martin Desruisseaux
> Assignee: Martin Desruisseaux
> Priority: Minor
>
> {{PT_FreeText}} is a XML structure formatted like below:
> {code:xml}
> <gmd:title xsi:type="gmd:PT_FreeText_PropertyType">
> <gco:CharacterString>Some title in english is present in this
> node</gco:CharacterString>
> <gmd:PT_FreeText>
> <gmd:textGroup>
> <gmd:LocalisedCharacterString locale="#locale-fra">Un titre en
> français</gmd:LocalisedCharacterString>
> </gmd:textGroup>
> </gmd:PT_FreeText>
> </gmd:title>
> {code}
> Currently, this is formatted by an internal {{PT_FreeText}} class used as a
> wrapper around {{InternationalString}}. We should see if we can annotate
> {{AbstractInternationalString}}Â directly instead. This would both simplify a
> little bit the internal mechanism and create a little bit less objects at
> marshalling/unmarshalling time.
--
This message was sent by Atlassian JIRA
(v6.2#6252)