1
0
mirror of https://github.com/moparisthebest/sxf4j synced 2024-12-21 22:18:49 -05:00

Refactor into new package

This commit is contained in:
Travis Burtrum 2017-03-01 00:59:42 -05:00
parent 0f3578ade9
commit a73ee4da1f
10 changed files with 21 additions and 21 deletions

View File

@ -1,8 +1,8 @@
package org.moparscape.xml;
package com.moparisthebest.sxf4j;
import org.moparscape.xml.impl.AbstractXmlElement;
import org.moparscape.xml.impl.XmlElement;
import org.moparscape.xml.impl.XmlElementFactory;
import com.moparisthebest.sxf4j.impl.AbstractXmlElement;
import com.moparisthebest.sxf4j.impl.XmlElement;
import com.moparisthebest.sxf4j.impl.XmlElementFactory;
import java.lang.annotation.*;
import java.lang.reflect.AccessibleObject;

View File

@ -1,4 +1,4 @@
package org.moparscape.xml.impl;
package com.moparisthebest.sxf4j.impl;
import java.io.*;
import java.lang.reflect.Constructor;
@ -17,11 +17,11 @@ public abstract class AbstractXmlElement implements XmlElement, XmlElementFactor
public static XmlElementFactory getFactory() {
XmlElementFactory ret = null;
//ret = new org.moparscape.xml.impl.W3CXmlElement();
//ret = new org.moparscape.xml.impl.XppXmlElement();
//ret = new org.moparscape.xml.impl.Xpp3XmlElement();
//ret = new org.moparscape.xml.impl.Dom4jXmlElement();
//ret = new org.moparscape.xml.impl.XomXmlElement();
//ret = new W3CXmlElement();
//ret = new XppXmlElement();
//ret = new Xpp3XmlElement();
//ret = new Dom4jXmlElement();
//ret = new XomXmlElement();
final String xmlDocType = System.getProperty(implProperty);
//System.out.println("xmlDocType: "+xmlDocType);
String implPkgClass = AbstractXmlElement.class.getPackage().getName() + "." + xmlDocType;

View File

@ -1,4 +1,4 @@
package org.moparscape.xml.impl;
package com.moparisthebest.sxf4j.impl;
import org.dom4j.*;
import org.dom4j.Document;

View File

@ -1,4 +1,4 @@
package org.moparscape.xml.impl;
package com.moparisthebest.sxf4j.impl;
import org.w3c.dom.*;

View File

@ -1,4 +1,4 @@
package org.moparscape.xml.impl;
package com.moparisthebest.sxf4j.impl;
import java.io.File;
import java.io.OutputStream;

View File

@ -1,4 +1,4 @@
package org.moparscape.xml.impl;
package com.moparisthebest.sxf4j.impl;
import java.io.File;
import java.io.InputStream;

View File

@ -1,4 +1,4 @@
package org.moparscape.xml.impl;
package com.moparisthebest.sxf4j.impl;
import nu.xom.*;

View File

@ -1,4 +1,4 @@
package org.moparscape.xml.impl;
package com.moparisthebest.sxf4j.impl;
import org.codehaus.plexus.util.xml.XmlStreamReader;
import org.codehaus.plexus.util.xml.Xpp3Dom;

View File

@ -1,4 +1,4 @@
package org.moparscape.xml.impl;
package com.moparisthebest.sxf4j.impl;
import com.thoughtworks.xstream.io.copy.HierarchicalStreamCopier;
import com.thoughtworks.xstream.io.xml.PrettyPrintWriter;

View File

@ -1,9 +1,9 @@
package org.moparscape;
package com.moparisthebest;
import org.moparscape.xml.ClassXmlElement;
import com.moparisthebest.sxf4j.ClassXmlElement;
import org.moparscape.xml.ClassXmlElement.Root;
import org.moparscape.xml.impl.*;
import com.moparisthebest.sxf4j.ClassXmlElement.Root;
import com.moparisthebest.sxf4j.impl.*;
import java.util.*;