Martin Desruisseaux created SIS-71:
--------------------------------------
Summary: 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 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