java/dictionary-generator/src/cz/frantovo/telco/dictionary/MappedNamespaceContext.java
1.1 --- a/java/dictionary-generator/src/cz/frantovo/telco/dictionary/MappedNamespaceContext.java Tue Jul 09 22:42:32 2013 +0200
1.2 +++ b/java/dictionary-generator/src/cz/frantovo/telco/dictionary/MappedNamespaceContext.java Wed Jul 10 01:27:13 2013 +0200
1.3 @@ -53,11 +53,8 @@
1.4 return null;
1.5 }
1.6
1.7 - /**
1.8 - * TODO: support multiple prefixes
1.9 - */
1.10 @Override
1.11 public Iterator getPrefixes(String xmlns) {
1.12 - return new OneItemIterator(getPrefix(xmlns));
1.13 + return getKeysForValue(prefixMap, xmlns).iterator();
1.14 }
1.15 }
1.16 \ No newline at end of file