public class XMLNodeUtilities extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
print(XMLNode node,
int tab)
Print as a String the content of an XML file under a root Node.
|
static void |
print(XMLNode node,
int tab,
File outputFile)
Save in a File the content of an XML file under a root Node.
|
static void |
print(XMLNode node,
int tab,
File outputFile,
String encoding)
Save in a File the content of an XML file under a root Node.
|
static String |
print(XMLNode node,
int tab,
String encoding)
Print as a String the content of an XML file under a root Node.
|
static void |
print(XMLNode node,
int tab,
URL outputURL)
Save the content of an XML file under a root Node to a URL.
|
public static void print(XMLNode node, int tab, File outputFile) throws IOException
node - the root nodetab - the tabulation for the XML file for each child nodeoutputFile - the output fileIOException - if writing failspublic static void print(XMLNode node, int tab, File outputFile, String encoding) throws IOException
node - the root nodetab - the tabulation for the XML file for each child nodeoutputFile - the output fileencoding - the encoding (can be null)IOException - if writing failspublic static void print(XMLNode node, int tab, URL outputURL) throws IOException
node - the root nodetab - the tabulation for the XML file for each child nodeoutputURL - the output URLIOException - if writing failspublic static String print(XMLNode node, int tab)
node - the root nodetab - the tabulation for the XML file for each child nodeCopyright © 2026. All rights reserved.