aboutsummaryrefslogtreecommitdiff
path: root/common/src/at/gv/egovernment/moa
diff options
context:
space:
mode:
authorharald.bratko <harald.bratko@d688527b-c9ab-4aba-bd8d-4036d912da1d>2007-05-04 14:36:22 +0000
committerharald.bratko <harald.bratko@d688527b-c9ab-4aba-bd8d-4036d912da1d>2007-05-04 14:36:22 +0000
commitc6e511bd07688229e6ae0b333f60c79240e77de8 (patch)
treedf801027c9b92e198a4c134efad50ee4f9c4b039 /common/src/at/gv/egovernment/moa
parent2b6b7c528e82a4082db27974fc2729dffa54a775 (diff)
downloadmoa-id-spss-c6e511bd07688229e6ae0b333f60c79240e77de8.tar.gz
moa-id-spss-c6e511bd07688229e6ae0b333f60c79240e77de8.tar.bz2
moa-id-spss-c6e511bd07688229e6ae0b333f60c79240e77de8.zip
JavaDoc.
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@839 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'common/src/at/gv/egovernment/moa')
-rw-r--r--common/src/at/gv/egovernment/moa/util/DOMUtils.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/common/src/at/gv/egovernment/moa/util/DOMUtils.java b/common/src/at/gv/egovernment/moa/util/DOMUtils.java
index 95ee3aa4d..f94c8f6ff 100644
--- a/common/src/at/gv/egovernment/moa/util/DOMUtils.java
+++ b/common/src/at/gv/egovernment/moa/util/DOMUtils.java
@@ -94,8 +94,8 @@ public class DOMUtils {
private static SymbolTable symbolTable = new SymbolTable(BIG_PRIME);
/** Xerces schema grammar pool. */
private static XMLGrammarPool grammarPool = new XMLGrammarPoolImpl();
- /** Map, that holds the NamespaceURIs of the grammarPool, to prevent multiple
- * entries of one NamespaceURI */
+ /** Set holding the NamespaceURIs of the grammarPool, to prevent multiple
+ * entries of same grammars to the pool */
private static Set grammarNamespaces;
static {
@@ -105,10 +105,12 @@ public class DOMUtils {
/**
* Preparse a schema and add it to the schema pool.
+ * The method only adds the schema to the pool if a schema having the same
+ * <code>systemId</code> (namespace URI) is not already present in the pool.
*
* @param inputStream An <code>InputStream</code> providing the contents of
* the schema.
- * @param systemId The systemId to use for the schema.
+ * @param systemId The systemId (namespace URI) to use for the schema.
* @throws IOException An error occurred reading the schema.
*/
public static void addSchemaToPool(InputStream inputStream, String systemId)