com.clickntap.utils
Class XMLUtils
java.lang.Object
com.clickntap.utils.XMLUtils
public class XMLUtils
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLUtils
public XMLUtils()
copyTo
public static void copyTo(org.dom4j.Document doc,
OutputStream out)
throws UnsupportedEncodingException,
IOException
- Throws:
UnsupportedEncodingException
IOException
copyTo
public static void copyTo(org.dom4j.Document doc,
File file)
throws UnsupportedEncodingException,
IOException
- Throws:
UnsupportedEncodingException
IOException
copyTo
public static void copyTo(org.dom4j.Document doc,
String file)
throws UnsupportedEncodingException,
IOException
- Throws:
UnsupportedEncodingException
IOException
copyFrom
public static org.dom4j.Document copyFrom(String file)
throws org.dom4j.DocumentException
- Throws:
org.dom4j.DocumentException
copyFrom
public static org.dom4j.Document copyFrom(File file)
throws org.dom4j.DocumentException,
MalformedURLException
- Throws:
org.dom4j.DocumentException
MalformedURLException
copyFrom
public static org.dom4j.Document copyFrom(InputStream in)
throws org.dom4j.DocumentException,
MalformedURLException
- Throws:
org.dom4j.DocumentException
MalformedURLException
copyFrom
public static org.dom4j.Document copyFrom(String fileName,
boolean validating)
throws org.dom4j.DocumentException
- Throws:
org.dom4j.DocumentException
copyFrom
public static org.dom4j.Document copyFrom(File file,
boolean validating)
throws org.dom4j.DocumentException,
MalformedURLException
- Throws:
org.dom4j.DocumentException
MalformedURLException
copyFrom
public static org.dom4j.Document copyFrom(InputStream in,
boolean validating)
throws org.dom4j.DocumentException
- Throws:
org.dom4j.DocumentException
toString
public static String toString(org.dom4j.Element element)
throws UnsupportedEncodingException,
IOException
- Throws:
UnsupportedEncodingException
IOException
Copyright © 2014. All rights reserved.