public class XMLNodeUtilities
extends java.lang.Object
| Modifier and Type | Method and Description | 
|---|---|
| static java.lang.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,
     java.io.File outputFile)Save in a File the content of an XML file under a root Node. | 
| static void | print(XMLNode node,
     int tab,
     java.io.File outputFile,
     java.lang.String encoding)Save in a File the content of an XML file under a root Node. | 
| static java.lang.String | print(XMLNode node,
     int tab,
     java.lang.String encoding)Print as a String the content of an XML file under a root Node. | 
| static void | print(XMLNode node,
     int tab,
     java.net.URL outputURL)Save in n URL the content of an XML file under a root Node. | 
public static void print(XMLNode node, int tab, java.io.File outputFile) throws java.io.IOException
node - the root nodetab - the tabulation for the XML file for each child nodeoutputFile - the output filejava.io.IOExceptionpublic static void print(XMLNode node, int tab, java.io.File outputFile, java.lang.String encoding) throws java.io.IOException
node - the root nodetab - the tabulation for the XML file for each child nodeoutputFile - the output fileencoding - the encoding (can be null)java.io.IOExceptionpublic static void print(XMLNode node, int tab, java.net.URL outputURL) throws java.io.IOException
node - the root nodetab - the tabulation for the XML file for each child nodeoutputURL - the output URLjava.io.IOExceptionpublic static java.lang.String print(XMLNode node, int tab)
node - the root nodetab - the tabulation for the XML file for each child nodepublic static java.lang.String print(XMLNode node, int tab, java.lang.String encoding)
node - the root nodetab - the tabulation for the XML file for each child nodeencoding - the encoding (vcan be null)Copyright © 2021, 2022, 2025 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence