summaryrefslogtreecommitdiffstats
path: root/org/madore/damlengine/LangHelper.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix and correct some aspects of language handling.David A. Madore2011-09-071-0/+8
| | | | | | In particular, take better care to ensure that when an element is removed which might have an xml:lang attribute, its children keep their original language.
* Various "stylistic" improvements suggested by Joshua Bloch's book.David A. Madore2010-04-221-2/+2
| | | | | | Use @Override annotation. Limit accessibility of fields. Make final what can be. Use complex enums. Don't ignore exceptions. Some more changes on exceptions thrown.
* Use RuntimeException classes rather than Error to indicate errors.David A. Madore2010-04-191-2/+2
|
* Fix misuse of getAttributeNS(), and handling of xml:lang.David A. Madore2010-04-181-8/+16
| | | | | | | | Note to self: getAttributeNS() returns "", not null, when the attribute is nonexistent. Also, the XML spec (now) clearly states that "" is used for an unknown/undefined language.
* Helper class for xml:lang handling.David A. Madore2010-04-181-0/+49