Author: rob.stryker(a)jboss.com
Date: 2009-04-13 23:22:57 -0400 (Mon, 13 Apr 2009)
New Revision: 14714
Modified:
trunk/jmx/plugins/org.jboss.tools.jmx.core/META-INF/MANIFEST.MF
trunk/jmx/plugins/org.jboss.tools.jmx.core/src/org/jboss/tools/jmx/core/util/XMLMemento.java
Log:
Opening the API a bit. This class could be a good candidate for "Core"
Modified: trunk/jmx/plugins/org.jboss.tools.jmx.core/META-INF/MANIFEST.MF
===================================================================
--- trunk/jmx/plugins/org.jboss.tools.jmx.core/META-INF/MANIFEST.MF 2009-04-13 17:18:30
UTC (rev 14713)
+++ trunk/jmx/plugins/org.jboss.tools.jmx.core/META-INF/MANIFEST.MF 2009-04-14 03:22:57
UTC (rev 14714)
@@ -11,7 +11,8 @@
org.jboss.tools.jmx.ui.test,
org.jboss.tools.jmx.core.test,
org.jboss.tools.jmx.ui",
- org.jboss.tools.jmx.core.tree
+ org.jboss.tools.jmx.core.tree,
+ org.jboss.tools.jmx.core.util
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-ActivationPolicy: lazy
Modified:
trunk/jmx/plugins/org.jboss.tools.jmx.core/src/org/jboss/tools/jmx/core/util/XMLMemento.java
===================================================================
---
trunk/jmx/plugins/org.jboss.tools.jmx.core/src/org/jboss/tools/jmx/core/util/XMLMemento.java 2009-04-13
17:18:30 UTC (rev 14713)
+++
trunk/jmx/plugins/org.jboss.tools.jmx.core/src/org/jboss/tools/jmx/core/util/XMLMemento.java 2009-04-14
03:22:57 UTC (rev 14714)
@@ -54,7 +54,7 @@
* you should use createReadRoot and createWriteRoot to create the initial
* mementos on a document.
*/
- private XMLMemento(Document doc, Element el) {
+ public XMLMemento(Document doc, Element el) {
factory = doc;
element = el;
}
@@ -72,7 +72,7 @@
* Create a Document from a Reader and answer a root memento for reading
* a document.
*/
- protected static XMLMemento createReadRoot(InputStream in) {
+ public static XMLMemento createReadRoot(InputStream in) {
Document document = null;
try {
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();