[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] cp-tools ChangeLog src/gnu/ldml/Det...

From: Andrew John Hughes
Subject: [commit-cp] cp-tools ChangeLog src/gnu/ldml/Det...
Date: Mon, 30 Jan 2012 11:40:57 +0000

CVSROOT:        /sources/classpath
Module name:    cp-tools
Changes by:     Andrew John Hughes <gnu_andrew> 12/01/30 11:40:57

Modified files:
        .              : ChangeLog 
        src/gnu/ldml   : 
Added files:
        src/gnu/ldml   : 

Log message:
        Store all values for a type name in a sorted set, rather than 
overwriting them.  Include the first in output.
        2012-01-30  Andrew John Hughes  <address@hidden>
                * Add to files to compile.
                * src/gnu/ldml/
                Catch attemps to overwrite an existing element.
                * src/gnu/ldml/ New class to contain both the
                data found and the metadata about it (type, draft status,
                alternative text).
                * src/gnu/ldml/
                (listData): Change type to Map<String,SortedSet<Leaf>>.
                (listElms): Change type to Map rather than HashMap.
                (addData(String,Leaf)): Document.  Adapt to use Leaf and collect
                data with the same type name in a sorted set.
                (addElement(String, DetailedListElement)): Document and return
                the element replaced, if any.
                (getData(String)): Fix return type.
                (getData()): Likewise.
                * src/gnu/ldml/
                (List.start(String,Attributes)): Store draft and alt attributes.
                (List.end(String)): Update to use Leaf.
                (Collations.start(String,Attributes)): Catch overwriting and
                throw a SAXException.
                (allElements): Set type to Map rather than HashMap.
                * src/gnu/localegen/
                (ManualListContent(String,String...)): Make type more strict 
and use varargs.
                ( Update type.
                (OrderedListContent.generateContent(PrintWriter)): Update to 
use set of Leaf objects.
                (HashtableContent.table): Update type.
                (HashtableContent(SortedMap<String,String>,String)): New 
constructor to convert a map
                with just String data to one using sets of Leafs.
                (HashtableContent.generateContent(PrintWriter)): Update to use 
set of Leaf objects.
                (computeCalendar(Map<String,Element>>)): Likewise.
                (computeCurrencies(Map<String,Element>>)): Likewise.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]