summaryrefslogtreecommitdiff
path: root/eaaf_core/src/main
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2020-06-03 18:39:10 +0200
committerThomas Lenz <thomas.lenz@egiz.gv.at>2020-06-03 18:39:10 +0200
commit4e4002c7e982218649f10349e634c17770d603d4 (patch)
treee7aa90de3ac11f957816be8fb7c497b4ef426bb5 /eaaf_core/src/main
parent44979c48809c8b951670b3afc7c7b6c550b3510e (diff)
downloadEAAF-Components-4e4002c7e982218649f10349e634c17770d603d4.tar.gz
EAAF-Components-4e4002c7e982218649f10349e634c17770d603d4.tar.bz2
EAAF-Components-4e4002c7e982218649f10349e634c17770d603d4.zip
make some constants public in DomUtils
Diffstat (limited to 'eaaf_core/src/main')
-rw-r--r--eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/utils/DomUtils.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/utils/DomUtils.java b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/utils/DomUtils.java
index 01b063aa..e8d5c294 100644
--- a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/utils/DomUtils.java
+++ b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/utils/DomUtils.java
@@ -45,6 +45,8 @@ import javax.xml.transform.TransformerFactory;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult;
+import at.gv.egiz.eaaf.core.api.data.XmlNamespaceConstants;
+
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.xerces.parsers.DOMParser;
@@ -69,8 +71,6 @@ import org.xml.sax.ErrorHandler;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
-import at.gv.egiz.eaaf.core.api.data.XmlNamespaceConstants;
-
/**
* Various utility functions for handling XML DOM trees.
*
@@ -111,10 +111,10 @@ public class DomUtils {
private static final String EXTERNAL_NO_NAMESPACE_SCHEMA_LOCATION_PROPERTY =
"http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation";
- private static final String EXTERNAL_GENERAL_ENTITIES_FEATURE =
+ public static final String EXTERNAL_GENERAL_ENTITIES_FEATURE =
"http://xml.org/sax/features/external-general-entities";
- private static final String EXTERNAL_PARAMETER_ENTITIES_FEATURE =
+ public static final String EXTERNAL_PARAMETER_ENTITIES_FEATURE =
"http://xml.org/sax/features/external-parameter-entities";
public static final String DISALLOW_DOCTYPE_FEATURE =